Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/bump_dependent_charms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
pipx install tox poetry

- name: Setup python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: "poetry"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ on:
jobs:
check-pr:
name: Check pull request
uses: canonical/data-platform-workflows/.github/workflows/check_python_package_pr.yaml@v31.1.1
uses: canonical/data-platform-workflows/.github/workflows/check_python_package_pr.yaml@v48.1.2
16 changes: 8 additions & 8 deletions .github/workflows/ci-quick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install tox & poetry
run: |
pipx install tox poetry
- name: Set up python environment
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: "poetry"
Expand All @@ -39,7 +39,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install actionlint
id: install
run: |
Expand All @@ -56,7 +56,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Check libs
Expand All @@ -74,12 +74,12 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install tox & poetry
run: |
pipx install tox poetry
- name: Set up python environment
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: "poetry"
Expand All @@ -97,14 +97,14 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install tox & poetry
run: |
pipx install tox poetry
- name: Set up python environment
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: "poetry"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install CLI
run: pipx install git+https://github.com/canonical/data-platform-workflows@v31.1.1#subdirectory=python/cli
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install tox & poetry
Expand All @@ -51,7 +51,7 @@ jobs:
sudo snap install charmcraft --classic
pipx install charmcraftcache
- name: Set up python environment
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: "poetry"
Expand All @@ -66,7 +66,7 @@ jobs:
id: path-in-artifact
run: compute-path-in-artifact '${{ matrix.path }}'
- name: Upload charm
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: packed-charm-${{ steps.path-in-artifact.outputs.path }}
path: |
Expand All @@ -82,7 +82,7 @@ jobs:
- tests/integration/applications/continuous_write_charm
- tests/integration/applications/mongos_client_charm
name: Build charm | ${{ matrix.path }}
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v30.2.0
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v48.1.2
with:
path-to-charm-directory: ${{ matrix.path }}
cache: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
org: "Canonical"
team: "data-ai-engineers"
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install poetry
run: pipx install poetry
- name: Set up python environment
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Compute matrix
Expand Down Expand Up @@ -59,14 +59,14 @@ jobs:
uses: xt0rted/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1
id: comment-branch
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: "${{ steps.comment-branch.outputs.head_sha }}"
persist-credentials: false
- name: Install poetry
run: pipx install poetry
- name: Setup python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'
cache: 'poetry'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# Default test results in case the integration tests time out or runner set up fails
# (So that Allure report will show "unknown"/"failed" test result, instead of omitting the test)
if: ${{ github.event_name == 'workflow_dispatch' && github.run_attempt == '1' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: allure-default-results-integration-test
path: allure-default-results/
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
run: df --human-readable
- name: Checkout
timeout-minutes: 3
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Set up environment
timeout-minutes: 5
run: sudo snap install charmcraft --classic
Expand All @@ -125,7 +125,7 @@ jobs:
go install github.com/canonical/spread/cmd/spread@latest
- name: Download packed charm(s)
timeout-minutes: 5
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: ${{ inputs.artifact-prefix }}-*
merge-multiple: true
Expand All @@ -147,7 +147,7 @@ jobs:
# Allure can only process one result per pytest test ID. If parameterization is done via
# spread instead of pytest, there will be overlapping pytest test IDs.
if: ${{ (success() || (failure() && steps.spread.outcome == 'failure')) && startsWith(matrix.job.spread_job, 'github-ci:') && github.event_name == 'workflow_dispatch' && github.run_attempt == '1' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: allure-results-integration-test-${{ matrix.job.name_in_artifact }}
path: artifacts/${{ matrix.job.spread_job }}/allure-results/
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
- name: Upload logs
timeout-minutes: 5
if: ${{ success() || (failure() && steps.spread.outcome == 'failure') }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: logs-integration-test-${{ matrix.job.name_in_artifact }}
path: ~/logs/
Expand Down Expand Up @@ -240,12 +240,12 @@ jobs:
- name: Download default test results
# Default test results in case the integration tests time out or runner set up fails
# (So that Allure report will show "unknown"/"failed" test result, instead of omitting the test)
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
path: allure-default-results/
name: allure-default-results-integration-test
- name: Download test results
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
path: allure-results/
pattern: allure-results-integration-test-*
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- ci-quick-tests
- ci-tests
name: Release to PyPI (part 1)
uses: canonical/data-platform-workflows/.github/workflows/release_python_package_part1.yaml@v31.1.1
uses: canonical/data-platform-workflows/.github/workflows/release_python_package_part1.yaml@v48.1.2
permissions:
contents: write # Needed to create git tag

Expand All @@ -40,7 +40,7 @@ jobs:
environment: production
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ needs.release-part1.outputs.artifact-name }}
path: dist/
Expand All @@ -54,7 +54,7 @@ jobs:
needs:
- release-part1
- release-trusted-publishing
uses: canonical/data-platform-workflows/.github/workflows/release_python_package_part2.yaml@v31.1.1
uses: canonical/data-platform-workflows/.github/workflows/release_python_package_part2.yaml@v48.1.2
with:
git-tag: ${{ needs.release-part1.outputs.git-tag }}
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tics_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout the project
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y python3-venv build-essential libldap-dev libsasl2-dev
Expand Down
Loading