You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error_message="The executor currently supports `docker+machine` and `docker`."
139
+
}
140
+
}
141
+
142
+
variable"runner_worker_docker_autoscaler" {
143
+
description=<<-EOT
144
+
fleeting_plugin_version = The version of aws fleeting plugin.
145
+
connector_config_user = User to connect to worker machine.
146
+
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`.
147
+
capacity_per_instance = The number of jobs that can be executed concurrently by a single instance.
148
+
max_use_count = Max job number that can run on a worker.
149
+
update_interval = The interval to check with the fleeting plugin for instance updates.
150
+
update_interval_when_expecting = The interval to check with the fleeting plugin for instance updates when expecting a state change.
151
+
instance_ready_command = Executes this command on each instance provisioned by the autoscaler to ensure that it is ready for use. A failure results in the instance being removed.
post_build_script = Script to execute in the pipeline just after the build, but before executing after_script.
169
+
pre_build_script = Script to execute in the pipeline just before the build.
170
+
pre_clone_script = Script to execute in the pipeline before cloning the Git repository. this can be used to adjust the Git client configuration first, for example.
171
+
EOT
172
+
type=object({
173
+
post_build_script =optional(string, "\"\"")
174
+
pre_build_script =optional(string, "\"\"")
175
+
pre_clone_script =optional(string, "\"\"")
176
+
})
177
+
default={}
178
+
}
179
+
180
+
variable"runner_gitlab" {
181
+
description=<<-EOT
182
+
ca_certificate = Trusted CA certificate bundle (PEM format).
183
+
certificate = Certificate of the GitLab instance to connect to (PEM format).
184
+
registration_token = (deprecated, This is replaced by the `registration_token` in `runner_gitlab_registration_config`.) Registration token to use to register the Runner.
185
+
runner_version = Version of the [GitLab Runner](https://gitlab.com/gitlab-org/gitlab-runner/-/releases). Make sure that it is available for your AMI. See https://packages.gitlab.com/app/runner/gitlab-runner/search?dist=amazon%2F2023&filter=rpms&page=1&q=
186
+
url = URL of the GitLab instance to connect to.
187
+
url_clone = URL of the GitLab instance to clone from. Use only if the agent can’t connect to the GitLab URL.
188
+
access_token_secure_parameter_store_name = (deprecated) The name of the SSM parameter to read the GitLab access token from. It must have the `api` scope and be pre created.
189
+
preregistered_runner_token_ssm_parameter_name = The name of the SSM parameter to read the preregistered GitLab Runner token from.
190
+
EOT
191
+
type=object({
192
+
ca_certificate =optional(string, "")
193
+
certificate =optional(string, "")
194
+
registration_token =optional(string, "__REPLACED_BY_USER_DATA__") # deprecated, removed in 8.0.0
195
+
runner_version =optional(string, "16.0.3")
196
+
url =optional(string, "")
197
+
url_clone =optional(string, "")
198
+
access_token_secure_parameter_store_name =optional(string, "gitlab-runner-access-token") # deprecated, removed in 8.0.0
0 commit comments