Repository navigation
ci: add manually-triggered promote workflow - #10
Conversation
aac7e8a to
ecb9586
Compare
hmlanigan
left a comment
There was a problem hiding this comment.
Please update the description to include why this change is being made.
|
On a VM, install act and nodejs secrets flle workflow input params Workflow trigger: Artifacts: Unzip artifcats: |
- workflow_dispatch with source, release and dry-run inputs - charmhub auth via CHARMHUB_AUTH secret (exported charmcraft credentials) passed to charmcraft as CHARMCRAFT_AUTH; falls back to local charmcraft login when unset - snap store auth via SNAPCRAFT_STORE_CREDENTIALS for snapcraft promote - revision list uploaded as workflow artifact
ecb9586 to
52810e3
Compare
snapcraft promote command is interactive and asks user for y/N. Make it non-interactive by passing --yes argument to snapcraft promote command Signed-off-by: Hemanth Nakkina <hemanth.nakkina@canonical.com>
Thanks for the review. Description updated |
The secrets are maintained as part of environment promotion and hence add the same in the github workflow. Signed-off-by: Hemanth Nakkina <hemanth.nakkina@canonical.com>
|
Can we get an example of I'd like to see exactly what's promoted. I'm interested to see if we have resource revisions in this manifest |
I dont have those results for this run But there is one in PR #9 description |
And we do not have resource revisions. I do not think we require resource revisions in this file because any resource revision change, we should always update the charm revision during publish. |
|
Ok; thanks. then it's alright for this PR.
What about SRU and bug fixes that are package only? We need to test with a charm,but do we need to publish a new charm revision for that? We don't do the same for snaps updates |
For package fixes
|
no, not for SRU and CVE that needs fast publishing. Let's discuss that on the later sync |
Currently sunbeam-release is triggered on local machines. Instead add a workflow that can be triggered to promote sunbeam snaps/charms.
QA steps:
Links:
Jira card: OPEN-4773