Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 9.2.0 #1265

Merged
merged 2 commits into from
Mar 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "9.1.1"
".": "9.2.0"
}
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [9.2.0](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/9.1.1...9.2.0) (2025-03-22)


### Features

* add instance requirements option for docker autoscaler asg ([#1262](https://github.com/cattle-ops/terraform-aws-gitlab-runner/issues/1262)) ([84cbaf5](https://github.com/cattle-ops/terraform-aws-gitlab-runner/commit/84cbaf535b73339cdcbcbad6451eb395d62ea7ae))


### Bug Fixes

* add filter to s3 lifecycle rule ([#1264](https://github.com/cattle-ops/terraform-aws-gitlab-runner/issues/1264)) ([c8180ba](https://github.com/cattle-ops/terraform-aws-gitlab-runner/commit/c8180baa2cb4e6823fc90d62859838e670b8b4d2))

## [9.1.1](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/9.1.0...9.1.1) (2025-03-03)


Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.26 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.76 |
| <a name="requirement_local"></a> [local](#requirement\_local) | >= 2.4.0 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | >= 3 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.89.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.92.0 |
| <a name="provider_local"></a> [local](#provider\_local) | 2.5.2 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | 4.0.6 |

Expand Down Expand Up @@ -225,7 +225,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
| <a name="input_runner_worker_docker_autoscaler_ami_filter"></a> [runner\_worker\_docker\_autoscaler\_ami\_filter](#input\_runner\_worker\_docker\_autoscaler\_ami\_filter) | List of maps used to create the AMI filter for the Runner Worker (autoscaler). | `map(list(string))` | <pre>{<br/> "name": [<br/> "ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-*"<br/> ]<br/>}</pre> | no |
| <a name="input_runner_worker_docker_autoscaler_ami_id"></a> [runner\_worker\_docker\_autoscaler\_ami\_id](#input\_runner\_worker\_docker\_autoscaler\_ami\_id) | The ID of the AMI to use for the Runner Worker (autoscaler). | `string` | `""` | no |
| <a name="input_runner_worker_docker_autoscaler_ami_owners"></a> [runner\_worker\_docker\_autoscaler\_ami\_owners](#input\_runner\_worker\_docker\_autoscaler\_ami\_owners) | The list of owners used to select the AMI of the Runner Worker (autoscaler). | `list(string)` | <pre>[<br/> "099720109477"<br/>]</pre> | no |
| <a name="input_runner_worker_docker_autoscaler_asg"></a> [runner\_worker\_docker\_autoscaler\_asg](#input\_runner\_worker\_docker\_autoscaler\_asg) | enabled\_metrics = List of metrics to collect.<br/>enable\_mixed\_instances\_policy = Make use of autoscaling-group mixed\_instances\_policy capacities to leverage pools and spot instances.<br/>health\_check\_grace\_period = Time (in seconds) after instance comes into service before checking health.<br/>health\_check\_type = Controls how health checking is done. Values are - EC2 and ELB.<br/>instance\_refresh\_min\_healthy\_percentage = The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow the operation to continue, as a percentage of the desired capacity of the Auto Scaling group.<br/>instance\_refresh\_triggers = Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of launch\_configuration, launch\_template, or mixed\_instances\_policy.<br/>on\_demand\_base\_capacity = Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances.<br/>on\_demand\_percentage\_above\_base\_capacity = Percentage split between on-demand and Spot instances above the base on-demand capacity.<br/>spot\_allocation\_strategy = How to allocate capacity across the Spot pools. 'lowest-price' to optimize cost, 'capacity-optimized' to reduce interruptions.<br/>spot\_instance\_pools = Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify.<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/>upgrade\_strategy = Auto deploy new instances when launch template changes. Can be either 'bluegreen', 'rolling' or 'off'. | <pre>object({<br/> enabled_metrics = optional(list(string), [])<br/> enable_mixed_instances_policy = optional(bool, false)<br/> health_check_grace_period = optional(number, 300)<br/> health_check_type = optional(string, "EC2")<br/> instance_refresh_min_healthy_percentage = optional(number, 90)<br/> instance_refresh_triggers = optional(list(string), [])<br/> on_demand_base_capacity = optional(number, 0)<br/> on_demand_percentage_above_base_capacity = optional(number, 100)<br/> spot_allocation_strategy = optional(string, "lowest-price")<br/> spot_instance_pools = optional(number, 2)<br/> subnet_ids = optional(list(string), [])<br/> types = optional(list(string), ["m5.large"])<br/> upgrade_strategy = optional(string, "rolling")<br/> })</pre> | `{}` | no |
| <a name="input_runner_worker_docker_autoscaler_asg"></a> [runner\_worker\_docker\_autoscaler\_asg](#input\_runner\_worker\_docker\_autoscaler\_asg) | enabled\_metrics = List of metrics to collect.<br/>enable\_mixed\_instances\_policy = Make use of autoscaling-group mixed\_instances\_policy capacities to leverage pools and spot instances.<br/>health\_check\_grace\_period = Time (in seconds) after instance comes into service before checking health.<br/>health\_check\_type = Controls how health checking is done. Values are - EC2 and ELB.<br/>instance\_refresh\_min\_healthy\_percentage = The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow the operation to continue, as a percentage of the desired capacity of the Auto Scaling group.<br/>instance\_refresh\_triggers = Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of launch\_configuration, launch\_template, or mixed\_instances\_policy.<br/>on\_demand\_base\_capacity = Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances.<br/>on\_demand\_percentage\_above\_base\_capacity = Percentage split between on-demand and Spot instances above the base on-demand capacity.<br/>spot\_allocation\_strategy = How to allocate capacity across the Spot pools. 'lowest-price' to optimize cost, 'capacity-optimized' to reduce interruptions.<br/>spot\_instance\_pools = Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify.<br/>subnet\_ids = The list of subnet IDs to use for the Runner Worker when the fleet mode is enabled.<br/>default\_instance\_type = Default instance type for the launch template<br/>types = The type of instance to use for the Runner Worker. In case of fleet mode, multiple instance types are supported.<br/>upgrade\_strategy = Auto deploy new instances when launch template changes. Can be either 'bluegreen', 'rolling' or 'off'.<br/>instance\_requirements = Override the instance type in the Launch Template with instance types that satisfy the requirements. | <pre>object({<br/> enabled_metrics = optional(list(string), [])<br/> enable_mixed_instances_policy = optional(bool, false)<br/> health_check_grace_period = optional(number, 300)<br/> health_check_type = optional(string, "EC2")<br/> instance_refresh_min_healthy_percentage = optional(number, 90)<br/> instance_refresh_triggers = optional(list(string), [])<br/> on_demand_base_capacity = optional(number, 0)<br/> on_demand_percentage_above_base_capacity = optional(number, 100)<br/> spot_allocation_strategy = optional(string, "lowest-price")<br/> spot_instance_pools = optional(number, 2)<br/> subnet_ids = optional(list(string), [])<br/> default_instance_type = optional(string, "m5.large")<br/> types = optional(list(string), [])<br/> upgrade_strategy = optional(string, "rolling")<br/> instance_requirements = optional(list(object({<br/> allowed_instance_types = optional(list(string), [])<br/> cpu_manufacturers = optional(list(string), [])<br/> instance_generations = optional(list(string), [])<br/> burstable_performance = optional(string)<br/> memory_mib = optional(object({<br/> min = optional(number, null)<br/> max = optional(number, null) }), {})<br/> vcpu_count = optional(object({<br/> min = optional(number, null)<br/> max = optional(number, null) }), {})<br/> })), [])<br/> })</pre> | `{}` | no |
| <a name="input_runner_worker_docker_autoscaler_autoscaling_options"></a> [runner\_worker\_docker\_autoscaler\_autoscaling\_options](#input\_runner\_worker\_docker\_autoscaler\_autoscaling\_options) | Set autoscaling parameters based on periods, see https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnersautoscalerpolicy-sections | <pre>list(object({<br/> periods = list(string)<br/> timezone = optional(string, "UTC")<br/> idle_count = optional(number)<br/> idle_time = optional(string)<br/> scale_factor = optional(number)<br/> scale_factor_limit = optional(number, 0)<br/> }))</pre> | `[]` | no |
| <a name="input_runner_worker_docker_autoscaler_instance"></a> [runner\_worker\_docker\_autoscaler\_instance](#input\_runner\_worker\_docker\_autoscaler\_instance) | ebs\_optimized = Enable EBS optimization for the Runner Worker.<br/>http\_tokens = Whether or not the metadata service requires session tokens.<br/>http\_put\_response\_hop\_limit = The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.<br/>monitoring = Enable detailed monitoring 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),<br/>root\_device\_name = The name of the root volume for the Runner Worker.<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/>volume\_type = The type of volume to use for the Runner Worker. `gp2`, `gp3`, `io1` or `io2` are supported.<br/>volume\_iops = Guaranteed IOPS for the volume. Only supported when using `gp3`, `io1` or `io2` as `volume_type`.<br/>volume\_throughput = Throughput in MB/s for the volume. Only supported when using `gp3` as `volume_type`. | <pre>object({<br/> ebs_optimized = optional(bool, true)<br/> http_tokens = optional(string, "required")<br/> http_put_response_hop_limit = optional(number, 2)<br/> monitoring = optional(bool, false)<br/> private_address_only = optional(bool, true)<br/> root_device_name = optional(string, "/dev/sda1")<br/> root_size = optional(number, 8)<br/> start_script = optional(string, "")<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_autoscaler_role"></a> [runner\_worker\_docker\_autoscaler\_role](#input\_runner\_worker\_docker\_autoscaler\_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 |
Expand Down
4 changes: 2 additions & 2 deletions modules/terminate-agent-hook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ module "runner" {
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.0.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.76 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_archive"></a> [archive](#provider\_archive) | n/a |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.0.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.76 |

## Modules

Expand Down