Add builds for Ubuntu 18.10
When running Ubuntu 18.10, gitlab-runner cannot be upgraded past the Ubuntu-provided version 10.8.0 as there are no GitLab-provided builds.
Steps to reproduce
- Set up a VM running Ubuntu 18.10.
- Follow the instructions at https://docs.gitlab.com/runner/install/linux-repository.html
apt-cache policy gitlab-runner
The candidate version is 10.8.0, provided from the Ubuntu repository.
The candidate version should be the current version of gitlab-runner, provided from the GitLab repository.
Relevant logs and/or screenshots
runner-vm# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.10 Release: 18.10 Codename: cosmic runner-vm# curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5945 0 5945 0 0 6251 0 --:--:-- --:--:-- --:--:-- 6251 Detected operating system as Ubuntu/cosmic. Checking for curl... Detected curl... Checking for gpg... Detected gpg... Running apt-get update... done. Installing apt-transport-https... done. Installing /etc/apt/sources.list.d/runner_gitlab-runner.list...done. Importing packagecloud gpg key... done. Running apt-get update... done. The repository is setup! You can now install packages. runner-vm# apt-cache policy gitlab-runner gitlab-runner: Installed: 10.8.0+dfsg-2 Candidate: 10.8.0+dfsg-2 Version table: *** 10.8.0+dfsg-2 500 500 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages 100 /var/lib/dpkg/status
This is a custom install on a local VM. The
config.toml is not relevant in this particular case, obviously.
Used GitLab Runner version
10.8.0, much as I would like it to be 12.0 or higher
Release builds for all current Ubuntu versions, not just old ones (after all, cosmic is version 18.10 — released in October 2018, and it is now July 2019).
At the very least, the installation instructions should have a prominent warning as to which versions actually have packages built for them, so that people do not waste time setting up a VM which can not receive updates to gitlab-runner from the repository. Similarly, if policy is only to build for LTS releases, that should be clearly stated.
It is possible to work around this by editing
/etc/apt/sources.list.d/runner_gitlab-runner.list after running the install script, running
apt-get update again, and then installing gitlab-runner, but this risks compatibility problems.