From 5d793830d6b3c8a768197438cb25d844e46c1bf0 Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Thu, 1 Aug 2024 13:05:58 -0500 Subject: [PATCH] Pin charmcraft channel --- .charmcraft-channel | 1 + .github/workflows/vsphere-integration.yaml | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .charmcraft-channel diff --git a/.charmcraft-channel b/.charmcraft-channel new file mode 100644 index 00000000..145da3bf --- /dev/null +++ b/.charmcraft-channel @@ -0,0 +1 @@ +2.x/stable diff --git a/.github/workflows/vsphere-integration.yaml b/.github/workflows/vsphere-integration.yaml index 15261a35..4e0d7fff 100644 --- a/.github/workflows/vsphere-integration.yaml +++ b/.github/workflows/vsphere-integration.yaml @@ -9,6 +9,9 @@ jobs: steps: - name: Check out code uses: actions/checkout@v3 + - name: Read charmcraft version file + id: charmcraft + run: echo "channel=$(cat .charmcraft-channel)" >> $GITHUB_OUTPUT - name: Setup Python uses: actions/setup-python@v4 with: @@ -18,6 +21,7 @@ jobs: with: provider: vsphere juju-channel: 3.1/stable + charmcraft-channel: ${{ steps.charmcraft.outputs.channel }} credentials-yaml: ${{ secrets.CREDENTIALS_YAML }} clouds-yaml: ${{ secrets.CLOUDS_YAML }} bootstrap-constraints: "arch=amd64 cores=2 mem=4G"