Skip to content

Commit

Permalink
Add GPU runners.
Browse files Browse the repository at this point in the history
Fix micromamba update.
  • Loading branch information
joaander committed Dec 16, 2024
1 parent 014aa26 commit 767266a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion configure-runners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
hosts: action_runners
vars:
# TODO: determine latest actions version automatically
actions_version: 2.311.0
actions_version: 2.321.0
actions_path: /home/exouser/actions-runner
vars_prompt:
- name: token
Expand Down
18 changes: 12 additions & 6 deletions hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,18 @@ all:
ansible_user: exouser

children:
# gpu:
# vars:
# labels: gpu-test
# hosts:
# actions-runner-1:
# ansible_host: 149.165.159.180
gpu:
vars:
labels: GPU
hosts:
actions-runner-gpu-0:
ansible_host: 149.165.168.66
actions-runner-gpu-1:
ansible_host: 149.165.174.153
actions-runner-gpu-2:
ansible_host: 149.165.170.93
actions-runner-gpu-3:
ansible_host: 149.165.172.12

cpu:
vars:
Expand Down
2 changes: 2 additions & 0 deletions update-instances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
- name: Update miniforge
when: "'action_runner_managers' in group_names"
ansible.builtin.command: "{{ miniforge_path }}/bin/mamba update --all -y"
environment:
MAMBA_ROOT_PREFIX: /home/exouser/miniforge3

- name: Update jetstream2-admin clone
when: "'action_runner_managers' in group_names"
Expand Down

0 comments on commit 767266a

Please sign in to comment.