From ce9485be6b7afcbbf4db45b80abda0d2e5d169f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 10 Jan 2025 11:14:33 +0100 Subject: [PATCH] Update data-platform-workflows to v24.0.6 (#88) * Update data-platform-workflows to v24.0.6 * Add Poetry export plugin --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dragomir Penev --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/release.yaml | 4 ++-- charmcraft.yaml | 1 + poetry.lock | 14 +++++++------- pyproject.toml | 6 +++--- 5 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4368f47..b32960d 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@v24.0.2 + uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v24.0.6 unit-test: name: Unit tests @@ -54,7 +54,7 @@ jobs: - . - tests/integration/application-charm name: Build charm - uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v24.0.2 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v24.0.6 with: path-to-charm-directory: ${{ matrix.path }} cache: true @@ -78,7 +78,7 @@ jobs: - lint - unit-test - build - uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v24.0.2 + uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v24.0.6 with: artifact-prefix: packed-charm-cache-true architecture: ${{ matrix.architecture }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bc58def..a506dee 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,14 +15,14 @@ jobs: build: name: Build charm - uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v24.0.2 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v24.0.6 release-to-charmhub: name: Release to CharmHub needs: - ci-tests - build - uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v24.0.2 + uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v24.0.6 with: channel: latest/edge artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} diff --git a/charmcraft.yaml b/charmcraft.yaml index 7293ac5..45f967a 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -7,6 +7,7 @@ parts: override-build: | # Convert subset of poetry.lock to requirements.txt curl -sSL https://install.python-poetry.org | python3 - + /root/.local/bin/poetry self add poetry-plugin-export /root/.local/bin/poetry export --only main,charm-libs --output requirements.txt craftctl default diff --git a/poetry.lock b/poetry.lock index 5a11faa..aa46d48 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1139,8 +1139,8 @@ develop = false [package.source] type = "git" url = "https://github.com/canonical/data-platform-workflows" -reference = "v24.0.2" -resolved_reference = "f92457d41a392c2549c044efe40651186db62d10" +reference = "v24.0.6" +resolved_reference = "11c673f692893a15d15ee63469420e91f91f8a95" subdirectory = "python/pytest_plugins/github_secrets" [[package]] @@ -1177,8 +1177,8 @@ pyyaml = "*" [package.source] type = "git" url = "https://github.com/canonical/data-platform-workflows" -reference = "v24.0.2" -resolved_reference = "f92457d41a392c2549c044efe40651186db62d10" +reference = "v24.0.6" +resolved_reference = "11c673f692893a15d15ee63469420e91f91f8a95" subdirectory = "python/pytest_plugins/pytest_operator_cache" [[package]] @@ -1196,8 +1196,8 @@ pytest = "*" [package.source] type = "git" url = "https://github.com/canonical/data-platform-workflows" -reference = "v24.0.2" -resolved_reference = "f92457d41a392c2549c044efe40651186db62d10" +reference = "v24.0.6" +resolved_reference = "11c673f692893a15d15ee63469420e91f91f8a95" subdirectory = "python/pytest_plugins/pytest_operator_groups" [[package]] @@ -1615,4 +1615,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "c47852546b451e44120edf6c7a7f79cfa725220ddd572e262aa3a605cc609396" +content-hash = "3026b644738d2d46bed9dacae74b4488747c2aa2ea691f2bac7a719a936a0c3d" diff --git a/pyproject.toml b/pyproject.toml index 0ea3e08..305ff11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,10 +30,10 @@ parameterized = "^0.9.0" [tool.poetry.group.integration.dependencies] pytest = "^8.3.4" -pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v24.0.2", subdirectory = "python/pytest_plugins/github_secrets"} +pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v24.0.6", subdirectory = "python/pytest_plugins/github_secrets"} pytest-operator = "^0.39.0" -pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v24.0.2", subdirectory = "python/pytest_plugins/pytest_operator_cache"} -pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v24.0.2", subdirectory = "python/pytest_plugins/pytest_operator_groups"} +pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v24.0.6", subdirectory = "python/pytest_plugins/pytest_operator_cache"} +pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v24.0.6", subdirectory = "python/pytest_plugins/pytest_operator_groups"} juju = "^3.5.2.0" # Testing tools configuration