Skip to content

Commit

Permalink
Update dpw to v21 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp authored Aug 30, 2024
1 parent 0e31849 commit b8f5f7b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 24 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@v18.0.0
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v21.0.1

unit-test:
name: Unit tests
Expand All @@ -39,7 +39,7 @@ jobs:
- .
- tests/integration/application-charm
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v18.0.0
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v21.0.1
with:
path-to-charm-directory: ${{ matrix.path }}
cache: true
Expand All @@ -63,7 +63,7 @@ jobs:
- lint
- unit-test
- build
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v18.0.0
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v21.0.1
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 @@ -35,15 +35,15 @@ jobs:

build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v18.0.0
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v21.0.1

release-to-charmhub:
name: Release to CharmHub
needs:
- lib-check
- ci-tests
- build
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v18.0.0
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v21.0.1
with:
channel: latest/edge
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
Expand Down
20 changes: 10 additions & 10 deletions poetry.lock

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

14 changes: 5 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
# See LICENSE file for licensing details.

[tool.poetry]
# Charm is not packed as a standard Python package; this information is not used
name = "charm"
version = "0.1.0"
description = ""
authors = []
package-mode = false

[tool.poetry.dependencies]
python = "^3.10"
Expand Down Expand Up @@ -40,10 +36,10 @@ parameterized = "^0.9.0"

[tool.poetry.group.integration.dependencies]
pytest = "^8.2.2"
pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v18.0.0", subdirectory = "python/pytest_plugins/github_secrets"}
pytest-operator = "^0.35.0"
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v18.0.0", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v18.0.0", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v21.0.1", subdirectory = "python/pytest_plugins/github_secrets"}
pytest-operator = "^0.36.0"
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v21.0.1", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v21.0.1", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
juju = "^3.5.2.0"

# Testing tools configuration
Expand Down

0 comments on commit b8f5f7b

Please sign in to comment.