Skip to content

snap publishing should use github actions #299

@achow101

Description

@achow101

Currently snap publishing uses Launchpad to build the snaps and then push them to the snap store. Unfortunately, the CI environment is different from Launchpad's build environments which can result in CI passing but the snaps failing to build on Launchpad, and noticing this only occurs once we try to publish a release. It seems that there is an action provided by Canonical that allows snaps to be published from a Github action. Given this, we could change the CI to use Github actions, and change the publishing workflow to also use Github actions. This would ensure that the CI uses the same process as releases so that PRs are properly tested.

Furthermore, the Launchpad UI is pretty awful and every time I try to use it to setup a new release, I get lost. Moving off of Launchpad should reduce the overhead.

If we were to do this, we should still preserve the behavior of requiring an explicit action to publish a snap, so the workflow that does that needs to be one that can only be triggered manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions