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:
93
93
echo "TARGET_IMAGE=${TARGET_IMAGE}" >> "$GITHUB_ENV"
94
94
shell : bash
95
95
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
-
106
96
- name : Download image to runner
107
97
run : |
108
98
. 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 }}"
110
101
df -h
111
102
shell : bash
112
103
113
104
- name : Convert image to QCOW2
114
105
run : |
115
106
. 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 }}"
117
108
shell : bash
118
109
119
110
- name : Upload Image to S3
120
111
run : |
121
112
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 }}
123
114
shell : bash
124
115
125
116
image_sync :
You can’t perform that action at this time.
0 commit comments