From 2d4a87a97651ec996cfb5b3113a6135f20477ac7 Mon Sep 17 00:00:00 2001 From: Mehdi Bendriss Date: Wed, 13 Mar 2024 16:34:21 +0100 Subject: [PATCH] Fix release pipeline (#374) ## Issue This PR fixes the release pipeline's failed actions --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/release.yaml | 6 +++--- .github/workflows/sync_issue_to_jira.yaml | 2 +- tox.ini | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d69bf3ad0..6de9a650f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ on: jobs: lint: name: Lint - uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v12.4.1 + uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v12.7.2 unit-test: name: Unit tests @@ -85,7 +85,7 @@ jobs: - tests/integration/relation_tests/new_relations/application-charm - tests/integration/dummy_legacy_app name: Build charm - uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v11.0.1 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v12.7.2 with: path-to-charm-directory: ${{ matrix.path }} cache: true @@ -96,7 +96,7 @@ jobs: - lint - unit-test - build - uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v11.0.1 + uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v12.7.2 with: artifact-prefix: packed-charm-cache-true cloud: lxd diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 227fec404..249df3f82 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,14 +12,14 @@ jobs: build: name: Build charm - uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v11.0.1 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v12.7.2 release-charm: name: Release charm needs: - ci-tests - build - uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v11.0.1 + uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v12.7.2 with: channel: 6/edge artifact-name: ${{ needs.build.outputs.artifact-name }} @@ -40,7 +40,7 @@ jobs: with: fetch-depth: 0 - name: Release any bumped charm libs - uses: canonical/charming-actions/release-libraries@2.2.2 + uses: canonical/charming-actions/release-libraries@2.4.0 with: credentials: "${{ secrets.CHARMHUB_TOKEN }}" github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/sync_issue_to_jira.yaml b/.github/workflows/sync_issue_to_jira.yaml index ab8fd5155..01fe1748e 100644 --- a/.github/workflows/sync_issue_to_jira.yaml +++ b/.github/workflows/sync_issue_to_jira.yaml @@ -9,7 +9,7 @@ on: jobs: sync: name: Sync GitHub issue to Jira - uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v8 + uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v12.7.2 with: jira-base-url: https://warthogs.atlassian.net jira-project-key: DPE diff --git a/tox.ini b/tox.ini index d654bcf4e..f8b075cd4 100644 --- a/tox.ini +++ b/tox.ini @@ -83,9 +83,9 @@ deps = pytest-mock pytest-operator protobuf==3.20 # temporary fix until new libjuju is released - git+https://github.com/canonical/data-platform-workflows@v11.0.1\#subdirectory=python/pytest_plugins/github_secrets - git+https://github.com/canonical/data-platform-workflows@v11.0.1\#subdirectory=python/pytest_plugins/pytest_operator_groups - git+https://github.com/canonical/data-platform-workflows@v11.0.1\#subdirectory=python/pytest_plugins/pytest_operator_cache + git+https://github.com/canonical/data-platform-workflows@v12.7.2\#subdirectory=python/pytest_plugins/github_secrets + git+https://github.com/canonical/data-platform-workflows@v12.7.2\#subdirectory=python/pytest_plugins/pytest_operator_groups + git+https://github.com/canonical/data-platform-workflows@v12.7.2\#subdirectory=python/pytest_plugins/pytest_operator_cache -r {tox_root}/requirements.txt commands = pytest -v --tb native --log-cli-level=INFO -s --ignore={[vars]tests_path}/unit/ {posargs}