From ec5b3e41abe8de1de675d9e92e381d06d1ca8ff2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:17:11 +0000 Subject: [PATCH] Update data-platform-workflows to v16 (#222) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [allure-pytest-collection-report](https://togithub.com/canonical/data-platform-workflows) | integration | major | `v13.3.4` -> `v16.2.0` | | [canonical/data-platform-workflows](https://togithub.com/canonical/data-platform-workflows) | action | major | `v13.3.4` -> `v16.2.0` | | [pytest-operator-cache](https://togithub.com/canonical/data-platform-workflows) | integration | major | `v13.3.4` -> `v16.2.0` | | [pytest-operator-groups](https://togithub.com/canonical/data-platform-workflows) | integration | major | `v13.3.4` -> `v16.2.0` | --- ### Release Notes
canonical/data-platform-workflows (allure-pytest-collection-report) ### [`v16.2.0`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v16.2.0) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v16.1.0...v16.2.0) ##### What's Changed - compatible(build_charm.yaml): Add GitHub auth to avoid ccc rate limit by [@​carlcsaposs-canonical](https://togithub.com/carlcsaposs-canonical) in [https://github.com/canonical/data-platform-workflows/pull/202](https://togithub.com/canonical/data-platform-workflows/pull/202) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v16.1.0...v16.2.0 ##### Migration instructions If you have a build wrapper in tox.ini, add `GH_TOKEN` to `pass_env` ```ini [testenv:build-{production,dev,wrapper}] ##### Wrap `charmcraft pack` pass_env = CI GH_TOKEN ``` Example: [https://github.com/canonical/pgbouncer-k8s-operator/pull/322](https://togithub.com/canonical/pgbouncer-k8s-operator/pull/322) ### [`v16.1.0`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v16.1.0) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v16.0.1...v16.1.0) ##### What's Changed - compatible(integration_test_charm.yaml): Grant full SSH access on Azure runners by [@​carlcsaposs-canonical](https://togithub.com/carlcsaposs-canonical) in [https://github.com/canonical/data-platform-workflows/pull/200](https://togithub.com/canonical/data-platform-workflows/pull/200) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v16.0.1...v16.1.0 ### [`v16.0.1`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v16.0.1) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v16.0.0...v16.0.1) ##### What's Changed - patch(integration_test_charm.yaml): Decrease bootstrap timeout by [@​carlcsaposs-canonical](https://togithub.com/carlcsaposs-canonical) in [https://github.com/canonical/data-platform-workflows/pull/199](https://togithub.com/canonical/data-platform-workflows/pull/199) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v16.0.0...v16.0.1 ### [`v16.0.0`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v16.0.0) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v15.0.0...v16.0.0) ##### What's Changed - breaking(release_charm.yaml): Upload OCI resources from GHCR directly by [@​carlcsaposs-canonical](https://togithub.com/carlcsaposs-canonical) in [https://github.com/canonical/data-platform-workflows/pull/198](https://togithub.com/canonical/data-platform-workflows/pull/198) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v15...v16.0.0 ### [`v15.0.0`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v15.0.0) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v14.1.0...v15.0.0) ##### What's Changed - breaking(integration_test_charm.yaml): Run arm64 tests on all events by [@​carlcsaposs-canonical](https://togithub.com/carlcsaposs-canonical) in [https://github.com/canonical/data-platform-workflows/pull/196](https://togithub.com/canonical/data-platform-workflows/pull/196) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v14...v15.0.0 ### [`v14.1.0`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v14.1.0) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v14.0.0...v14.1.0) ##### What's Changed - compatible(integration_test_charm.yaml): Switch arm64 to Azure-hosted runners by [@​carlcsaposs-canonical](https://togithub.com/carlcsaposs-canonical) in [https://github.com/canonical/data-platform-workflows/pull/192](https://togithub.com/canonical/data-platform-workflows/pull/192) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v14.0.0...v14.1.0 ### [`v14.0.0`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v14.0.0) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v13.3.7...v14.0.0) ##### What's Changed - breaking(integration_test_charm.yaml): Only run arm64 tests on `schedule` by [@​carlcsaposs-canonical](https://togithub.com/carlcsaposs-canonical) in [https://github.com/canonical/data-platform-workflows/pull/188](https://togithub.com/canonical/data-platform-workflows/pull/188) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v13...v14.0.0 ### [`v13.3.7`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v13.3.7) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v13.3.6...v13.3.7) ##### What's Changed - patch(\_sync_docs.yaml): Updated secret keys in usage docs by [@​a-velasco](https://togithub.com/a-velasco) in [https://github.com/canonical/data-platform-workflows/pull/189](https://togithub.com/canonical/data-platform-workflows/pull/189) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v13.3.6...v13.3.7 ### [`v13.3.6`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v13.3.6) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v13.3.5...v13.3.6) ##### What's Changed - patch: Install python3-pip with `--no-install-recommends` by [@​carlcsaposs-canonical](https://togithub.com/carlcsaposs-canonical) in [https://github.com/canonical/data-platform-workflows/pull/187](https://togithub.com/canonical/data-platform-workflows/pull/187) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v13.3.5...v13.3.6 ### [`v13.3.5`](https://togithub.com/canonical/data-platform-workflows/releases/tag/v13.3.5) [Compare Source](https://togithub.com/canonical/data-platform-workflows/compare/v13.3.4...v13.3.5) ##### What's Changed - patch(integration_test_charm.yaml): Add missing link to Allure usage docs by [@​carlcsaposs-canonical](https://togithub.com/carlcsaposs-canonical) in [https://github.com/canonical/data-platform-workflows/pull/184](https://togithub.com/canonical/data-platform-workflows/pull/184) **Full Changelog**: https://github.com/canonical/data-platform-workflows/compare/v13.3.4...v13.3.5
--- ### Configuration 📅 **Schedule**: Branch creation - "after 1am and before 3am every weekday" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/mysql-router-k8s-operator). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Carl Csaposs --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/release.yaml | 4 ++-- .github/workflows/sync_issue_to_jira.yaml | 2 +- poetry.lock | 15 ++++++++------- pyproject.toml | 6 +++--- tox.ini | 1 + 6 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 508499eb1..a0c7cb452 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,7 +64,7 @@ jobs: build: name: Build charm - uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v13.3.4 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v16.2.0 with: cache: true @@ -83,7 +83,7 @@ jobs: - lint - unit-test - build - uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v13.3.4 + uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v16.2.0 with: artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} cloud: microk8s diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 30580517f..e07c12f69 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@v13.3.4 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v16.2.0 release: name: Release charm needs: - ci-tests - build - uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v13.3.4 + uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v16.2.0 with: channel: 8.0/edge artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} diff --git a/.github/workflows/sync_issue_to_jira.yaml b/.github/workflows/sync_issue_to_jira.yaml index 4dfc3a120..f1d87ae16 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@v13.3.4 + uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v16.2.0 with: jira-base-url: https://warthogs.atlassian.net jira-project-key: DPE diff --git a/poetry.lock b/poetry.lock index 9f57bcb44..c3e5a1480 100644 --- a/poetry.lock +++ b/poetry.lock @@ -31,8 +31,8 @@ pytest = "*" [package.source] type = "git" url = "https://github.com/canonical/data-platform-workflows" -reference = "v13.3.4" -resolved_reference = "bf186d4cc2e7122427d121587ff0c7d7ef8874a4" +reference = "v16.2.0" +resolved_reference = "eb5c6fc3c725f0ec870be8055508e23b49126dc9" subdirectory = "python/pytest_plugins/allure_pytest_collection_report" [[package]] @@ -1937,8 +1937,8 @@ pyyaml = "*" [package.source] type = "git" url = "https://github.com/canonical/data-platform-workflows" -reference = "v13.3.4" -resolved_reference = "bf186d4cc2e7122427d121587ff0c7d7ef8874a4" +reference = "v16.2.0" +resolved_reference = "eb5c6fc3c725f0ec870be8055508e23b49126dc9" subdirectory = "python/pytest_plugins/pytest_operator_cache" [[package]] @@ -1956,8 +1956,8 @@ pytest = "*" [package.source] type = "git" url = "https://github.com/canonical/data-platform-workflows" -reference = "v13.3.4" -resolved_reference = "bf186d4cc2e7122427d121587ff0c7d7ef8874a4" +reference = "v16.2.0" +resolved_reference = "eb5c6fc3c725f0ec870be8055508e23b49126dc9" subdirectory = "python/pytest_plugins/pytest_operator_groups" [[package]] @@ -2030,6 +2030,7 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, @@ -2622,4 +2623,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "6ed2c527230cc5cc679c6f84199e45239f6af727174fa98d005be4973568e6b2" +content-hash = "dec1bd6dcc80dbbb4038850c7c8fc425ef0f65b178e092909e192cd763f9c3d7" diff --git a/pyproject.toml b/pyproject.toml index ca9fcd0a8..741ef453d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,15 +63,15 @@ pytest-mock = "^3.11.1" [tool.poetry.group.integration.dependencies] pytest = "^7.4.0" pytest-operator = "^0.28.0" -pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.3.4", subdirectory = "python/pytest_plugins/pytest_operator_cache"} -pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.3.4", subdirectory = "python/pytest_plugins/pytest_operator_groups"} +pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v16.2.0", subdirectory = "python/pytest_plugins/pytest_operator_cache"} +pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v16.2.0", subdirectory = "python/pytest_plugins/pytest_operator_groups"} juju = "^3.2.2" mysql-connector-python = "~8.0.33" pyyaml = "^6.0.1" tenacity = "^8.2.2" ops = "<2.10.0" allure-pytest = "^2.13.2" -allure-pytest-collection-report = {git = "https://github.com/canonical/data-platform-workflows", tag = "v13.3.4", subdirectory = "python/pytest_plugins/allure_pytest_collection_report"} +allure-pytest-collection-report = {git = "https://github.com/canonical/data-platform-workflows", tag = "v16.2.0", subdirectory = "python/pytest_plugins/allure_pytest_collection_report"} [tool.coverage.run] diff --git a/tox.ini b/tox.ini index 0e8703adb..4f89db787 100644 --- a/tox.ini +++ b/tox.ini @@ -22,6 +22,7 @@ allowlist_externals = # Wrap `charmcraft pack` pass_env = CI + GH_TOKEN allowlist_externals = {[testenv]allowlist_externals} charmcraft