From 72ed62bb2b31903448ce07c049d24c49fb05d254 Mon Sep 17 00:00:00 2001 From: "semantic-releaser[bot]" <79761287+semantic-releaser[bot]@users.noreply.github.com> Date: Sat, 14 Jan 2023 00:36:16 +0100 Subject: [PATCH] chore(main): release 5.9.0 (#658) * chore(main): release 5.9.0 Signed-off-by: Niek Palm * docs: auto update terraform docs Signed-off-by: Niek Palm Co-authored-by: semantic-releaser[bot] <79761287+semantic-releaser[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] --- CHANGELOG.md | 8 ++++++++ README.md | 8 +++++--- examples/runner-default/README.md | 20 ++++++++++---------- examples/runner-docker/README.md | 14 +++++++------- examples/runner-multi-region/README.md | 14 +++++++------- examples/runner-pre-registered/README.md | 14 +++++++------- examples/runner-public/README.md | 18 +++++++++--------- 7 files changed, 53 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbf40a2e8..545ef0d83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [5.9.0](https://github.com/npalm/terraform-aws-gitlab-runner/compare/5.8.1...5.9.0) (2023-01-12) + + +### Features + +* add `amazonec2 userdata` for docker machines ([#608](https://github.com/npalm/terraform-aws-gitlab-runner/issues/608)) ([be789ff](https://github.com/npalm/terraform-aws-gitlab-runner/commit/be789ff6475d5c1a9ae2309c6fee678e1d20914a)) +* suppress default tags from module ([#651](https://github.com/npalm/terraform-aws-gitlab-runner/issues/651)) ([0021915](https://github.com/npalm/terraform-aws-gitlab-runner/commit/002191506e1d34688856056856aeb853a5ec997c)) + ## [5.8.1](https://github.com/npalm/terraform-aws-gitlab-runner/compare/5.8.0...5.8.1) (2023-01-10) diff --git a/README.md b/README.md index 89f955624..5e3cf393b 100644 --- a/README.md +++ b/README.md @@ -366,13 +366,13 @@ Made with [contributors-img](https://contrib.rocks). | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1 | -| [aws](#requirement\_aws) | ~> 4 | +| [aws](#requirement\_aws) | >= 4 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 4 | +| [aws](#provider\_aws) | 4.49.0 | ## Modules @@ -424,7 +424,7 @@ Made with [contributors-img](https://contrib.rocks). | [aws_security_group_rule.runner_ping_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) | resource | | [aws_ssm_parameter.runner_registration_token](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource | | [aws_ssm_parameter.runner_sentry_dsn](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource | -| [aws_ami.docker_machine](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | +| [aws_ami.docker-machine](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | | [aws_ami.runner](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | | [aws_availability_zone.runners](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zone) | data source | | [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source | @@ -551,6 +551,7 @@ Made with [contributors-img](https://contrib.rocks). | [runners\_shm\_size](#input\_runners\_shm\_size) | shm\_size for the runners, will be used in the runner config.toml | `number` | `0` | no | | [runners\_token](#input\_runners\_token) | Token for the runner, will be used in the runner config.toml. | `string` | `"__REPLACED_BY_USER_DATA__"` | no | | [runners\_use\_private\_address](#input\_runners\_use\_private\_address) | Restrict runners to the use of a private IP address. If `runner_agent_uses_private_address` is set to `true`(default), `runners_use_private_address` will also apply for the agent. | `bool` | `true` | no | +| [runners\_userdata](#input\_runners\_userdata) | Cloud-init user data that will be passed to the runner ec2 instance. Available only for `docker+machine` driver. Should not be base64 encrypted. | `string` | `""` | no | | [runners\_volume\_type](#input\_runners\_volume\_type) | Runner instance volume type | `string` | `"gp2"` | no | | [runners\_volumes\_tmpfs](#input\_runners\_volumes\_tmpfs) | Mount a tmpfs in runner container. https://docs.gitlab.com/runner/executors/docker.html#mounting-a-directory-in-ram |
list(object({
volume = string
options = string
}))
| `[]` | no | | [schedule\_config](#input\_schedule\_config) | Map containing the configuration of the ASG scale-out and scale-in for the runner instance. Will only be used if enable\_schedule is set to true. | `map(any)` |
{
"scale_in_count": 0,
"scale_in_recurrence": "0 18 * * 1-5",
"scale_out_count": 1,
"scale_out_recurrence": "0 8 * * 1-5"
}
| no | @@ -560,6 +561,7 @@ Made with [contributors-img](https://contrib.rocks). | [subnet\_id](#input\_subnet\_id) | Subnet id used for the runner and executors. Must belong to the VPC specified above. | `string` | `""` | no | | [subnet\_id\_runners](#input\_subnet\_id\_runners) | Deprecated! Use subnet\_id instead. List of subnets used for hosting the gitlab-runners. | `string` | `""` | no | | [subnet\_ids\_gitlab\_runner](#input\_subnet\_ids\_gitlab\_runner) | Deprecated! Use subnet\_id instead. Subnet used for hosting the GitLab runner. | `list(string)` | `[]` | no | +| [suppressed\_tags](#input\_suppressed\_tags) | List of tag keys which are removed from tags, agent\_tags and runner\_tags and never added as default tag by the module. | `list(string)` | `[]` | no | | [tags](#input\_tags) | Map of tags that will be added to created resources. By default resources will be tagged with name and environment. | `map(string)` | `{}` | no | | [userdata\_post\_install](#input\_userdata\_post\_install) | User-data script snippet to insert after GitLab runner install | `string` | `""` | no | | [userdata\_pre\_install](#input\_userdata\_pre\_install) | User-data script snippet to insert before GitLab runner install | `string` | `""` | no | diff --git a/examples/runner-default/README.md b/examples/runner-default/README.md index e9e911eab..87b4516ac 100644 --- a/examples/runner-default/README.md +++ b/examples/runner-default/README.md @@ -45,18 +45,18 @@ No output. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1 | -| [aws](#requirement\_aws) | ~> 4.7 | -| [local](#requirement\_local) | ~> 2 | -| [null](#requirement\_null) | ~> 3.0 | -| [random](#requirement\_random) | ~> 3.0 | -| [tls](#requirement\_tls) | ~> 3 | +| [aws](#requirement\_aws) | 4.49.0 | +| [local](#requirement\_local) | 2.2.3 | +| [null](#requirement\_null) | 3.2.1 | +| [random](#requirement\_random) | 3.4.3 | +| [tls](#requirement\_tls) | 4.0.4 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 4.7 | -| [null](#provider\_null) | ~> 3.0 | +| [aws](#provider\_aws) | 4.49.0 | +| [null](#provider\_null) | 3.2.1 | ## Modules @@ -70,9 +70,9 @@ No output. | Name | Type | |------|------| -| [null_resource.cancel_spot_requests](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource | -| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source | -| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/security_group) | data source | +| [null_resource.cancel_spot_requests](https://registry.terraform.io/providers/hashicorp/null/3.2.1/docs/resources/resource) | resource | +| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.49.0/docs/data-sources/availability_zones) | data source | +| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/4.49.0/docs/data-sources/security_group) | data source | ## Inputs diff --git a/examples/runner-docker/README.md b/examples/runner-docker/README.md index 02dc3aed3..6f5c506d8 100644 --- a/examples/runner-docker/README.md +++ b/examples/runner-docker/README.md @@ -47,17 +47,17 @@ No output. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1 | -| [aws](#requirement\_aws) | ~> 4.7 | -| [local](#requirement\_local) | ~> 2 | -| [null](#requirement\_null) | ~> 3.0 | -| [random](#requirement\_random) | ~> 3.0 | -| [tls](#requirement\_tls) | ~> 3 | +| [aws](#requirement\_aws) | 4.49.0 | +| [local](#requirement\_local) | 2.2.3 | +| [null](#requirement\_null) | 3.2.1 | +| [random](#requirement\_random) | 3.4.3 | +| [tls](#requirement\_tls) | 4.0.4 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 4.7 | +| [aws](#provider\_aws) | 4.49.0 | ## Modules @@ -71,7 +71,7 @@ No output. | Name | Type | |------|------| -| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source | +| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.49.0/docs/data-sources/availability_zones) | data source | ## Inputs diff --git a/examples/runner-multi-region/README.md b/examples/runner-multi-region/README.md index 9a22a674f..9395c05ac 100644 --- a/examples/runner-multi-region/README.md +++ b/examples/runner-multi-region/README.md @@ -89,17 +89,17 @@ No output. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1 | -| [aws](#requirement\_aws) | ~> 4.7 | -| [local](#requirement\_local) | ~> 2 | -| [null](#requirement\_null) | ~> 3.0 | -| [random](#requirement\_random) | ~> 3.0 | -| [tls](#requirement\_tls) | ~> 3 | +| [aws](#requirement\_aws) | 4.49.0 | +| [local](#requirement\_local) | 2.2.3 | +| [null](#requirement\_null) | 3.2.1 | +| [random](#requirement\_random) | 3.4.3 | +| [tls](#requirement\_tls) | 4.0.4 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 4.7 | +| [aws](#provider\_aws) | 4.49.0 | ## Modules @@ -114,7 +114,7 @@ No output. | Name | Type | |------|------| -| [aws_availability_zones.available_main_region](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source | +| [aws_availability_zones.available_main_region](https://registry.terraform.io/providers/hashicorp/aws/4.49.0/docs/data-sources/availability_zones) | data source | ## Inputs diff --git a/examples/runner-pre-registered/README.md b/examples/runner-pre-registered/README.md index af5176a8c..380e17fa8 100644 --- a/examples/runner-pre-registered/README.md +++ b/examples/runner-pre-registered/README.md @@ -33,17 +33,17 @@ No output. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1 | -| [aws](#requirement\_aws) | ~> 4.7 | -| [local](#requirement\_local) | ~> 2 | -| [null](#requirement\_null) | ~> 3.0 | -| [random](#requirement\_random) | ~> 3.0 | -| [tls](#requirement\_tls) | ~> 3 | +| [aws](#requirement\_aws) | 4.49.0 | +| [local](#requirement\_local) | 2.2.3 | +| [null](#requirement\_null) | 3.2.1 | +| [random](#requirement\_random) | 3.4.3 | +| [tls](#requirement\_tls) | 4.0.4 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 4.7 | +| [aws](#provider\_aws) | 4.49.0 | ## Modules @@ -56,7 +56,7 @@ No output. | Name | Type | |------|------| -| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source | +| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.49.0/docs/data-sources/availability_zones) | data source | ## Inputs diff --git a/examples/runner-public/README.md b/examples/runner-public/README.md index 7498a5387..846bd876d 100644 --- a/examples/runner-public/README.md +++ b/examples/runner-public/README.md @@ -46,18 +46,18 @@ No output. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1 | -| [aws](#requirement\_aws) | ~> 4.7 | -| [local](#requirement\_local) | ~> 2 | -| [null](#requirement\_null) | ~> 3.0 | -| [random](#requirement\_random) | ~> 3.0 | -| [tls](#requirement\_tls) | ~> 3 | +| [aws](#requirement\_aws) | 4.49.0 | +| [local](#requirement\_local) | 2.2.3 | +| [null](#requirement\_null) | 3.2.1 | +| [random](#requirement\_random) | 3.4.3 | +| [tls](#requirement\_tls) | 4.0.4 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 4.7 | -| [null](#provider\_null) | ~> 3.0 | +| [aws](#provider\_aws) | 4.49.0 | +| [null](#provider\_null) | 3.2.1 | ## Modules @@ -72,8 +72,8 @@ No output. | Name | Type | |------|------| -| [null_resource.cancel_spot_requests](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource | -| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source | +| [null_resource.cancel_spot_requests](https://registry.terraform.io/providers/hashicorp/null/3.2.1/docs/resources/resource) | resource | +| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.49.0/docs/data-sources/availability_zones) | data source | ## Inputs