diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 194ac2a..6591775 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -15,7 +15,7 @@ jobs: uses: canonical/data-platform-workflows/.github/workflows/build_rock.yaml@v16 integration: - runs-on: ubuntu-latest + runs-on: [self-hosted, linux, X64, jammy, large] timeout-minutes: 120 needs: build strategy: @@ -31,14 +31,13 @@ jobs: provider: microk8s channel: "1.29-strict/stable" bootstrap-constraints: "cores=2 mem=2G" - juju-channel: 3.1/stable + juju-channel: 3.4/stable # This is needed until # https://bugs.launchpad.net/juju/+bug/1977582 is fixed - bootstrap-options: "--agent-version 3.1.7" + bootstrap-options: "--agent-version 3.4.4" - name: Install rockcraft run: | - sudo snap install rockcraft --classic --revision 1206 - sudo snap refresh rockcraft --hold=forever + sudo snap install rockcraft --classic - name: Download rock package(s) uses: actions/download-artifact@v4 with: @@ -46,8 +45,15 @@ jobs: merge-multiple: true - name: Install tox & poetry run: | + sudo apt-get update + sudo apt-get install python3-pip python3-venv -y --no-install-recommends + python3 -m pip install --user pipx + python3 -m pipx ensurepath pipx install tox pipx install poetry + pipx install charmcraftcache + pipx inject poetry poetry-plugin-export + poetry config warnings.export false - name: Integration Tests run: | sg snap_microk8s -c "tox -e ${{ matrix.env }}" diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 7472fbd..ee6d260 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -11,7 +11,7 @@ on: jobs: lint: - runs-on: ubuntu-latest + runs-on: [self-hosted, linux, X64, jammy, large] timeout-minutes: 5 steps: - name: Checkout repository diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0af9f0a..0a990d5 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -21,7 +21,7 @@ jobs: publish: needs: build name: publish - runs-on: ubuntu-latest + runs-on: [self-hosted, linux, X64, jammy, large] timeout-minutes: 15 steps: - name: Checkout repo diff --git a/.github/workflows/publish_beta.yaml b/.github/workflows/publish_beta.yaml index 251a001..1c51298 100644 --- a/.github/workflows/publish_beta.yaml +++ b/.github/workflows/publish_beta.yaml @@ -6,7 +6,7 @@ jobs: uses: ./.github/workflows/build.yaml publish: needs: build - runs-on: ubuntu-latest + runs-on: [self-hosted, linux, X64, jammy, large] timeout-minutes: 5 permissions: packages: write