Skip to content

Commit

Permalink
Merge branch 'main' into 4k-sector-follow-up
Browse files Browse the repository at this point in the history
  • Loading branch information
jawn-smith authored Feb 18, 2022
2 parents bf13cd7 + ffb0d2b commit 8dab398
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/jessevdk/go-flags v1.5.0
github.com/mvo5/goconfigparser v0.0.0-20201015074339-50f22f44deb5 // indirect
github.com/snapcore/go-gettext v0.0.0-20201130093759-38740d1bd3d2 // indirect
github.com/snapcore/snapd v0.0.0-20220125081029-923d01412498
github.com/snapcore/snapd v0.0.0-20220207153948-05eadd8176a7
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 // indirect
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 // indirect
gopkg.in/macaroon.v1 v1.0.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ github.com/snapcore/go-gettext v0.0.0-20201130093759-38740d1bd3d2/go.mod h1:D3Ss
github.com/snapcore/secboot v0.0.0-20211018143212-802bb19ca263 h1:cq2rG4JcNBCwHvo7iNdJL4nb8Ns7L/aOUd1EFs2toFs=
github.com/snapcore/secboot v0.0.0-20211018143212-802bb19ca263/go.mod h1:72paVOkm4sJugXt+v9ItmnjXgO921D8xqsbH2OekouY=
github.com/snapcore/snapd v0.0.0-20201005140838-501d14ac146e/go.mod h1:3xrn7QDDKymcE5VO2rgWEQ5ZAUGb9htfwlXnoel6Io8=
github.com/snapcore/snapd v0.0.0-20220125081029-923d01412498 h1:wWF5iMNblzZfEk5tzVeTMzArHiq88wNSlL0r2wclGjo=
github.com/snapcore/snapd v0.0.0-20220125081029-923d01412498/go.mod h1:Ypuk/H7dwlEFWXBJBhq8PFDwZxcyN5bfxNAAMBRPaDI=
github.com/snapcore/snapd v0.0.0-20220207153948-05eadd8176a7 h1:Q3UbFJgfIdFAIY0Gq/3/Dk50ec6jHL+CUxjd4HldJP4=
github.com/snapcore/snapd v0.0.0-20220207153948-05eadd8176a7/go.mod h1:Ypuk/H7dwlEFWXBJBhq8PFDwZxcyN5bfxNAAMBRPaDI=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8=
Expand Down
2 changes: 1 addition & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ base: core20
# Force the snap to only use binaries staged with the snap
environment:
PATH: $SNAP/usr/local/sbin:$SNAP/usr/bin:$SNAP/bin:$SNAP/sbin:$SNAP/usr/local/bin:$SNAP/usr/sbin
FAKEROOT_LIB: $SNAP/usr/lib/lib-arch/libfakeroot/libfakeroot-tcp.so
FAKEROOT_FLAGS: "--lib $SNAP/usr/lib/lib-arch/libfakeroot/libfakeroot-tcp.so --faked $SNAP/usr/bin/faked-tcp"

apps:
ubuntu-image:
Expand Down
4 changes: 3 additions & 1 deletion spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ backends:
systems:
- ubuntu-18.04
- ubuntu-20.04
- ubuntu-22.04
#- ubuntu-22.04

path: /home/ubuntu-image

prepare: |
apt update
apt install -y snapd
snap install core20 --channel=latest/edge
snap install --classic snapcraft
unset SHELL
snapcraft --destructive-mode
snap install --classic --dangerous ubuntu-image_*.snap
Expand Down
2 changes: 2 additions & 0 deletions tests/basic/task.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
summary: Run ubuntu-image smoke test
execute: |
ubuntu-image --help | MATCH '^Usage:'
ubuntu-image snap /home/ubuntu-image/internal/statemachine/testdata/modelAssertion18
ubuntu-image snap /home/ubuntu-image/internal/statemachine/testdata/modelAssertion20

0 comments on commit 8dab398

Please sign in to comment.