Use snapcraft in CI

In Ubuntu 20.04 snapcraft is now a snap instead of a deb package. Has anyone get snapcraft to work in GitLab CI?

snapd requires systemctl for init, so using snaps in a CI job won’t work with docker executor (default for

However, snaps can be installed and used in CI jobs if you use a Shell executor for gitlab-runner

Proof of concept CI job using shell runner on 20.04 to install snapd and nmap snap here:

Thank you, but I need it on without installing the runner on my local system. Have you a gitalb-ci.yaml example for