Skip to content

Commit

Permalink
Update data-platform-workflows to v24.0.6 (#88)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
renovate[bot] and dragomirp authored Jan 10, 2025
1 parent 9c35318 commit ce9485b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 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/[email protected].2
uses: canonical/data-platform-workflows/.github/workflows/[email protected].6

unit-test:
name: Unit tests
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- .
- tests/integration/application-charm
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/[email protected].2
uses: canonical/data-platform-workflows/.github/workflows/[email protected].6
with:
path-to-charm-directory: ${{ matrix.path }}
cache: true
Expand All @@ -78,7 +78,7 @@ jobs:
- lint
- unit-test
- build
uses: canonical/data-platform-workflows/.github/workflows/[email protected].2
uses: canonical/data-platform-workflows/.github/workflows/[email protected].6
with:
artifact-prefix: packed-charm-cache-true
architecture: ${{ matrix.architecture }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:

build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/[email protected].2
uses: canonical/data-platform-workflows/.github/workflows/[email protected].6

release-to-charmhub:
name: Release to CharmHub
needs:
- ci-tests
- build
uses: canonical/data-platform-workflows/.github/workflows/[email protected].2
uses: canonical/data-platform-workflows/.github/workflows/[email protected].6
with:
channel: latest/edge
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
Expand Down
1 change: 1 addition & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce9485b

Please sign in to comment.