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
20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ on:
jobs:
lint:
name: Lint
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v29.0.0
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v35.0.2

lib-check:
name: Check libraries
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- run: |
Expand All @@ -44,11 +44,11 @@ jobs:

unit-test:
name: Unit test charm
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 25 # TODO: reduce to 5 minutes
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install tox & poetry
run: |
pipx install tox
Expand All @@ -58,11 +58,11 @@ jobs:

terraform-lint:
name: Terraform - Lint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install terraform snap
Expand All @@ -85,7 +85,7 @@ jobs:
name: Terraform - Run terraform tests
needs:
- terraform-lint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 120
strategy:
matrix:
Expand All @@ -98,7 +98,7 @@ jobs:
model_name: test-sc
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: (GitHub hosted) Free up disk space
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
path:
- .
name: Build charm | ${{ matrix.path }}
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v29.0.0
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v35.0.2
with:
path-to-charm-directory: ${{ matrix.path }}
cache: false
Expand All @@ -161,7 +161,7 @@ jobs:
- lint
- unit-test
- build
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v29.0.0
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v35.0.2
with:
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
cloud: microk8s
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- run: |
Expand All @@ -37,7 +37,7 @@ jobs:
name: Release charm
needs:
- ci-tests
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v29.0.0
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v35.0.2
with:
channel: 6/edge
artifact-prefix: ${{ needs.ci-tests.outputs.artifact-prefix }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tics_run_sh_ghaction_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

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

- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y python3.10-venv
Expand Down
Loading