Ubuntu18 registered GitLab Runner

System Ubuntu 18.4

gitlab version 11.11.0

1. Download gitlab-runner

apt-get install gitlab-runner

2. Register gitlab-runner

1. Open gitlab of Runner Page, see gitlab examples url and registration token

2. Start Registration

Run the following command:

gitlab-runner register

Enter GitLab example URL:

Enter the token:

Enter Runner description can be changed later in GitLab page:

Runner input associated with the label, you can change later in GitLab page:

Enter Runner execute the program:

If you choose to Docker as the execution of the program, you will be asked for the default image which is not defined in the project .gitlab-ci.yml:

  

 

Guess you like

Origin www.cnblogs.com/helios-fz/p/10951515.html