Skip to content

Commit 1a78ede

Browse files
authored
Merge pull request #385 from MartinGodzina/fix/fleeting-plugin-version
fix: error when fleeting plugin version is specified
2 parents 9e0a091 + 0e66489 commit 1a78ede

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tasks/config-runners-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040
- name: Remove temporary directory
4141
ansible.builtin.file:
4242
path: "{{ temp_runner_config_dir.path }}"
43-
state: "absent"
43+
state: "absent"

templates/config.runners.autoscaler/autoscaler.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
max_use_count = {{ gitlab_runner.autoscaler.max_use_count }}
55
max_instances = {{ gitlab_runner.autoscaler.max_instances }}
66

7-
{{ lookup('template', 'config.runners.autoscaler/fleeting.plugin.' ~ gitlab_runner.autoscaler.plugin ~ '.j2') }}
7+
{{ lookup('template', 'config.runners.autoscaler/fleeting.plugin.' ~ gitlab_runner.autoscaler.plugin.split(':')[0] ~ '.j2') }}
88

99
[runners.autoscaler.connector_config]
1010
{% for key, value in gitlab_runner.autoscaler.connector_config.items() %}

0 commit comments

Comments
 (0)