Skip to content

Commit

Permalink
chore(main): release 7.3.0 (#1069)
Browse files Browse the repository at this point in the history
🤖 I have created a release *beep* *boop*
---


##
[7.3.0](v7.2.3...v7.3.0)
(2024-01-29)


### Features

* support setting throughput and iops for ebs volumes
([#1063](#1063))
([796856a](796856a))

---
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>
  • Loading branch information
1 parent b492296 commit 85013f9
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 30 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [7.3.0](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/v7.2.3...v7.3.0) (2024-01-29)


### Features

* support setting throughput and iops for ebs volumes ([#1063](https://github.com/cattle-ops/terraform-aws-gitlab-runner/issues/1063)) ([796856a](https://github.com/cattle-ops/terraform-aws-gitlab-runner/commit/796856ade61947751b4efcd1123761250e17111a))

## [7.2.3](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/7.2.2...v7.2.3) (2023-12-21)


Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.31.0 |
| <a name="provider_local"></a> [local](#provider\_local) | 2.4.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.34.0 |
| <a name="provider_local"></a> [local](#provider\_local) | 2.4.1 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | 4.0.5 |

## Modules
Expand Down Expand Up @@ -181,7 +181,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
| <a name="input_runner_networking"></a> [runner\_networking](#input\_runner\_networking) | allow\_incoming\_ping = Allow ICMP Ping to the Runner. Specify `allow_incoming_ping_security_group_ids` too!<br>allow\_incoming\_ping\_security\_group\_ids = A list of security group ids that are allowed to ping the Runner.<br>security\_group\_description = A description for the Runner's security group<br>security\_group\_ids = IDs of security groups to add to the Runner. | <pre>object({<br> allow_incoming_ping = optional(bool, false)<br> allow_incoming_ping_security_group_ids = optional(list(string), [])<br> security_group_description = optional(string, "A security group containing gitlab-runner agent instances")<br> security_group_ids = optional(list(string), [])<br> })</pre> | `{}` | no |
| <a name="input_runner_networking_egress_rules"></a> [runner\_networking\_egress\_rules](#input\_runner\_networking\_egress\_rules) | List of egress rules for the Runner. | <pre>list(object({<br> cidr_blocks = list(string)<br> ipv6_cidr_blocks = list(string)<br> prefix_list_ids = list(string)<br> from_port = number<br> protocol = string<br> security_groups = list(string)<br> self = bool<br> to_port = number<br> description = string<br> }))</pre> | <pre>[<br> {<br> "cidr_blocks": [<br> "0.0.0.0/0"<br> ],<br> "description": null,<br> "from_port": 0,<br> "ipv6_cidr_blocks": [<br> "::/0"<br> ],<br> "prefix_list_ids": null,<br> "protocol": "-1",<br> "security_groups": null,<br> "self": null,<br> "to_port": 0<br> }<br>]</pre> | no |
| <a name="input_runner_role"></a> [runner\_role](#input\_runner\_role) | additional\_tags = Map of tags that will be added to the role created. Useful for tag based authorization.<br>allow\_iam\_service\_linked\_role\_creation = Boolean used to control attaching the policy to the Runner to create service linked roles.<br>assume\_role\_policy\_json = The assume role policy for the Runner.<br>create\_role\_profile = Whether to create the IAM role/profile for the Runner. If you provide your own role, make sure that it has the required permissions.<br>policy\_arns = List of policy ARNs to be added to the instance profile of the Runner.<br>role\_profile\_name = IAM role/profile name for the Runner. If unspecified then `${var.iam_object_prefix}-instance` is used. | <pre>object({<br> additional_tags = optional(map(string))<br> allow_iam_service_linked_role_creation = optional(bool, true)<br> assume_role_policy_json = optional(string, "")<br> create_role_profile = optional(bool, true)<br> policy_arns = optional(list(string), [])<br> role_profile_name = optional(string)<br> })</pre> | `{}` | no |
| <a name="input_runner_schedule_config"></a> [runner\_schedule\_config](#input\_runner\_schedule\_config) | Map containing the configuration of the ASG scale-out and scale-in for the Runner. Will only be used if `agent_schedule_enable` is set to `true`. | `map(any)` | <pre>{<br> "scale_in_count": 0,<br> "scale_in_recurrence": "0 18 * * 1-5",<br> "scale_in_time_zone": "Etc/UTC",<br> "scale_out_count": 1,<br> "scale_out_recurrence": "0 8 * * 1-5",<br> "scale_out_time_zone": "Etc/UTC"<br>}</pre> | no |
| <a name="input_runner_schedule_config"></a> [runner\_schedule\_config](#input\_runner\_schedule\_config) | Map containing the configuration of the ASG scale-out and scale-in for the Runner. Will only be used if `runner_schedule_enable` is set to `true`. | `map(any)` | <pre>{<br> "scale_in_count": 0,<br> "scale_in_recurrence": "0 18 * * 1-5",<br> "scale_in_time_zone": "Etc/UTC",<br> "scale_out_count": 1,<br> "scale_out_recurrence": "0 8 * * 1-5",<br> "scale_out_time_zone": "Etc/UTC"<br>}</pre> | no |
| <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 |
| <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 |
| <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 |
Expand All @@ -196,7 +196,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
| <a name="input_runner_worker_docker_machine_ec2_options"></a> [runner\_worker\_docker\_machine\_ec2\_options](#input\_runner\_worker\_docker\_machine\_ec2\_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 |
| <a name="input_runner_worker_docker_machine_extra_egress_rules"></a> [runner\_worker\_docker\_machine\_extra\_egress\_rules](#input\_runner\_worker\_docker\_machine\_extra\_egress\_rules) | List of egress rules for the Runner Workers. | <pre>list(object({<br> cidr_blocks = list(string)<br> ipv6_cidr_blocks = list(string)<br> prefix_list_ids = list(string)<br> from_port = number<br> protocol = string<br> security_groups = list(string)<br> self = bool<br> to_port = number<br> description = string<br> }))</pre> | <pre>[<br> {<br> "cidr_blocks": [<br> "0.0.0.0/0"<br> ],<br> "description": "Allow all egress traffic for Runner Workers.",<br> "from_port": 0,<br> "ipv6_cidr_blocks": [<br> "::/0"<br> ],<br> "prefix_list_ids": null,<br> "protocol": "-1",<br> "security_groups": null,<br> "self": null,<br> "to_port": 0<br> }<br>]</pre> | no |
| <a name="input_runner_worker_docker_machine_fleet"></a> [runner\_worker\_docker\_machine\_fleet](#input\_runner\_worker\_docker\_machine\_fleet) | enable = Activates the fleet mode on the Runner. https://gitlab.com/cki-project/docker-machine/-/blob/v0.16.2-gitlab.19-cki.2/docs/drivers/aws.md#fleet-mode<br>key\_pair\_name = The name of the key pair used by the Runner to connect to the docker-machine Runner Workers. This variable is only supported when `enables` is set to `true`. | <pre>object({<br> enable = bool<br> key_pair_name = optional(string, "fleet-key")<br> })</pre> | <pre>{<br> "enable": false<br>}</pre> | no |
| <a name="input_runner_worker_docker_machine_instance"></a> [runner\_worker\_docker\_machine\_instance](#input\_runner\_worker\_docker\_machine\_instance) | For detailed documentation check https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnersmachine-section<br><br>docker\_registry\_mirror\_url = The URL of the Docker registry mirror to use for the Runner Worker.<br>destroy\_after\_max\_builds = Destroy the instance after the maximum number of builds has been reached.<br>ebs\_optimized = Enable EBS optimization for the Runner Worker.<br>idle\_count = Number of idle Runner Worker instances (not working for the Docker Runner Worker) (IdleCount).<br>idle\_time = Idle time of the Runner Worker before they are destroyed (not working for the Docker Runner Worker) (IdleTime).<br>max\_growth\_rate = The maximum number of machines that can be added to the runner in parallel.<br>monitoring = Enable detailed monitoring for the Runner Worker.<br>name\_prefix = Set the name prefix and override the `Name` tag for the Runner Worker.<br>private\_address\_only = Restrict Runner Worker to the use of a private IP address. If `runner_instance.use_private_address_only` is set to `true` (default), `runner_worker_docker_machine_instance.private_address_only` will also apply for the Runner.<br>root\_size = The size of the root volume for the Runner Worker.<br>start\_script = Cloud-init user data that will be passed to the Runner Worker. Should not be base64 encrypted.<br>subnet\_ids = The list of subnet IDs to use for the Runner Worker when the fleet mode is enabled.<br>types = The type of instance to use for the Runner Worker. In case of fleet mode, multiple instance types are supported.<br>volume\_type = The type of volume to use for the Runner Worker. | <pre>object({<br> destroy_after_max_builds = optional(number, 0)<br> docker_registry_mirror_url = optional(string, "")<br> ebs_optimized = optional(bool, true)<br> idle_count = optional(number, 0)<br> idle_time = optional(number, 600)<br> max_growth_rate = optional(number, 0)<br> monitoring = optional(bool, false)<br> name_prefix = optional(string, "")<br> private_address_only = optional(bool, true)<br> root_size = optional(number, 8)<br> start_script = optional(string, "")<br> subnet_ids = optional(list(string), [])<br> types = optional(list(string), ["m5.large"])<br> volume_type = optional(string, "gp2")<br> })</pre> | `{}` | no |
| <a name="input_runner_worker_docker_machine_instance"></a> [runner\_worker\_docker\_machine\_instance](#input\_runner\_worker\_docker\_machine\_instance) | For detailed documentation check https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnersmachine-section<br><br>docker\_registry\_mirror\_url = The URL of the Docker registry mirror to use for the Runner Worker.<br>destroy\_after\_max\_builds = Destroy the instance after the maximum number of builds has been reached.<br>ebs\_optimized = Enable EBS optimization for the Runner Worker.<br>idle\_count = Number of idle Runner Worker instances (not working for the Docker Runner Worker) (IdleCount).<br>idle\_time = Idle time of the Runner Worker before they are destroyed (not working for the Docker Runner Worker) (IdleTime).<br>max\_growth\_rate = The maximum number of machines that can be added to the runner in parallel.<br>monitoring = Enable detailed monitoring for the Runner Worker.<br>name\_prefix = Set the name prefix and override the `Name` tag for the Runner Worker.<br>private\_address\_only = Restrict Runner Worker to the use of a private IP address. If `runner_instance.use_private_address_only` is set to `true` (default), `runner_worker_docker_machine_instance.private_address_only` will also apply for the Runner.<br>root\_size = The size of the root volume for the Runner Worker.<br>start\_script = Cloud-init user data that will be passed to the Runner Worker. Should not be base64 encrypted.<br>subnet\_ids = The list of subnet IDs to use for the Runner Worker when the fleet mode is enabled.<br>types = The type of instance to use for the Runner Worker. In case of fleet mode, multiple instance types are supported.<br>volume\_type = The type of volume to use for the Runner Worker. `gp2`, `gp3`, `io1` or `io2` are supported.<br>volume\_throughput = Throughput in MB/s for the volume. Only supported when using `gp3` as `volume_type`.<br>volume\_iops = Guaranteed IOPS for the volume. Only supported when using `gp3`, `io1` or `io2` as `volume_type`. | <pre>object({<br> destroy_after_max_builds = optional(number, 0)<br> docker_registry_mirror_url = optional(string, "")<br> ebs_optimized = optional(bool, true)<br> idle_count = optional(number, 0)<br> idle_time = optional(number, 600)<br> max_growth_rate = optional(number, 0)<br> monitoring = optional(bool, false)<br> name_prefix = optional(string, "")<br> private_address_only = optional(bool, true)<br> root_size = optional(number, 8)<br> start_script = optional(string, "")<br> subnet_ids = optional(list(string), [])<br> types = optional(list(string), ["m5.large"])<br> volume_type = optional(string, "gp2")<br> volume_throughput = optional(number, 125)<br> volume_iops = optional(number, 3000)<br> })</pre> | `{}` | no |
| <a name="input_runner_worker_docker_machine_instance_spot"></a> [runner\_worker\_docker\_machine\_instance\_spot](#input\_runner\_worker\_docker\_machine\_instance\_spot) | enable = Enable spot instances for the Runner Worker.<br>max\_price = The maximum price willing to pay. By default the price is limited by the current on demand price for the instance type chosen. | <pre>object({<br> enable = optional(bool, true)<br> max_price = optional(string, "on-demand-price")<br> })</pre> | `{}` | no |
| <a name="input_runner_worker_docker_machine_role"></a> [runner\_worker\_docker\_machine\_role](#input\_runner\_worker\_docker\_machine\_role) | additional\_tags = Map of tags that will be added to the Runner Worker.<br>assume\_role\_policy\_json = Assume role policy for the Runner Worker.<br>policy\_arns = List of ARNs of IAM policies to attach to the Runner Workers.<br>profile\_name = Name of the IAM profile to attach to the Runner Workers. | <pre>object({<br> additional_tags = optional(map(string), {})<br> assume_role_policy_json = optional(string, "")<br> policy_arns = optional(list(string), [])<br> profile_name = optional(string, "")<br> })</pre> | `{}` | no |
| <a name="input_runner_worker_docker_machine_security_group_description"></a> [runner\_worker\_docker\_machine\_security\_group\_description](#input\_runner\_worker\_docker\_machine\_security\_group\_description) | A description for the Runner Worker security group | `string` | `"A security group containing Runner Worker instances"` | no |
Expand Down
10 changes: 5 additions & 5 deletions examples/runner-certificates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ For **user images**, you must:
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.31.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.34.0 |
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.1 |
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.0 |
Expand All @@ -149,21 +149,21 @@ For **user images**, you must:
| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.31.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.34.0 |
## Modules
| Name | Source | Version |
|------|--------|---------|
| <a name="module_runner"></a> [runner](#module\_runner) | ../../ | n/a |
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.4.0 |
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.4.0 |
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.5.1 |
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.5.1 |
## Resources
| Name | Type |
|------|------|
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.31.0/docs/data-sources/availability_zones) | data source |
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.34.0/docs/data-sources/availability_zones) | data source |
## Inputs
Expand Down
12 changes: 6 additions & 6 deletions examples/runner-default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ check `.terraform-version` for the tested version.
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.31.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.34.0 |
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.1 |
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.0 |
Expand All @@ -43,22 +43,22 @@ check `.terraform-version` for the tested version.

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.31.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.34.0 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| <a name="module_runner"></a> [runner](#module\_runner) | ../../ | n/a |
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.4.0 |
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.4.0 |
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.5.1 |
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.5.1 |

## Resources

| Name | Type |
|------|------|
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.31.0/docs/data-sources/availability_zones) | data source |
| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/5.31.0/docs/data-sources/security_group) | data source |
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.34.0/docs/data-sources/availability_zones) | data source |
| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/5.34.0/docs/data-sources/security_group) | data source |

## Inputs

Expand Down
Loading

0 comments on commit 85013f9

Please sign in to comment.