Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
topics:docker-install-gitlab-ci-runner [2017/04/09 16:34] orzfly |
topics:docker-install-gitlab-ci-runner [2017/04/09 16:39] 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 52: | Line 53: | ||
] | ] | ||
</ | </ | ||
+ | * 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 92: | Line 124: | ||
* Self-signed SSL? | * Self-signed SSL? | ||
* https:// | * https:// | ||
- | * Mount your certificate file at ''/ | + | * Mount your certificate file at ''/ |
* Do NOT stop runners if it has started any VMs! Just wait until all VMs terminated. If you do... | * 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/ | - Terminate all machines on your own at DigitalOcean/ | ||
Line 104: | Line 136: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
{{tag> | {{tag> |