Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/bin/get-s3-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/s3-image-sync.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down