diff --git a/.github/bin/get-s3-image.sh b/.github/bin/get-s3-image.sh index d20838aca..98b91311d 100644 --- a/.github/bin/get-s3-image.sh +++ b/.github/bin/get-s3-image.sh @@ -17,7 +17,7 @@ if [ -n "$image_exists" ]; then else echo "Image $image_name not found in OpenStack. Getting it from S3." - wget https://object.arcus.openstack.hpc.cam.ac.uk/swift/v1/AUTH_3a06571936a0424bb40bc5c672c4ccb1/$bucket_name/$image_name --progress=dot:giga + wget https://leafcloud.store/swift/v1/AUTH_f39848421b2747148400ad8eeae8d536/$bucket_name/$image_name --progress=dot:giga echo "Uploading image $image_name to OpenStack..." openstack image create --file $image_name --disk-format qcow2 $image_name --progress diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index cb5553b9c..8fcddf586 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 - name: Write s3cmd configuration - run: echo "${{ secrets.ARCUS_S3_CFG }}" > ~/.s3cfg + run: echo "${{ secrets.LEAFCLOUD_S3_CFG }}" > ~/.s3cfg - name: Install s3cmd run: | diff --git a/.github/workflows/s3-image-sync.yml b/.github/workflows/s3-image-sync.yml index d5ba6afb9..990125f1b 100644 --- a/.github/workflows/s3-image-sync.yml +++ b/.github/workflows/s3-image-sync.yml @@ -1,4 +1,4 @@ -name: Upload CI-tested images to Arcus S3 and sync clouds +name: Upload CI-tested images to Leafcloud S3 and sync clouds on: workflow_dispatch: push: @@ -21,7 +21,7 @@ jobs: - name: Write s3cmd configuration run: | - echo "${{ secrets['ARCUS_S3_CFG'] }}" > ~/.s3cfg + echo "${{ secrets['LEAFCLOUD_S3_CFG'] }}" > ~/.s3cfg shell: bash - name: Install s3cmd @@ -73,7 +73,7 @@ jobs: - name: Write s3cmd configuration run: | - echo "${{ secrets['ARCUS_S3_CFG'] }}" > ~/.s3cfg + echo "${{ secrets['LEAFCLOUD_S3_CFG'] }}" > ~/.s3cfg shell: bash - name: Install s3cmd and qemu-utils diff --git a/.github/workflows/upload-release-image.yml.sample b/.github/workflows/upload-release-image.yml.sample index 0b123bcf4..d1f930555 100644 --- a/.github/workflows/upload-release-image.yml.sample +++ b/.github/workflows/upload-release-image.yml.sample @@ -19,7 +19,7 @@ on: inputs: image_name: type: string - description: Image name from: (https://object.arcus.openstack.hpc.cam.ac.uk/swift/v1/AUTH_3a06571936a0424bb40bc5c672c4ccb1/{BUCKET_NAME}) + description: Image name from: (https://leafcloud.store/swift/v1/AUTH_f39848421b2747148400ad8eeae8d536/{BUCKET_NAME}) required: true bucket_name: type: choice diff --git a/docs/upgrades.md b/docs/upgrades.md index 07f5f524c..c3f273e7e 100644 --- a/docs/upgrades.md +++ b/docs/upgrades.md @@ -60,7 +60,7 @@ All other commands should be run on the Ansible deploy host. 1. Identify image(s) from the relevant [Slurm appliance release](https://github.com/stackhpc/ansible-slurm-appliance/releases), and download using the link on the release plus the image name, e.g. for an image `openhpc-RL9-250708-1547-1494192e`: - wget https://object.arcus.openstack.hpc.cam.ac.uk/swift/v1/AUTH_3a06571936a0424bb40bc5c672c4ccb1/openhpc-images/openhpc-RL9-250708-1547-1494192e + wget https://leafcloud.store/swift/v1/AUTH_f39848421b2747148400ad8eeae8d536/openhpc-images/openhpc-RL9-250708-1547-1494192e Note that some releases may not include new images. In this case use the image from the latest previous release with new images.