Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
topics:docker-install-gitlab-ci-runner [2017/04/09 16:18] orzfly |
topics:docker-install-gitlab-ci-runner [2017/04/09 17:09] (current) orzfly |
||
|---|---|---|---|
| Line 10: | Line 10: | ||
| EXAMPLE # find at https:// | EXAMPLE # find at https:// | ||
| Please enter the gitlab-ci description for this runner: | Please enter the gitlab-ci description for this runner: | ||
| - | [EXAMPLE00000]: | + | [EXAMPLE00000]: |
| Please enter the gitlab-ci tags for this runner (comma separated): | Please enter the gitlab-ci tags for this runner (comma separated): | ||
| - | digitalocean, | + | EXAMPLE,digitalocean, |
| Whether to run untagged builds [true/ | Whether to run untagged builds [true/ | ||
| [false]: true | [false]: true | ||
| Line 22: | Line 22: | ||
| Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded! | Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded! | ||
| </ | </ | ||
| - | - Create ''/ | + | - Create ''/ |
| + | * DigitalOcean: | ||
| concurrent = 5 | concurrent = 5 | ||
| Line 30: | Line 31: | ||
| token = " | token = " | ||
| executor = " | executor = " | ||
| + | environment = [" | ||
| [runners.docker] | [runners.docker] | ||
| image = " | image = " | ||
| Line 51: | Line 53: | ||
| ] | ] | ||
| </ | </ | ||
| + | * List all images: <code shell-session> | ||
| + | * AWS EC2: <code toml / | ||
| + | concurrent = 5 | ||
| + | |||
| + | [[runners]] | ||
| + | name = " | ||
| + | url = " | ||
| + | token = " | ||
| + | executor = " | ||
| + | environment = [" | ||
| + | [runners.docker] | ||
| + | image = " | ||
| + | tls_verify = false | ||
| + | privileged = true | ||
| + | disable_cache = true | ||
| + | [runners.cache] | ||
| + | Insecure = false | ||
| + | [runners.machine] | ||
| + | IdleCount = 0 | ||
| + | IdleTime = 1200 | ||
| + | MachineDriver = " | ||
| + | MachineName = " | ||
| + | MachineOptions = [ | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | </ | ||
| + | * AWS AMI is only available per region! https:// | ||
| - Save systemd configuration< | - Save systemd configuration< | ||
| [Unit] | [Unit] | ||
| Line 83: | Line 117: | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | * Runner v9.0+ requires GitLab v9.0+: | + | * Version |
| + | * https:// | ||
| + | * Runner v9.0+ requires GitLab v9.0 | ||
| * Runner v1.11.x supports GitLab v8.16.x ~ v9.5.x | * Runner v1.11.x supports GitLab v8.16.x ~ v9.5.x | ||
| + | * Private Docker Registry? Add '' | ||
| + | * https:// | ||
| + | * Self-signed SSL? | ||
| + | * https:// | ||
| + | * Mount your certificate file at ''/ | ||
| + | * Do NOT stop runners if it has started any VMs! Just wait until all VMs terminated. If you do... | ||
| + | - Terminate all machines on your own at DigitalOcean/ | ||
| + | - Remove all folders in ''/ | ||
| ===== See Alsos ===== | ===== See Alsos ===== | ||
| Line 90: | Line 134: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| {{tag> | {{tag> | ||