-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
336464e
commit 048beaa
Showing
2 changed files
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,16 +43,15 @@ jobs: | |
run: tox run -e unit | ||
|
||
build: | ||
name: Build charms | ||
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | ||
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/[email protected] | ||
with: | ||
path-to-charm-directory: ${{ matrix.path }} | ||
|
||
integration-test: | ||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ jobs: | |
- name: Check libs | ||
uses: canonical/charming-actions/[email protected] | ||
with: | ||
charmcraft-channel: latest/candidate # TODO: remove after charmcraft 3.3 stable release | ||
credentials: "${{ secrets.CHARMHUB_TOKEN }}" # FIXME: current token will expire in 2023-07-04 | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
|
@@ -30,16 +29,15 @@ jobs: | |
uses: ./.github/workflows/ci.yaml | ||
|
||
release: | ||
name: Release to Charmhub | ||
name: Release charm | ||
needs: | ||
- lib-check | ||
- ci-tests | ||
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | ||
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 |