1414 - uses : actions/checkout@v4
1515 - uses : ./
1616 with :
17- image_url : https://people.canonical.com/~platform/images/qualcomm-iot/rubikpi3/ubuntu-server-24.04/x00 /ubuntu-24.04-preinstalled-server-arm64+rubikpi3-20250912-127 .yaml
17+ image_url : https://people.canonical.com/~platform/images/qualcomm-iot/rubikpi3/ubuntu-server-24.04/x01 /ubuntu-24.04-preinstalled-server-arm64+rubikpi3-20250926-145 .yaml
1818 minimum_free_mb : 2000
1919 root_location : " offset=569376768"
2020 shrink_image : " no"
@@ -27,21 +27,27 @@ jobs:
2727 - name : Compress image
2828 run : |
2929 imagedir=$(dirname ${{ steps.build_image.outputs.image }})
30- tardir=${RUNNER_TEMP}/photonvision_rubikpi3
30+ tardir=photonvision_rubikpi3_fromYAML
3131 mkdir --parents ${tardir}
32- if ls ${imagedir}*.tar.gz 1>/dev/null 2>&1; then
33- sudo tar -xzf ${imagedir}*.tar.gz -C ${tardir}
32+ echo "Contents of imagedir: ${imagedir}"
33+ ls -la ${imagedir}
34+ if ls ${imagedir}/*.tar.gz 1>/dev/null 2>&1; then
35+ sudo tar -xzf ${imagedir}/*.tar.gz -C ${tardir}
3436 fi
3537 sudo mv ${imagedir}/rawprogram*.xml ${tardir}/ 2>/dev/null || true
3638 sudo mv ${imagedir}/dtb.bin ${tardir}/ 2>/dev/null || true
3739 sudo mv ${imagedir}/*.img ${tardir}/ 2>/dev/null || true
40+ echo "Before cleanup contents of tardir: ${tardir}"
41+ ls -la ${tardir}
3842 sudo find ${tardir} -mindepth 2 -type f -exec mv {} ${tardir}/ \;
3943 sudo find ${tardir} -mindepth 1 -type d -empty -delete
40- sudo tar -I 'xz -T0' -cf ./photonvision_rubikpi3.tar.xz ${tardir} --checkpoint=10000 --checkpoint-action=echo='%T'
44+ echo "After cleanup contents of tardir: ${tardir}"
45+ ls -la ${tardir}
46+ sudo tar -I 'xz -T0' -cf ./photonvision_rubikpi3_fromYAML.tar.xz ${tardir} --checkpoint=10000 --checkpoint-action=echo='%T'
4147 - uses : actions/upload-artifact@v4
4248 with :
43- name : photonvision_rubikpi3 .tar.xz
44- path : ./photonvision_rubikpi3 .tar.xz
49+ name : photonvision_rubikpi3_fromYAML .tar.xz
50+ path : ./photonvision_rubikpi3_fromYAML .tar.xz
4551 compression-level : 0
4652 if-no-files-found : error
4753 retention-days : 1
0 commit comments