GitLab Runner is installed directly on Ubuntu by default with the following command:

sudo  apt install gitlab-runner
Copy the code

Gitlab-runner -v docker Executor error:

 Gitlab CI Build failed gitlab-runner-prebuilt.tar.xz: no such file or directory
Copy the code

The reason for this problem is that the version of Gitlab-Runner is too low, the current latest version of Gitlab-Runner is :12.7.1 Solution: Upgrade gitlab-Runner to the latest version, upgrade package first:

# For Debian/Ubuntu/Mint
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash

# For RHEL/CentOS/Fedora
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash
Copy the code

You need to install curl first. Install the latest version of Gitlab-Runner:

apt update
apt upgrade  
# or
apt install gitlab-runner
Copy the code

To view the current version of Gitlab-Runner:

Git Branch: 12-7-Stable GO Version: go1.13.5 Built: Gitlab-Runner 2020-01-23T09:08:54+0000 OS/Arch: linux/amd64Copy the code


Matrixport is a one-stop digital asset financial services platform, committed to creating the next generation of digital financial platform, for the cryptographic economy