Skip to content

Commit

Permalink
Switch to charmcraft stable (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical authored Jan 28, 2025
1 parent 25378cb commit 65e0ea1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,15 @@ jobs:
pull-requests: write # Need to create PR

build:
name: Build charms
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v29.0.0
with:
charmcraft-snap-channel: latest/candidate # TODO: remove after charmcraft 3.3 stable release
path-to-charm-directory: ${{ matrix.path }}
strategy:
matrix:
path:
- .
- tests/integration/app-charm
name: Build charm | ${{ matrix.path }}
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v29.0.0
with:
path-to-charm-directory: ${{ matrix.path }}

integration-test:
strategy:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ jobs:
actions: write

release:
name: Release to Charmhub
name: Release charm
needs:
- ci-tests
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v29.0.0
with:
charmcraft-snap-channel: latest/candidate # TODO: remove after charmcraft 3.3 stable release
channel: 3/edge
artifact-prefix: ${{ needs.ci-tests.outputs.artifact-prefix }}
secrets:
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}
permissions:
contents: write # Needed to create GitHub release
contents: write # Needed to create git tags

0 comments on commit 65e0ea1

Please sign in to comment.