From e8068cb49bcaccb17c0828af886a10185620ab01 Mon Sep 17 00:00:00 2001 From: Manos Vlassis <57320708+mvlassis@users.noreply.github.com> Date: Wed, 4 Sep 2024 12:19:22 +0300 Subject: [PATCH] Pin charmcraft channel to `3.1/stable` (#565) * Pin charmcraft channel * Update .github/workflows/integrate.yaml Co-authored-by: Daniela Plascencia * Add comment above the pinning to link to the proper issue * Pin to 3.x instead of 3.1 which doesn't exist as a track --------- Co-authored-by: Daniela Plascencia --- .github/workflows/integrate.yaml | 6 ++++-- .github/workflows/publish.yaml | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 0d831557..506cb25e 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -93,7 +93,8 @@ jobs: provider: microk8s channel: 1.25-strict/stable juju-channel: 3.4/stable - charmcraft-channel: latest/candidate + # Pinned to 3.x/stable due to https://github.com/canonical/charmcraft/issues/1845 + charmcraft-channel: 3.x/stable - name: Integration tests run: | @@ -134,7 +135,8 @@ jobs: provider: microk8s channel: 1.25-strict/stable juju-channel: 3.4/stable - charmcraft-channel: latest/candidate + # Pinned to 3.x/stable due to https://github.com/canonical/charmcraft/issues/1845 + charmcraft-channel: 3.x/stable microk8s-addons: "dns hostpath-storage rbac metallb:10.64.140.43-10.64.140.49" - name: Run test diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 624337e1..1eb2134f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -91,4 +91,5 @@ jobs: charm-path: ${{ matrix.charm-path }} channel: ${{ steps.parse-inputs.outputs.destination_channel }} tag-prefix: ${{ steps.parse-inputs.outputs.tag_prefix }} - charmcraft-channel: latest/candidate + # Pinned to 3.x/stable due to https://github.com/canonical/charmcraft/issues/1845 + charmcraft-channel: 3.x/stable