Skip to content

Commit 6ef368b

Browse files
committed
fix: updated docker machine default url
resolves #308 #299
1 parent 95af32f commit 6ef368b

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ terraform destroy
305305
| cache\_expiration\_days | Number of days before cache objects expires. | `number` | `1` | no |
306306
| cache\_shared | Enables cache sharing between runners, false by default. | `bool` | `false` | no |
307307
| cloudwatch\_logging\_retention\_in\_days | Retention for cloudwatch logs. Defaults to unlimited | `number` | `0` | no |
308-
| docker\_machine\_download\_url | Full url pointing to a linux x64 distribution of docker machine. Once set `docker_machine_version` will be ingored. For example the GitLab version, https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.2/docker-machine. | `string` | `"https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.10/docker-machine-Linux-aarch64"` | no |
308+
| docker\_machine\_download\_url | Full url pointing to a linux x64 distribution of docker machine. Once set `docker_machine_version` will be ingored. For example the GitLab version, https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.2/docker-machine. | `string` | `"https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.2/docker-machine"` | no |
309309
| docker\_machine\_iam\_policy\_arns | List of policy ARNs to be added to the instance profile of the docker machine runners. | `list(string)` | `[]` | no |
310310
| docker\_machine\_instance\_type | Instance type used for the instances hosting docker-machine. | `string` | `"m5.large"` | no |
311311
| 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 |

examples/runner-default/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ module "runner" {
4444

4545
gitlab_runner_security_group_ids = [data.aws_security_group.default.id]
4646

47-
docker_machine_download_url = "https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.2/docker-machine"
4847
docker_machine_spot_price_bid = "0.06"
4948

5049
gitlab_runner_registration_config = {

main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "null_resource" "remove_runner" {
3838
}
3939

4040
locals {
41-
enable_asg_recreation = var.enable_forced_updates != null ? ! var.enable_forced_updates : var.enable_asg_recreation
41+
enable_asg_recreation = var.enable_forced_updates != null ? !var.enable_forced_updates : var.enable_asg_recreation
4242

4343
template_user_data = templatefile("${path.module}/template/user-data.tpl",
4444
{
@@ -124,7 +124,7 @@ locals {
124124
runners_root_size = var.runners_root_size
125125
runners_iam_instance_profile_name = var.runners_iam_instance_profile_name
126126
runners_use_private_address_only = var.runners_use_private_address
127-
runners_use_private_address = ! var.runners_use_private_address
127+
runners_use_private_address = !var.runners_use_private_address
128128
runners_request_spot_instance = var.runners_request_spot_instance
129129
runners_environment_vars = jsonencode(var.runners_environment_vars)
130130
runners_pre_build_script = var.runners_pre_build_script

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ variable "docker_machine_spot_price_bid" {
8686
variable "docker_machine_download_url" {
8787
description = "Full url pointing to a linux x64 distribution of docker machine. Once set `docker_machine_version` will be ingored. For example the GitLab version, https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.2/docker-machine."
8888
type = string
89-
default = "https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.10/docker-machine-Linux-aarch64"
89+
default = "https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.2/docker-machine"
9090
}
9191

9292
variable "docker_machine_version" {

0 commit comments

Comments
 (0)