Closed agileshaw closed 1 year ago
The added workflow will not be triggered until https://github.com/canonical/bootstack-actions/pull/25 is merged and changes are pushed to a triggering branch. Here is a test workflow run using the forked bootstack-action to show workflow's correct behavior https://github.com/agileshaw/prometheus-juju-exporter/actions/runs/5009599762. The snap was successfully released to the 2.8/edge
channel as expected.
This PR adds snap release workflow. It calls the
snap-release.yaml
reusable workflow in bootstack-actions to build the snap and release it to a proper channel in Snap Store. The workflow will be triggered when changes are pushed to either the default branch (master
ormain
) or a versioned branch (e.g.2.9
).Additionally, this PR updates the README file to include channel selection information and strategy.
The workflow should not be merged until https://github.com/canonical/bootstack-actions/pull/25 lands in its main branch. Upon approval, this workflow should be added to the bootstack-charms-spec repo.
relates to: https://github.com/canonical/prometheus-juju-exporter/issues/51