Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
lint:
name: Lint
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v11.0.0
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v11.0.1

unit-test:
name: Unit test charm
Expand All @@ -42,7 +42,7 @@ jobs:

build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v11.0.0
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v11.0.1
with:
cache: true

Expand All @@ -53,18 +53,21 @@ jobs:
juju:
- agent: 2.9.46
libjuju: ^2
allure: false
- agent: 3.1.7
allure: true
name: Integration test charm | ${{ matrix.juju.agent }}
needs:
- lint
- unit-test
- build
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v11.0.0
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v11.0.1
with:
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
cloud: lxd
juju-agent-version: ${{ matrix.juju.agent }}
libjuju-version-constraint: ${{ matrix.juju.libjuju }}
_beta_allure_report: ${{ matrix.juju.allure }}
secrets:
integration-test: |
{
Expand All @@ -73,3 +76,5 @@ jobs:
"GCP_ACCESS_KEY": "${{ secrets.GCP_ACCESS_KEY }}",
"GCP_SECRET_KEY": "${{ secrets.GCP_SECRET_KEY }}",
}
permissions:
contents: write # Needed for Allure Report beta
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@ jobs:
name: Tests
uses: ./.github/workflows/ci.yaml
secrets: inherit
permissions:
contents: write # Needed for Allure Report beta

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

release:
name: Release charm
needs:
- ci-tests
- build
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v11.0.0
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v11.0.1
with:
channel: 14/edge
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync_issue_to_jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v11.0.0
uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v11.0.1
with:
jira-base-url: https://warthogs.atlassian.net
jira-project-key: DPE
Expand Down
57 changes: 38 additions & 19 deletions poetry.lock

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

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,17 @@ optional = true

[tool.poetry.group.integration.dependencies]
pytest = "^7.4.4"
pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.0", subdirectory = "python/pytest_plugins/github_secrets"}
pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.1", subdirectory = "python/pytest_plugins/github_secrets"}
pytest-operator = "^0.32.0"
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.0", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.0", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.1", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.1", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
juju = "^3.3.0.0"
boto3 = "*"
tenacity = "*"
landscape-api-py3 = "^0.9.0"
mailmanclient = "^3.3.5"
psycopg2-binary = "*"
allure-pytest = "^2.13.2"

# Testing tools configuration
[tool.coverage.run]
Expand Down