File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -93,33 +93,24 @@ jobs:
9393 echo "TARGET_IMAGE=${TARGET_IMAGE}" >> "$GITHUB_ENV"
9494 shell : bash
9595
96- - name : Clear up some space on runner
97- run : |
98- df -h
99- sudo rm -rf /usr/share/dotnet
100- sudo rm -rf /opt/ghc
101- sudo rm -rf "/usr/local/share/boost"
102- sudo rm -rf "$AGENT_TOOLSDIRECTORY"
103- sudo apt-get clean
104- df -h
105-
10696 - name : Download image to runner
10797 run : |
10898 . venv/bin/activate
109- openstack image save --file "${{ env.TARGET_IMAGE }}.raw" "${{ env.TARGET_IMAGE }}"
99+ df -h
100+ openstack image save --file "/mnt/${{ env.TARGET_IMAGE }}.raw" "${{ env.TARGET_IMAGE }}"
110101 df -h
111102 shell : bash
112103
113104 - name : Convert image to QCOW2
114105 run : |
115106 . venv/bin/activate
116- qemu-img convert -f raw -O qcow2 -c "${{ env.TARGET_IMAGE }}.raw" "${{ env.TARGET_IMAGE }}"
107+ qemu-img convert -f raw -O qcow2 -c "/mnt/ ${{ env.TARGET_IMAGE }}.raw" "${{ env.TARGET_IMAGE }}"
117108 shell : bash
118109
119110 - name : Upload Image to S3
120111 run : |
121112 echo "Uploading Image: ${{ env.TARGET_IMAGE }} to S3..."
122- s3cmd --multipart-chunk-size-mb=150 put ${{ env.TARGET_IMAGE }} s3://${{ env.S3_BUCKET }}
113+ s3cmd --multipart-chunk-size-mb=150 put "/mnt/ ${{ env.TARGET_IMAGE }}" s3://${{ env.S3_BUCKET }}
123114 shell : bash
124115
125116 image_sync :
You can’t perform that action at this time.
0 commit comments