canonical/charming-actions

Upload to charmhub branches for all cases, not just for git branches named `/branch/...`

Open

#13 opened on Jan 13, 2022

 (3 comments) (1 reaction) (0 assignees)TypeScript (28 forks)auto 404
Priority: MediumType: Enhancementgood first issue

Repository metrics

Stars
 (9 stars)
PR merge metrics
 (PR metrics pending)

Description

Rather than selectively uploading intermediate work to charmhub branches (eg: latest/edge/someBranch), we could upload all PR updates to charmhub. charmhub branches are ephemeral (ttl=30day) anyway so it won't make too much garbage, and this way we can easily test deployments.

There might be some logic that needs working through as we still need to know the destination track/channel that the branch should go to, but this could be the same as we currently use (if git branch is called /track/..., push to charmhub at /track/edge/branchName, else push to latest/edge/branchname)

Contributor guide