Skip to content

Commit

Permalink
Load-Test: build with correct charmcraft (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess authored Dec 13, 2024
1 parent 4aa91bd commit 072754d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/load_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,22 @@ on:
- cron: "0 12 * * 0"

jobs:
charmcraft-channel:
runs-on: ubuntu-24.04
outputs:
channel: ${{ steps.charmcraft.outputs.channel }}
steps:
- uses: actions/checkout@v4
- id: charmcraft
run: echo "channel=$(cat .charmcraft-channel)" >> $GITHUB_OUTPUT

load-tests:
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
needs: [charmcraft-channel]
secrets: inherit
with:
provider: lxd
charmcraft-channel: ${{ needs.charmcraft-channel.outputs.channel }}
juju-channel: 3/stable
load-test-enabled: true
load-test-run-args: "-e LOAD_TEST_HOST=localhost"
secrets: inherit

0 comments on commit 072754d

Please sign in to comment.