"/dummy-sys-class-dmi-id:/sys/class/dmi/id:ro"# Make kaniko builds work on GCP.
]
[runners.machine]
IdleCount=20
IdleTime=1800
IdleCount=50
IdleTime=3600
OffPeakPeriods=["* * * * * sat,sun *"]
OffPeakTimezone="UTC"
OffPeakIdleCount=5
OffPeakIdleTime=1800
MaxBuilds=1
OffPeakIdleCount=15
OffPeakIdleTime=3600
MaxBuilds=1# For security reasons we delete the VM after job has finished so it's not reused.
MachineName="srm-%s"
MachineDriver="google"
MachineOptions=[
...
...
@@ -202,17 +156,18 @@ sentry_dsn = "X"
"google-tags=gitlab-com,srm",
"google-use-internal-ip",
"google-zone=us-east1-d",
"engine-opt=mtu=1460",# Set MTU for container interface, for more information check https://gitlab.com/gitlab-org/gitlab-runner/issues/3214#note_82892928
"engine-opt=ipv6",# This will create IPv6 interfaces in the containers.
"engine-opt=fixed-cidr-v6=fc00::/7",
"google-operation-backoff-initial-interval=2"# Custom flag from forked docker-machine, for more information check https://github.com/docker/machine/pull/4600