File tree Expand file tree Collapse file tree 7 files changed +66
-9
lines changed
common/inventory/group_vars/all Expand file tree Collapse file tree 7 files changed +66
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : Release images
2
+ on :
3
+ workflow_dispatch :
4
+ release :
5
+ types :
6
+ - published # should work for both pre-releases and releases
7
+ env :
8
+ IMAGE_PATH : environments/.stackhpc/tofu/cluster_image.auto.tfvars.json
9
+ jobs :
10
+ ci-image-release :
11
+ name : ci-image-release
12
+ runs-on : ubuntu-22.04
13
+ concurrency : ${{ github.workflow }}-${{ github.ref }}
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ build :
18
+ - RL8
19
+ - RL9
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+
23
+ - name : Write s3cmd configuration
24
+ run : echo "${{ secrets.ARCUS_S3_CFG }}" > ~/.s3cfg
25
+
26
+ - name : Install s3cmd
27
+ run : |
28
+ sudo apt-get update
29
+ sudo apt-get --yes install s3cmd
30
+
31
+ - name : Retrieve image name
32
+ run : |
33
+ TARGET_IMAGE=$(jq --arg version "${{ matrix.build }}" -r '.cluster_image[$version]' "${{ env.IMAGE_PATH }}")
34
+ echo "TARGET_IMAGE=${TARGET_IMAGE}" >> "$GITHUB_ENV"
35
+
36
+ - name : Copy image from pre-release to release bucket
37
+ run : s3cmd cp s3://openhpc-images-prerelease/${{ env.TARGET_IMAGE }} s3://openhpc-images
Original file line number Diff line number Diff line change @@ -230,6 +230,16 @@ jobs:
230
230
env :
231
231
DEMO_USER_PASSWORD : ${{ secrets.TEST_USER_PASSWORD }}
232
232
233
+ - name : Delete possible volume snapshot from slurm upgrade
234
+ run : |
235
+ . venv/bin/activate
236
+ . environments/.stackhpc/activate
237
+ if [ -n "$SNAPSHOT" ]
238
+ then
239
+ echo Deleting $SNAPSHOT
240
+ openstack volume snapshot delete $SNAPSHOT
241
+ fi
242
+
233
243
- name : Delete infrastructure
234
244
run : |
235
245
. venv/bin/activate
Original file line number Diff line number Diff line change 1
1
{
2
2
"cluster_image" : {
3
- "RL8" : " openhpc-RL8-250506-1259-abb6394b " ,
4
- "RL9" : " openhpc-RL9-250506-1259-abb6394b "
3
+ "RL8" : " openhpc-RL8-250514-1502-5a923b2c " ,
4
+ "RL9" : " openhpc-RL9-250514-1502-5a923b2c "
5
5
}
6
6
}
Original file line number Diff line number Diff line change @@ -70,3 +70,13 @@ ohpc_openhpc_repos:
70
70
ohpc_default_extra_repos :
71
71
" 9 " : []
72
72
" 8 " : []
73
+
74
+ # configure slurm database pre-upgrade backups:
75
+ openhpc_slurm_accounting_storage_service : mysql
76
+ openhpc_slurm_accounting_storage_backup_cmd : >-
77
+ openstack volume snapshot create
78
+ --volume {{ openhpc_cluster_name }}-state
79
+ --force
80
+ {{ openhpc_cluster_name }}-state-{{ ansible_date_time.iso8601_basic_short }}
81
+ openhpc_slurm_accounting_storage_backup_host : localhost
82
+ openhpc_slurm_accounting_storage_backup_become : false
Original file line number Diff line number Diff line change 1
1
_systemd_requiresmount_statedir : |
2
+ {% if appliances_state_dir is defined %}
2
3
[Unit]
3
4
RequiresMountsFor={{ appliances_state_dir | default('') }}
5
+ {% endif %}
4
6
5
- _systemd_dropins_statedir :
6
- # mysql not included as role handles state dir correctly
7
+ systemd_dropins :
8
+ # NB: mysql does not need _systemd_requiresmount_statedir as role handles state dir correctly
7
9
opensearch :
8
10
group : opensearch
9
11
content : " {{ _systemd_requiresmount_statedir }}"
@@ -19,5 +21,3 @@ _systemd_dropins_statedir:
19
21
prometheus :
20
22
group : prometheus
21
23
content : " {{ _systemd_requiresmount_statedir }}"
22
-
23
- systemd_dropins : " {{ _systemd_dropins_statedir if appliances_state_dir is defined else {} }}"
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ appliances_pulp_repos:
63
63
openhpc_updates :
64
64
' 8 ' :
65
65
path : OpenHPC/2/updates/EL_8
66
- timestamp : 20241218T154614
66
+ timestamp : 20250512T003315
67
67
' 9 ' :
68
68
path : OpenHPC/3/updates/EL_9
69
- timestamp : 20241218T154614
69
+ timestamp : 20250510T003301
70
70
grafana :
71
71
' 8 ' :
72
72
path : grafana/oss/rpm
Original file line number Diff line number Diff line change 4
4
version : v25.3.2
5
5
name : stackhpc.nfs
6
6
- src : https://github.com/stackhpc/ansible-role-openhpc.git
7
- version : feat/nodegroups # TODO: bump to release
7
+ version : 5ceb9e1 # on feat/nodegroups-v2 TODO: bump to release
8
8
name : stackhpc.openhpc
9
9
- src : https://github.com/stackhpc/ansible-node-exporter.git
10
10
version : stackhpc
You can’t perform that action at this time.
0 commit comments