Skip to content

Commit 7834e51

Browse files
Update data-platform-workflows to v7.0.0 (#172)
Fix broken build CI
1 parent 1704b4e commit 7834e51

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
build:
4646
name: Build charm
47-
uses: canonical/data-platform-workflows/.github/workflows/build_charms_with_cache.yaml@v6.2.0
47+
uses: canonical/data-platform-workflows/.github/workflows/build_charms_with_cache.yaml@v7.0.0
4848
permissions:
4949
actions: write # Needed to manage GitHub Actions cache
5050

@@ -61,7 +61,7 @@ jobs:
6161
- lint
6262
- unit-test
6363
- build
64-
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v6.2.0
64+
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v7.0.0
6565
with:
6666
artifact-name: ${{ needs.build.outputs.artifact-name }}
6767
cloud: microk8s

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232

3333
build:
3434
name: Build charm
35-
uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v6.2.0
35+
uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v7.0.0
3636

3737
release:
3838
name: Release charm
3939
needs:
4040
- lib-check
4141
- ci-tests
4242
- build
43-
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v6.2.0
43+
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v7.0.0
4444
with:
4545
channel: 8.0/edge
4646
artifact-name: ${{ needs.build.outputs.artifact-name }}

.github/workflows/sync_issue_to_jira.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
sync:
1111
name: Sync GitHub issue to Jira
12-
uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v6.2.0
12+
uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v7.0.0
1313
with:
1414
jira-base-url: https://warthogs.atlassian.net
1515
jira-project-key: DPE

poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ pytest-mock = "^3.11.1"
5555
[tool.poetry.group.integration.dependencies]
5656
pytest = "^7.4.0"
5757
pytest-operator = "^0.28.0"
58-
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v6.2.0", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
59-
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v6.2.0", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
58+
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v7.0.0", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
59+
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v7.0.0", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
6060
juju = "^3.2.2"
6161
mysql-connector-python = "~8.0.33"
6262
pyyaml = "^6.0.1"

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ allowlist_externals =
2020

2121
[testenv:{build,pack-wrapper}]
2222
# Wrap `charmcraft pack`
23+
pass_env =
24+
CRAFT_SHARED_CACHE
2325
allowlist_externals =
2426
{[testenv]allowlist_externals}
2527
charmcraft

0 commit comments

Comments
 (0)