You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Replace default GitLab version and fix for docker-machine download url. (#458)
* feat: Switch to GitLab's forked docker-machine version
Update the version-generated URL to use the GitLab fork of
docker-machine as the official one is dead and buried.
* fix: Default to a version instead of an explicit URL
GitLab has made the "generic" URLs which end in `/docker-machine`
inaccessible, so instead specify a version for docker-machine and use
the URL generation as that both produces URLs that work and should do
the right thing in most cases.
Fixes#457.
* fix: Update runner version to 14.8.2
Version 14.8.0 had a major regression and was removed from all release
distribution channels. Update to 14.8.2 as that's the latest 14.8.x
version.
Fixes#456
| <aname="input_cache_expiration_days"></a> [cache\_expiration\_days](#input\_cache\_expiration\_days)| Number of days before cache objects expires. |`number`|`1`| no |
394
394
| <aname="input_cache_shared"></a> [cache\_shared](#input\_cache\_shared)| Enables cache sharing between runners, false by default. |`bool`|`false`| no |
395
395
| <aname="input_cloudwatch_logging_retention_in_days"></a> [cloudwatch\_logging\_retention\_in\_days](#input\_cloudwatch\_logging\_retention\_in\_days)| Retention for cloudwatch logs. Defaults to unlimited |`number`|`0`| no |
396
-
| <aname="input_docker_machine_download_url"></a> [docker\_machine\_download\_url](#input\_docker\_machine\_download\_url)| Full url pointing to a linux x64 distribution of docker machine. Once set `docker_machine_version` will be ingored. See also https://docs.gitlab.com/runner/executors/docker_machine.html#install|`string`|`"https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.12/docker-machine"`| no |
396
+
| <aname="input_docker_machine_download_url"></a> [docker\_machine\_download\_url](#input\_docker\_machine\_download\_url)| Full url pointing to a linux x64 distribution of docker machine. Once set `docker_machine_version` will be ingored. See also https://docs.gitlab.com/runner/executors/docker_machine.html#install|`string`|`""`| no |
| <aname="input_docker_machine_iam_policy_arns"></a> [docker\_machine\_iam\_policy\_arns](#input\_docker\_machine\_iam\_policy\_arns)| List of policy ARNs to be added to the instance profile of the docker machine runners. |`list(string)`|`[]`| no |
399
399
| <aname="input_docker_machine_instance_type"></a> [docker\_machine\_instance\_type](#input\_docker\_machine\_instance\_type)| Instance type used for the instances hosting docker-machine. |`string`|`"m5.large"`| no |
400
400
| <aname="input_docker_machine_options"></a> [docker\_machine\_options](#input\_docker\_machine\_options)| List of additional options for the docker machine config. Each element of this list must be a key=value pair. E.g. '["amazonec2-zone=a"]' |`list(string)`|`[]`| no |
401
401
| <aname="input_docker_machine_role_json"></a> [docker\_machine\_role\_json](#input\_docker\_machine\_role\_json)| Docker machine runner instance override policy, expected to be in JSON format. |`string`|`""`| no |
402
402
| <aname="input_docker_machine_security_group_description"></a> [docker\_machine\_security\_group\_description](#input\_docker\_machine\_security\_group\_description)| A description for the docker-machine security group |`string`|`"A security group containing docker-machine instances"`| no |
403
403
| <aname="input_docker_machine_spot_price_bid"></a> [docker\_machine\_spot\_price\_bid](#input\_docker\_machine\_spot\_price\_bid)| Spot price bid. The maximum price willing to pay. By default the price is limited by the current on demand price for the instance type chosen. |`string`|`"on-demand-price"`| no |
404
-
| <aname="input_docker_machine_version"></a> [docker\_machine\_version](#input\_docker\_machine\_version)| By default docker\_machine\_download\_url is used to set the docker machine version. Version of docker-machine. The version will be ingored once `docker_machine_download_url` is set. |`string`|`""`| no |
404
+
| <aname="input_docker_machine_version"></a> [docker\_machine\_version](#input\_docker\_machine\_version)| By default docker\_machine\_download\_url is used to set the docker machine version. Version of docker-machine. The version will be ingored once `docker_machine_download_url` is set. |`string`|`"0.16.2-gitlab.12"`| no |
405
405
| <aname="input_enable_asg_recreation"></a> [enable\_asg\_recreation](#input\_enable\_asg\_recreation)| Enable automatic redeployment of the Runner ASG when the Launch Configs change. |`bool`|`true`| no |
406
406
| <aname="input_enable_cloudwatch_logging"></a> [enable\_cloudwatch\_logging](#input\_enable\_cloudwatch\_logging)| Boolean used to enable or disable the CloudWatch logging. |`bool`|`true`| no |
407
407
| <aname="input_enable_docker_machine_ssm_access"></a> [enable\_docker\_machine\_ssm\_access](#input\_enable\_docker\_machine\_ssm\_access)| Add IAM policies to the docker-machine instances to connect via the Session Manager. |`bool`|`false`| no |
@@ -418,7 +418,7 @@ terraform destroy
418
418
| <aname="input_gitlab_runner_registration_config"></a> [gitlab\_runner\_registration\_config](#input\_gitlab\_runner\_registration\_config)| Configuration used to register the runner. See the README for an example, or reference the examples in the examples directory of this repo. |`map(string)`| <pre>{<br> "access_level": "",<br> "description": "",<br> "locked_to_project": "",<br> "maximum_timeout": "",<br> "registration_token": "",<br> "run_untagged": "",<br> "tag_list": ""<br>}</pre> | no |
419
419
| <aname="input_gitlab_runner_security_group_description"></a> [gitlab\_runner\_security\_group\_description](#input\_gitlab\_runner\_security\_group\_description)| A description for the gitlab-runner security group |`string`|`"A security group containing gitlab-runner agent instances"`| no |
420
420
| <aname="input_gitlab_runner_security_group_ids"></a> [gitlab\_runner\_security\_group\_ids](#input\_gitlab\_runner\_security\_group\_ids)| A list of security group ids that are allowed to access the gitlab runner agent |`list(string)`|`[]`| no |
421
-
| <aname="input_gitlab_runner_version"></a> [gitlab\_runner\_version](#input\_gitlab\_runner\_version)| Version of the [GitLab runner](https://gitlab.com/gitlab-org/gitlab-runner/-/releases). |`string`|`"14.8.0"`| no |
421
+
| <aname="input_gitlab_runner_version"></a> [gitlab\_runner\_version](#input\_gitlab\_runner\_version)| Version of the [GitLab runner](https://gitlab.com/gitlab-org/gitlab-runner/-/releases). |`string`|`"14.8.2"`| no |
422
422
| <aname="input_instance_role_json"></a> [instance\_role\_json](#input\_instance\_role\_json)| Default runner instance override policy, expected to be in JSON format. |`string`|`""`| no |
423
423
| <aname="input_instance_type"></a> [instance\_type](#input\_instance\_type)| Instance type used for the GitLab runner. |`string`|`"t3.micro"`| no |
424
424
| <aname="input_kms_alias_name"></a> [kms\_alias\_name](#input\_kms\_alias\_name)| Alias added to the kms\_key (if created and not provided by kms\_key\_id) |`string`|`""`| no |
description="Full url pointing to a linux x64 distribution of docker machine. Once set `docker_machine_version` will be ingored. See also https://docs.gitlab.com/runner/executors/docker_machine.html#install"
description="By default docker_machine_download_url is used to set the docker machine version. Version of docker-machine. The version will be ingored once `docker_machine_download_url` is set."
96
96
type=string
97
-
default=""
97
+
default="0.16.2-gitlab.12"
98
98
}
99
99
100
100
variable"runners_name" {
@@ -361,7 +361,7 @@ variable "cache_shared" {
361
361
variable"gitlab_runner_version" {
362
362
description="Version of the [GitLab runner](https://gitlab.com/gitlab-org/gitlab-runner/-/releases)."
0 commit comments