Skip to content

Commit bb6abed

Browse files
committed
Merge remote-tracking branch 'origin/main' into ci/enable-linting
2 parents 32326a9 + 98ed51b commit bb6abed

File tree

78 files changed

+797
-244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+797
-244
lines changed

.github/bin/get-s3-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if [ -n "$image_exists" ]; then
1717
else
1818
echo "Image $image_name not found in OpenStack. Getting it from S3."
1919

20-
wget "https://object.arcus.openstack.hpc.cam.ac.uk/swift/v1/AUTH_3a06571936a0424bb40bc5c672c4ccb1/$bucket_name/$image_name --progress=dot:giga"
20+
wget https://leafcloud.store/swift/v1/AUTH_f39848421b2747148400ad8eeae8d536/$bucket_name/$image_name --progress=dot:giga
2121

2222
echo "Uploading image $image_name to OpenStack..."
2323
openstack image create --file "$image_name" --disk-format qcow2 "$image_name" --progress

.github/workflows/fatimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
source_image_name: Rocky-8-GenericCloud-Base-8.10-20240528.0.x86_64.raw
3939
inventory_groups: control,compute,login,update
4040
- image_name: openhpc-RL9
41-
source_image_name: Rocky-9-GenericCloud-Base-9.5-20241118.0.x86_64.raw
41+
source_image_name: Rocky-9-GenericCloud-Base-9.6-20250531.0.x86_64.qcow2
4242
inventory_groups: control,compute,login,update
4343
env:
4444
ANSIBLE_FORCE_COLOR: True

.github/workflows/release-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v4
2929

3030
- name: Write s3cmd configuration
31-
run: echo "${{ secrets.ARCUS_S3_CFG }}" > ~/.s3cfg
31+
run: echo "${{ secrets.LEAFCLOUD_S3_CFG }}" > ~/.s3cfg
3232

3333
- name: Install s3cmd
3434
run: |

.github/workflows/s3-image-sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Upload CI-tested images to Arcus S3 and sync clouds
1+
name: Upload CI-tested images to Leafcloud S3 and sync clouds
22
on:
33
workflow_dispatch:
44
push:
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Write s3cmd configuration
2929
run: |
30-
echo "${{ secrets['ARCUS_S3_CFG'] }}" > ~/.s3cfg
30+
echo "${{ secrets['LEAFCLOUD_S3_CFG'] }}" > ~/.s3cfg
3131
shell: bash
3232

3333
- name: Install s3cmd
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Write s3cmd configuration
8181
run: |
82-
echo "${{ secrets['ARCUS_S3_CFG'] }}" > ~/.s3cfg
82+
echo "${{ secrets['LEAFCLOUD_S3_CFG'] }}" > ~/.s3cfg
8383
shell: bash
8484

8585
- name: Install s3cmd and qemu-utils

.github/workflows/upload-release-image.yml.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
inputs:
2020
image_name:
2121
type: string
22-
description: Image name from: (https://object.arcus.openstack.hpc.cam.ac.uk/swift/v1/AUTH_3a06571936a0424bb40bc5c672c4ccb1/{BUCKET_NAME})
22+
description: Image name from: (https://leafcloud.store/swift/v1/AUTH_f39848421b2747148400ad8eeae8d536/{BUCKET_NAME})
2323
required: true
2424
bucket_name:
2525
type: choice

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Use the `cookiecutter` template to create a new environment to hold your configu
6969

7070
```shell
7171
cd environments
72-
cookiecutter skeleton
72+
cookiecutter ../cookiecutter
7373
```
7474

7575
and follow the prompts to complete the environment name and description.

ansible/fatimage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@
191191
tasks_from: install.yml
192192
when: "'alertmanager' in group_names"
193193

194+
- name: Download HPL source
195+
include_role:
196+
name: hpctests
197+
tasks_from: source-hpl.yml
198+
194199
- hosts: prometheus
195200
become: true
196201
gather_facts: true

ansible/portal.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
name: openondemand
1515
tasks_from: main.yml
1616

17-
- hosts: openondemand_desktop
17+
- hosts: openondemand_desktop:openondemand_matlab
1818
tags:
1919
- openondemand
2020
- openondemand_desktop
21+
- openondemand_matlab
2122
become: true
2223
gather_facts: true
2324
tasks:
@@ -37,3 +38,27 @@
3738
name: openondemand
3839
tasks_from: jupyter_compute.yml
3940
when: appliances_mode != 'configure' # is run during build
41+
42+
- hosts: openondemand_rstudio
43+
tags:
44+
- openondemand
45+
- openondemand_rstudio
46+
become: yes
47+
gather_facts: yes
48+
tasks:
49+
- import_role:
50+
name: openondemand
51+
tasks_from: rstudio_compute.yml
52+
when: appliances_mode != 'configure' # is run during build
53+
54+
- hosts: openondemand_codeserver
55+
tags:
56+
- openondemand
57+
- openondemand_codeserver
58+
become: yes
59+
gather_facts: yes
60+
tasks:
61+
- import_role:
62+
name: openondemand
63+
tasks_from: codeserver_compute.yml
64+
when: appliances_mode != 'configure' # is run during build

ansible/roles/alertmanager/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ Note that:
1212
- No Grafana dashboard for alerts is currently provided.
1313

1414
Alertmanager is enabled by default on the `control` node in the
15-
[everything](../../../environments/common/layouts/everything) template which
16-
`cookiecutter` uses for a new environment's `inventory/groups` file.
15+
`site` environment's `inventory/groups` file.
1716

1817
In general usage may only require:
19-
20-
- Adding the `control` node into the `alertmanager` group in `environments/site/groups`
21-
if upgrading an existing environment.
2218
- Enabling the Slack integration (see section below).
2319
- Possibly setting `alertmanager_web_external_url`.
2420

ansible/roles/block_devices/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This is a convenience wrapper around the ansible modules:
1111

1212
To avoid issues with device names changing after e.g. reboots, devices are identified by serial number and mounted by filesystem UUID.
1313

14-
**NB:** This role is ignored[^1] during Packer builds as block devices will not be attached to the Packer build VMs. This role is therefore deprecated and it is suggested that `cloud-init` is used instead. See e.g. `environments/skeleton/{{cookiecutter.environment}}/tofu/control.userdata.tpl`.
14+
**NB:** This role is ignored[^1] during Packer builds as block devices will not be attached to the Packer build VMs. This role is therefore deprecated and it is suggested that `cloud-init` is used instead. See e.g. `environments/site/tofu/control.userdata.tpl`.
1515

1616
[^1]: See `environments/common/inventory/group_vars/builder/defaults.yml`
1717

0 commit comments

Comments
 (0)