Skip to content

initial snap support#1122

Merged
svenfuchs merged 3 commits into
travis-ci:masterfrom
cjp256:dpl
Oct 16, 2019
Merged

initial snap support#1122
svenfuchs merged 3 commits into
travis-ci:masterfrom
cjp256:dpl

Conversation

@cjp256
Copy link
Copy Markdown
Contributor

@cjp256 cjp256 commented Oct 15, 2019

Updates to fix and test snap deployment.

Before merging, this will require a handoff or collaborative access for:
(1) dee-pee-ell-test snap
(2) or sed -i 's|dee-pee-ell-test|dpl-test|g' to use dpl-test snap which I believe is owned by @svenfuchs.

SNAP_TOKEN may be generated using snapcraft with:
snapcraft export-login --acls package_upload --snaps <snap-name> --channels edge -

Chris Patterson added 3 commits October 15, 2019 19:41
`snapcraft login --with` assumes a file input unless using the
special argument '-' to read from stdin.

Echo the token to snapcraft using `snapcraft login --with -`.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
- Build test snap which just prints a string derived from ID.
- Deploy test snap to edge channel.
- Install test snap from snap store.
- Run installed snap, ensures output matches expected.

Note that LXD is required for snapcraft to build, and there
is some setup required for proper operation.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
@svenfuchs
Copy link
Copy Markdown
Contributor

awesome, thank you @cjp256! 🎉

i'm going to merge this. let's discuss handoff etc on Slack.

@svenfuchs svenfuchs merged commit 7a9cfdf into travis-ci:master Oct 16, 2019
@casperdcl casperdcl mentioned this pull request Jan 6, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants