Skip to content

Commit 439076e

Browse files
authored
Merge pull request #324 from stackhpc/ci/bump-img
Updates to OpenHPC role and source image
2 parents f03c89f + b3b6f44 commit 439076e

File tree

9 files changed

+33
-42
lines changed

9 files changed

+33
-42
lines changed

ansible/bootstrap.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,6 @@
112112
tasks_from: config.yml
113113
tags: config
114114

115-
- name: Setup EESSI
116-
hosts: eessi
117-
tags: eessi
118-
become: true
119-
gather_facts: false
120-
tasks:
121-
- name: Install and configure EESSI
122-
import_role:
123-
name: eessi
124-
125115
- hosts: update
126116
gather_facts: false
127117
become: yes

ansible/extras.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
- hosts: cuda
1+
- name: Setup EESSI
2+
hosts: eessi
3+
tags: eessi
4+
become: true
5+
gather_facts: false
6+
tasks:
7+
- name: Install and configure EESSI
8+
import_role:
9+
name: eessi
10+
11+
- name: Setup CUDA
12+
hosts: cuda
213
become: yes
314
gather_facts: no
415
tags: cuda

environments/.stackhpc/ARCUS.pkrvars.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ volume_size = 10 # GB
44
image_disk_format = "qcow2"
55
networks = ["4b6b2722-ee5b-40ec-8e52-a6610e14cc51"] # portal-internal (DNS broken on ilab-60)
66
source_image_name = "openhpc-230804-1754-80b8d714" # https://github.com/stackhpc/ansible-slurm-appliance/pull/298
7-
fatimage_source_image_name = "Rocky-8-GenericCloud-8.6.20220702.0.x86_64.qcow2"
7+
fatimage_source_image_name = "Rocky-8-GenericCloud-Base-8.8-20230518.0.x86_64.qcow2"
88
ssh_keypair_name = "slurm-app-ci"
99
ssh_private_key_file = "~/.ssh/id_rsa"
1010
security_groups = ["default", "SSH"]

environments/.stackhpc/SMS.pkrvars.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
flavor = "general.v1.tiny"
22
networks = ["26023e3d-bc8e-459c-8def-dbd47ab01756"] # stackhpc-ipv4-geneve
33
source_image_name = "openhpc-230503-0944-bf8c3f63" # https://github.com/stackhpc/ansible-slurm-appliance/pull/252
4-
fatimage_source_image_name = "Rocky-8-GenericCloud-8.6.20220702.0.x86_64.qcow2"
4+
fatimage_source_image_name = "Rocky-8-GenericCloud-Base-8.8-20230518.0.x86_64.qcow2"
55
ssh_keypair_name = "slurm-app-ci"
66
ssh_private_key_file = "~/.ssh/id_rsa"
77
security_groups = ["default", "SSH"]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
- hosts: podman:!builder
2+
become: yes
3+
gather_facts: false
4+
tags: podman
5+
tasks:
6+
- name: Configure container image registry for unqualified searches to avoid docker.io ratelimits
7+
copy:
8+
dest: /etc/containers/registries.conf.d/003-arcus-unqualfied-overrides.conf
9+
content: |
10+
unqualified-search-registries = ['{{ podman_registry_address | split('/') | first }}', 'registry.access.redhat.com', 'registry.redhat.io', 'docker.io']
11+
12+
[[registry]]
13+
prefix = "{{ podman_registry_address }}"
14+
location = "{{ podman_registry_address }}"
15+
insecure = true
16+
when: "ci_cloud == 'ARCUS'"

environments/.stackhpc/hooks/post.yml

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

environments/.stackhpc/hooks/pre.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,3 @@
1515
- "{{ lookup('env', 'APPLIANCES_ENVIRONMENT_ROOT') }}/inventory/hosts"
1616
- "{{ lookup('env', 'APPLIANCES_ENVIRONMENT_ROOT') }}/inventory/group_vars/all/secrets.yml"
1717
- "{{ lookup('env', 'APPLIANCES_ENVIRONMENT_ROOT') }}/inventory/group_vars/all/test_user.yml"
18-
19-
- hosts: all:!builder
20-
become: yes
21-
gather_facts: false
22-
tags: podman
23-
tasks:
24-
- name: Configure container image registry for unqualified searches to avoid docker.io ratelimits
25-
copy:
26-
dest: /etc/containers/registries.conf.d/003-arcus-unqualfied-overrides.conf
27-
content: |
28-
unqualified-search-registries = ['{{ podman_registry_address | split('/') | first }}', 'registry.access.redhat.com', 'registry.redhat.io', 'docker.io']
29-
30-
[[registry]]
31-
prefix = "{{ podman_registry_address }}"
32-
location = "{{ podman_registry_address }}"
33-
insecure = true
34-
when: "ci_cloud == 'ARCUS'"

environments/.stackhpc/terraform/main.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ variable "cluster_name" {
1313
variable "cluster_image" {
1414
description = "single image for all cluster nodes - a convenience for CI"
1515
type = string
16-
default = "openhpc-231020-1357-b5d8b056" # https://github.com/stackhpc/ansible-slurm-appliance/pull/320
17-
# default = "Rocky-8-GenericCloud-Base-8.7-20221130.0.x86_64.qcow2"
18-
# default = "Rocky-8-GenericCloud-8.6.20220702.0.x86_64.qcow2"
16+
default = "openhpc-231027-0916-893570de" # https://github.com/stackhpc/ansible-slurm-appliance/pull/324
17+
# default = "Rocky-8-GenericCloud-Base-8.8-20230518.0.x86_64.qcow2"
1918
}
2019

2120
variable "cluster_net" {}

requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ roles:
33
- src: stackhpc.nfs
44
version: v22.9.1
55
- src: https://github.com/stackhpc/ansible-role-openhpc.git
6-
version: v0.20.0 # Allow multiple empty partitions by @sjpb in #156
6+
version: v0.23.0 # https://github.com/stackhpc/ansible-role-openhpc/pull/165
77
name: stackhpc.openhpc
88
- src: https://github.com/stackhpc/ansible-node-exporter.git
99
version: feature/no-install

0 commit comments

Comments
 (0)