Skip to content

Commit

Permalink
use v1 workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello committed Feb 13, 2025
1 parent e3c632d commit 138cac9
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
promote:
name: Promote
uses: canonical/observability/.github/workflows/charm-promote.yaml@v0
uses: canonical/observability/.github/workflows/charm-promote.yaml@v1
with:
promotion: ${{ github.event.inputs.promotion }}
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
pull-request:
name: PR
uses: canonical/observability/.github/workflows/charm-pull-request.yaml@v0
uses: canonical/observability/.github/workflows/charm-pull-request.yaml@v1
secrets: inherit
with:
provider: lxd
provider: machine
15 changes: 15 additions & 0 deletions .github/workflows/quality-gates.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Quality Gates

on:
# Manual trigger
workflow_dispatch:
# Run the quality checks periodically
# FIXME: adjust the frequency as needed once we have actual gates in place
schedule:
- cron: "0 0 * * Tue"

jobs:
quality-gates:
name: Run quality gates
uses: canonical/observability/.github/workflows/charm-quality-gates.yaml@v1
secrets: inherit
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:

jobs:
release:
uses: canonical/observability/.github/workflows/charm-release.yaml@v0
uses: canonical/observability/.github/workflows/charm-release.yaml@v1
secrets: inherit
with:
provider: lxd
build-for-arm: true
provider: machine
2 changes: 1 addition & 1 deletion .github/workflows/update-libs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ on:
jobs:
update-lib:
name: Check libraries
uses: canonical/observability/.github/workflows/charm-update-libs.yaml@v0
uses: canonical/observability/.github/workflows/charm-update-libs.yaml@v1
secrets: inherit

0 comments on commit 138cac9

Please sign in to comment.