This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from jat-canonical/test-arm-runner
fix(ci): use correct version variable to pass into the release job
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Get current version | ||
name: Get current charm version | ||
|
||
on: | ||
workflow_call: | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ concurrency: | |
|
||
jobs: | ||
get-version: | ||
name: Get Charm Version | ||
uses: ./.github/workflows/get-version.yaml | ||
|
||
ci: | ||
|
@@ -26,15 +27,15 @@ jobs: | |
snap_risk_level: edge | ||
|
||
release: | ||
name: Release charm | ||
name: Release to edge | ||
needs: | ||
- ci | ||
- get-version | ||
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | ||
with: | ||
# TODO: change this when we actually want to cutover the charm to main | ||
# channels | ||
channel: "${{ needs.get-version.outputs.version }}-ops/edge" | ||
channel: "${{ needs.get-version.outputs.charm_version }}-ops/edge" | ||
artifact-prefix: ${{ needs.ci.outputs.artifact-prefix }} | ||
secrets: | ||
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }} |