Skip to content

Commit

Permalink
Merge pull request #294 from tobiashuste/293-support-new-parameter-us…
Browse files Browse the repository at this point in the history
…e_ignition

Support the new use_ignition parameter
  • Loading branch information
christianhueserhzdr committed Jul 11, 2024
2 parents 6cf3356 + a441ea0 commit 8ed628e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/gitlab_runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ gitlab_runner_list:
autoscaler_group_name: "autoscaler-runners"
autoscaler_cloud_name: "openstack"
autoscaler_clouds_config: "/etc/gitlab-runner/clouds.yaml"
autoscaler_use_ignition: false
autoscaler_flavor_ref: "5be35abe-a4d5-427f-a0f8-c7afe19961e2"
autoscaler_image_ref: "8225b31c-86fc-4e48-a3e4-8bf800d5fc8d"
autoscaler_network_id: "ea80dd07-5dc2-4f18-af04-733ace5892ef"
Expand Down
1 change: 1 addition & 0 deletions roles/gitlab_runner/templates/config.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ sentry_dsn = "{{ gitlab_runner_sentry_dsn }}"
clouds_config = "{{ runner.autoscaler_clouds_config }}"
name = "{{ runner.autoscaler_group_name | default('autoscaler-runners') }}"
boot_time = "3m"
use_ignition = {{ runner.autoscaler_use_ignition | default(false) | bool | to_json }}

[runners.autoscaler.plugin_config.server_spec]
name = "autoscaler-%d"
Expand Down

0 comments on commit 8ed628e

Please sign in to comment.