Skip to content

Commit

Permalink
feat: TELCO-948 Use track for charm publication
Browse files Browse the repository at this point in the history
Adds a new variable for what track to use when publishing abd orinitubg
charms.
  • Loading branch information
markbeierl committed Jan 22, 2024
1 parent e1b9195 commit 5f3a662
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@main
with:
charm-file-name: "sdcore-gnbsim-k8s_ubuntu-22.04-amd64.charm"
track-name: 1.3
secrets: inherit

fiveg-gnb-identity-lib-needs-publishing:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@ on:
- edge -> beta
- beta -> candidate
- candidate -> stable
track-name:
type: choice
description: Name of the charmhub track to publish
options:
- 1.3
- latest


jobs:
promote:
name: Promote Charm
uses: canonical/sdcore-github-workflows/.github/workflows/promote.yaml@main
with:
promotion: ${{ github.event.inputs.promotion }}
track-name: ${{ github.event.inputs.track-name }}

secrets: inherit

0 comments on commit 5f3a662

Please sign in to comment.