Skip to content

Commit 524c4d9

Browse files
committed
ansible: use arch specific runners
With s390x runners being built by kernel-patches/runner, we can now get rid of the logic to build the runners on s390x and instead pull the readily available s390x runner from the container repository. Signed-off-by: Manu Bretelle <[email protected]>
1 parent 63d5595 commit 524c4d9

File tree

2 files changed

+1
-31
lines changed

2 files changed

+1
-31
lines changed

ansible/roles/runner/tasks/main-s390x.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

ansible/roles/runner/tasks/main.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
ansible.builtin.copy:
4545
dest: "{{ runner_base_dir }}/runner_unit.env"
4646
content: |
47-
DOCKER_TAG={{ runner_docker_tag }}
47+
DOCKER_TAG={{ runner_docker_tag }}-{{ ansible_architecture }}
4848
mode: 0700
4949
owner: root
5050
group: root
@@ -78,10 +78,6 @@
7878
when: ansible_distribution == 'Amazon'
7979
ignore_errors: yes
8080

81-
# Build docker images
82-
- include_tasks: main-s390x.yml
83-
when: ansible_architecture == 's390x'
84-
8581
- name: Generate runner env
8682
become: yes
8783
ansible.builtin.copy:

0 commit comments

Comments
 (0)