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:
230230 env :
231231 DEMO_USER_PASSWORD : ${{ secrets.TEST_USER_PASSWORD }}
232232
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+
233243 - name : Delete infrastructure
234244 run : |
235245 . venv/bin/activate
Original file line number Diff line number Diff line change 11{
22 "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 "
55 }
66}
Original file line number Diff line number Diff line change @@ -70,3 +70,13 @@ ohpc_openhpc_repos:
7070ohpc_default_extra_repos :
7171 " 9 " : []
7272 " 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 11_systemd_requiresmount_statedir : |
2+ {% if appliances_state_dir is defined %}
23 [Unit]
34 RequiresMountsFor={{ appliances_state_dir | default('') }}
5+ {% endif %}
46
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
79 opensearch :
810 group : opensearch
911 content : " {{ _systemd_requiresmount_statedir }}"
@@ -19,5 +21,3 @@ _systemd_dropins_statedir:
1921 prometheus :
2022 group : prometheus
2123 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:
6363 openhpc_updates :
6464 ' 8 ' :
6565 path : OpenHPC/2/updates/EL_8
66- timestamp : 20241218T154614
66+ timestamp : 20250512T003315
6767 ' 9 ' :
6868 path : OpenHPC/3/updates/EL_9
69- timestamp : 20241218T154614
69+ timestamp : 20250510T003301
7070 grafana :
7171 ' 8 ' :
7272 path : grafana/oss/rpm
Original file line number Diff line number Diff line change 44 version : v25.3.2
55 name : stackhpc.nfs
66 - 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
88 name : stackhpc.openhpc
99 - src : https://github.com/stackhpc/ansible-node-exporter.git
1010 version : stackhpc
You can’t perform that action at this time.
0 commit comments