File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if [ -n "$image_exists" ]; then
1717else
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
Original file line number Diff line number Diff line change 1- name : Upload CI-tested images to Arcus S3 and sync clouds
1+ name : Upload CI-tested images to Leafcloud S3 and sync clouds
22on :
33 workflow_dispatch :
44 push :
1919 steps :
2020 - uses : actions/checkout@v2
2121
22- - name : Write s3cmd configuration
23- run : |
24- echo "${{ secrets['ARCUS_S3_CFG'] }}" > ~/.s3cfg
25- shell : bash
26-
2722 - name : Install s3cmd
2823 run : |
2924 sudo apt-get update
7166 echo "${{ secrets[format('{0}_CLOUDS_YAML', env.CI_CLOUD)] }}" > ~/.config/openstack/clouds.yaml
7267 shell : bash
7368
74- - name : Write s3cmd configuration
75- run : |
76- echo "${{ secrets['ARCUS_S3_CFG'] }}" > ~/.s3cfg
77- shell : bash
78-
7969 - name : Install s3cmd and qemu-utils
8070 run : |
8171 sudo apt-get update
You can’t perform that action at this time.
0 commit comments