Support running autopkgtest before creating tags
2019.01 showed that there were gaps in our CI which are caught by the autopkgtest support, specifically related to testing of new dependencies and path changes.
Once #206 (closed) is merged, the full autopkgtest run should be made in GitLab. Currently, the release needs to be tested with a custom QEMU image handled by @codehelp . Instead, GitLab should start a DIND runner to:
- download the most recent docker image for lava-server (this will need to be a dependency)
- start this docker image in the background (
-d) with a pre-determined name
docker execinto the named, running, image
- run scripts inside the image to install autopkgtest
- download the most recent lava-server source package (this will also need to be a dependency)
autopkgtest <PATH> -- null`` with the path to the.dsc` of the source package.
Need to work out how much time this takes to run and whether to do this on every MR or only on master. It will need to be done before the
tag pipeline and before the git tag is pushed as part of any release.