Skip to content

Commit 662599d

Browse files
Fiona NeillEdward Hilgendorf
Fiona Neill
and
Edward Hilgendorf
committed
Merge branch 'ehilgendorf-cloud-provider' into 'main'
Provide examples and clarify how MachineOptions work for the MachineDriver See merge request https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/4768 Merged-by: Fiona Neill <fneill@gitlab.com> Approved-by: Fiona Neill <fneill@gitlab.com> Reviewed-by: Fiona Neill <fneill@gitlab.com> Co-authored-by: Edward Hilgendorf <ehilgendorf@gitlab.com>
2 parents 761ae5d + 9412dfe commit 662599d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/configuration/advanced-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,8 @@ The following parameters define the Docker Machine-based autoscaling feature. Fo
637637
| `OffPeakIdleTime` | Deprecated: Like `IdleTime`, but for _Off Peak_ time periods. |
638638
| `MaxBuilds` | Maximum job (build) count before machine is removed. |
639639
| `MachineName` | Name of the machine. It **must** contain `%s`, which is replaced with a unique machine identifier. |
640-
| `MachineDriver` | Docker Machine `driver`. View details in the [Docker Machine configuration section](autoscale.md#supported-cloud-providers). |
641-
| `MachineOptions` | Docker Machine options. View details in the [Docker Machine configuration section](autoscale.md#supported-cloud-providers). |
640+
| `MachineDriver` | Docker Machine `driver`. View details in the [Cloud Providers Section in the Docker Machine configuration](autoscale.md#supported-cloud-providers). |
641+
| `MachineOptions` | Docker Machine options for the MachineDriver. For more information, see [Supported Cloud Providers). For more information about all options for AWS, see the [AWS](https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/blob/main/docs/drivers/aws.md) and [GCP](https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/blob/main/docs/drivers/gce.md) projects in the Docker Machine repository. |
642642

643643
### The `[[runners.machine.autoscaling]]` sections
644644

docs/executors/docker_machine.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ installed in the same machine:
5555
- Read [GitLab Runner MachineOptions](../configuration/advanced-configuration.md#the-runnersmachine-section)
5656
1. The **first time** you're using Docker Machine, it is best to manually execute the
5757
`docker-machine create ...` command with your [Docker Machine Driver](https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/tree/main/drivers).
58-
Run this command alongside with the options that you intend to configure in the
59-
[GitLab Runner MachineOptions](../configuration/advanced-configuration.md#the-runnersmachine-section) section.
58+
Run this command with the options that you intend to configure in the
59+
[MachineOptions](../configuration/advanced-configuration.md#the-runnersmachine-section) under the `[runners.machine]` section.
6060
This will set up the Docker Machine environment properly and will also be a good
6161
validation of the specified options. After this, you can destroy the machine with
6262
`docker-machine rm [machine_name]` and start the runner.

0 commit comments

Comments
 (0)