Skip to content

Commit a6a2caf

Browse files
chore(main): release 7.7.0 (#1132)
🤖 I have created a release *beep* *boop* --- ## [7.7.0](7.6.1...7.7.0) (2024-05-29) ### Features * implement graceful shutdown of GitLab Runner ([#1117](#1117)) ([d2e2224](d2e2224)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: cattle-ops-releaser-2[bot] <134548870+cattle-ops-releaser-2[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 16c5e27 commit a6a2caf

File tree

9 files changed

+34
-25
lines changed

9 files changed

+34
-25
lines changed

.github/.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "7.6.1"
2+
".": "7.7.0"
33
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [7.7.0](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/7.6.1...7.7.0) (2024-05-29)
4+
5+
6+
### Features
7+
8+
* implement graceful shutdown of GitLab Runner ([#1117](https://github.com/cattle-ops/terraform-aws-gitlab-runner/issues/1117)) ([d2e2224](https://github.com/cattle-ops/terraform-aws-gitlab-runner/commit/d2e22249bb5e68f98309012f2ccd58741657eff9))
9+
310
## [7.6.1](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/7.6.0...7.6.1) (2024-05-10)
411

512

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
7777
| Name | Version |
7878
|------|---------|
7979
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
80-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.11 |
80+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.26 |
8181
| <a name="requirement_local"></a> [local](#requirement\_local) | >= 2.4.0 |
8282
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | >= 3 |
8383

8484
## Providers
8585

8686
| Name | Version |
8787
|------|---------|
88-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.48.0 |
88+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.51.1 |
8989
| <a name="provider_local"></a> [local](#provider\_local) | 2.5.1 |
9090
| <a name="provider_tls"></a> [tls](#provider\_tls) | 4.0.5 |
9191

@@ -101,6 +101,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
101101
| Name | Type |
102102
|------|------|
103103
| [aws_autoscaling_group.gitlab_runner_instance](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group) | resource |
104+
| [aws_autoscaling_lifecycle_hook.wait_for_gitlab_runner](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_lifecycle_hook) | resource |
104105
| [aws_autoscaling_schedule.scale_in](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_schedule) | resource |
105106
| [aws_autoscaling_schedule.scale_out](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_schedule) | resource |
106107
| [aws_cloudwatch_log_group.environment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_log_group) | resource |
@@ -186,6 +187,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
186187
| <a name="input_runner_schedule_enable"></a> [runner\_schedule\_enable](#input\_runner\_schedule\_enable) | Set to `true` to enable the auto scaling group schedule for the Runner. | `bool` | `false` | no |
187188
| <a name="input_runner_sentry_secure_parameter_store_name"></a> [runner\_sentry\_secure\_parameter\_store\_name](#input\_runner\_sentry\_secure\_parameter\_store\_name) | The Sentry DSN name used to store the Sentry DSN in Secure Parameter Store | `string` | `"sentry-dsn"` | no |
188189
| <a name="input_runner_terminate_ec2_lifecycle_hook_name"></a> [runner\_terminate\_ec2\_lifecycle\_hook\_name](#input\_runner\_terminate\_ec2\_lifecycle\_hook\_name) | Specifies a custom name for the ASG terminate lifecycle hook and related resources. | `string` | `null` | no |
190+
| <a name="input_runner_terminate_ec2_lifecycle_timeout_duration"></a> [runner\_terminate\_ec2\_lifecycle\_timeout\_duration](#input\_runner\_terminate\_ec2\_lifecycle\_timeout\_duration) | Amount of time in seconds to wait for GitLab Runner to finish picked up jobs. Defaults to the `maximum_timeout` configured + `5m`. Maximum allowed is `7200` (2 hours) | `number` | `null` | no |
189191
| <a name="input_runner_terraform_timeout_delete_asg"></a> [runner\_terraform\_timeout\_delete\_asg](#input\_runner\_terraform\_timeout\_delete\_asg) | Timeout when trying to delete the Runner ASG. | `string` | `"10m"` | no |
190192
| <a name="input_runner_worker"></a> [runner\_worker](#input\_runner\_worker) | For detailed information, check https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runners-section.<br><br>environment\_variables = List of environment variables to add to the Runner Worker (environment).<br>max\_jobs = Number of jobs which can be processed in parallel by the Runner Worker.<br>output\_limit = Sets the maximum build log size in kilobytes. Default is 4MB (output\_limit).<br>request\_concurrency = Limit number of concurrent requests for new jobs from GitLab (default 1) (request\_concurrency).<br>ssm\_access = Allows to connect to the Runner Worker via SSM.<br>type = The Runner Worker type to use. Currently supports `docker+machine` or `docker`. | <pre>object({<br> environment_variables = optional(list(string), [])<br> max_jobs = optional(number, 0)<br> output_limit = optional(number, 4096)<br> request_concurrency = optional(number, 1)<br> ssm_access = optional(bool, false)<br> type = optional(string, "docker+machine")<br> })</pre> | `{}` | no |
191193
| <a name="input_runner_worker_cache"></a> [runner\_worker\_cache](#input\_runner\_worker\_cache) | Configuration to control the creation of the cache bucket. By default the bucket will be created and used as shared<br>cache. To use the same cache across multiple Runner Worker disable the creation of the cache and provide a policy and<br>bucket name. See the public runner example for more details."<br><br>For detailed documentation check https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnerscaches3-section<br><br>access\_log\_bucker\_id = The ID of the bucket where the access logs are stored.<br>access\_log\_bucket\_prefix = The bucket prefix for the access logs.<br>authentication\_type = A string that declares the AuthenticationType for [runners.cache.s3]. Can either be 'iam' or 'credentials'<br>bucket = Name of the cache bucket. Requires `create = false`.<br>bucket\_prefix = Prefix for s3 cache bucket name. Requires `create = true`.<br>create = Boolean used to enable or disable the creation of the cache bucket.<br>create\_aws\_s3\_bucket\_public\_access\_block = Boolean used to enable or disable the creation of the public access block for the cache bucket. Useful when organizations do not allow the creation of public access blocks on individual buckets (e.g. public access is blocked on all buckets at the organization level).<br>expiration\_days = Number of days before cache objects expire. Requires `create = true`.<br>include\_account\_id = Boolean used to include the account id in the cache bucket name. Requires `create = true`.<br>policy = Policy to use for the cache bucket. Requires `create = false`.<br>random\_suffix = Boolean used to enable or disable the use of a random string suffix on the cache bucket name. Requires `create = true`.<br>shared = Boolean used to enable or disable the use of the cache bucket as shared cache.<br>versioning = Boolean used to enable versioning on the cache bucket. Requires `create = true`. | <pre>object({<br> access_log_bucket_id = optional(string, null)<br> access_log_bucket_prefix = optional(string, null)<br> authentication_type = optional(string, "iam")<br> bucket = optional(string, "")<br> bucket_prefix = optional(string, "")<br> create = optional(bool, true)<br> create_aws_s3_bucket_public_access_block = optional(bool, true)<br> expiration_days = optional(number, 1)<br> include_account_id = optional(bool, true)<br> policy = optional(string, "")<br> random_suffix = optional(bool, false)<br> shared = optional(bool, false)<br> versioning = optional(bool, false)<br> })</pre> | `{}` | no |

examples/runner-certificates/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,17 +139,17 @@ For **user images**, you must:
139139
| Name | Version |
140140
|------|---------|
141141
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
142-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.48.0 |
142+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.51.1 |
143143
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
144144
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
145-
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.1 |
145+
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.2 |
146146
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
147147
148148
## Providers
149149
150150
| Name | Version |
151151
|------|---------|
152-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.48.0 |
152+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.51.1 |
153153
154154
## Modules
155155
@@ -163,7 +163,7 @@ For **user images**, you must:
163163
164164
| Name | Type |
165165
|------|------|
166-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.48.0/docs/data-sources/availability_zones) | data source |
166+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.51.1/docs/data-sources/availability_zones) | data source |
167167
168168
## Inputs
169169

examples/runner-default/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ check `.terraform-version` for the tested version.
3333
| Name | Version |
3434
|------|---------|
3535
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
36-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.48.0 |
36+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.51.1 |
3737
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
3838
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
39-
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.1 |
39+
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.2 |
4040
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
4141

4242
## Providers
4343

4444
| Name | Version |
4545
|------|---------|
46-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.48.0 |
46+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.51.1 |
4747

4848
## Modules
4949

@@ -57,8 +57,8 @@ check `.terraform-version` for the tested version.
5757

5858
| Name | Type |
5959
|------|------|
60-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.48.0/docs/data-sources/availability_zones) | data source |
61-
| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/5.48.0/docs/data-sources/security_group) | data source |
60+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.51.1/docs/data-sources/availability_zones) | data source |
61+
| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/5.51.1/docs/data-sources/security_group) | data source |
6262

6363
## Inputs
6464

examples/runner-docker/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ check `.terraform-version` for the tested version.
3636
| Name | Version |
3737
|------|---------|
3838
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
39-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.48.0 |
39+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.51.1 |
4040
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
4141
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
42-
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.1 |
42+
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.2 |
4343
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
4444

4545
## Providers
4646

4747
| Name | Version |
4848
|------|---------|
49-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.48.0 |
49+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.51.1 |
5050

5151
## Modules
5252

@@ -60,7 +60,7 @@ check `.terraform-version` for the tested version.
6060

6161
| Name | Type |
6262
|------|------|
63-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.48.0/docs/data-sources/availability_zones) | data source |
63+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.51.1/docs/data-sources/availability_zones) | data source |
6464

6565
## Inputs
6666

examples/runner-pre-registered/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ check `.terraform-version` for the tested version.
1919
| Name | Version |
2020
|------|---------|
2121
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
22-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.48.0 |
22+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.51.1 |
2323
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
2424
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
25-
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.1 |
25+
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.2 |
2626
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
2727

2828
## Providers
2929

3030
| Name | Version |
3131
|------|---------|
32-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.48.0 |
32+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.51.1 |
3333

3434
## Modules
3535

@@ -43,7 +43,7 @@ check `.terraform-version` for the tested version.
4343

4444
| Name | Type |
4545
|------|------|
46-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.48.0/docs/data-sources/availability_zones) | data source |
46+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.51.1/docs/data-sources/availability_zones) | data source |
4747

4848
## Inputs
4949

examples/runner-public/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ check `.terraform-version` for the tested version.
3030
| Name | Version |
3131
|------|---------|
3232
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
33-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.48.0 |
33+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.51.1 |
3434
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
3535
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
36-
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.1 |
36+
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.2 |
3737
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
3838

3939
## Providers
4040

4141
| Name | Version |
4242
|------|---------|
43-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.48.0 |
43+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.51.1 |
4444

4545
## Modules
4646

@@ -55,7 +55,7 @@ check `.terraform-version` for the tested version.
5555

5656
| Name | Type |
5757
|------|------|
58-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.48.0/docs/data-sources/availability_zones) | data source |
58+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.51.1/docs/data-sources/availability_zones) | data source |
5959

6060
## Inputs
6161

modules/terminate-agent-hook/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ No modules.
162162
| Name | Description | Type | Default | Required |
163163
|------|-------------|------|---------|:--------:|
164164
| <a name="input_asg_arn"></a> [asg\_arn](#input\_asg\_arn) | The ARN of the Auto Scaling Group to attach to. | `string` | n/a | yes |
165-
| <a name="input_asg_hook_terminating_heartbeat_timeout"></a> [asg\_hook\_terminating\_heartbeat\_timeout](#input\_asg\_hook\_terminating\_heartbeat\_timeout) | Duration the ASG should stay in the Terminating:Wait state. | `number` | `30` | no |
165+
| <a name="input_asg_hook_terminating_heartbeat_timeout"></a> [asg\_hook\_terminating\_heartbeat\_timeout](#input\_asg\_hook\_terminating\_heartbeat\_timeout) | Duration in seconds the ASG should stay in the Terminating:Wait state. | `number` | `30` | no |
166166
| <a name="input_asg_name"></a> [asg\_name](#input\_asg\_name) | The name of the Auto Scaling Group to attach to. The 'environment' will be prefixed to this. | `string` | n/a | yes |
167167
| <a name="input_cloudwatch_logging_retention_in_days"></a> [cloudwatch\_logging\_retention\_in\_days](#input\_cloudwatch\_logging\_retention\_in\_days) | The number of days to retain logs in CloudWatch. | `number` | `30` | no |
168168
| <a name="input_enable_xray_tracing"></a> [enable\_xray\_tracing](#input\_enable\_xray\_tracing) | Enables X-Ray for debugging and analysis | `bool` | `false` | no |

0 commit comments

Comments
 (0)