Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ workflows:
jobs:
build:
docker:
- image: cibuilds/snapcraft:core18
- image: cibuilds/snapcraft:core20
steps:
- checkout
- run:
name: "Build Snap"
command: sudo apt-get update && snapcraft
command: snapcraft
- persist_to_workspace:
root: .
paths:
- "*.snap"

publish-snap:
docker:
- image: cibuilds/snapcraft:core18
- image: cibuilds/snapcraft:core20
steps:
- attach_workspace:
at: .
Expand Down
4 changes: 3 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ grade: stable
confinement: strict
icon: icon.png

base: core18
base: core20

parts:
linode-cli:
plugin: python
python-packages:
- linode-cli==$SNAPCRAFT_PROJECT_VERSION
stage-packages:
- python3

apps:
linode-cli:
Expand Down