Skip to content

Commit

Permalink
Fix release pipeline (#374)
Browse files Browse the repository at this point in the history
## Issue
This PR fixes the release pipeline's failed actions
  • Loading branch information
Mehdi-Bendriss authored Mar 13, 2024
1 parent 905ffca commit 2d4a87a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}"
2 changes: 1 addition & 1 deletion .github/workflows/sync_issue_to_jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 2d4a87a

Please sign in to comment.