From 072754dc4421334957f371a1d8bb25db52d520b3 Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Fri, 13 Dec 2024 06:15:33 -0600 Subject: [PATCH] Load-Test: build with correct charmcraft (#213) --- .github/workflows/load_test.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/load_test.yaml b/.github/workflows/load_test.yaml index 02829b3c..fda27582 100644 --- a/.github/workflows/load_test.yaml +++ b/.github/workflows/load_test.yaml @@ -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