-
Set up an SSO account with two-factor authentication.
-
Run snapcraft logout
-
Run snapcraft login
-
Enter the email address.
-
Enter the password.
-
Enter the one-time password.
- Check that the log in was successful.
- 'snapcraft build' a simple snap
- sudo touch install/test-owner-file
- sudo chown nobody:nogroup install/test-owner-file
- sudo snapcraft prime
- ensure that prime/test-owner-file is owned by nobody and nogroup
snapcraft pull
a snap that hasparts
withstage-packages
.- Run
snapcraft clean
. - Verify there is cached apt data in
~/.cache/snapcraft/<hash>/
- Run
snapcraft pull
again and notice the download is minimal. - Wipe the cached apt data.
- Run
snapcraft pull
again and notice the download is as in1.
. - Run this test again, but run snapcraft on a partition separated from $HOME.
- Run
snapcraft cleanbuild --debug
for a snap. - Insert an error such that the code will fail to compile or
mistype the name of an entry in
stage-packages
. - Run
snapcraft cleanbuild --debug
again. - Ensure you are dropped into a debug shell.
- Exit the shell.
- Ensure you are dropped back into your original shell session.