test
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-rootfs-archives (push) Failing after 33s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / push-archives-to-repo (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been skipped
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-rootfs-archives (push) Failing after 33s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / push-archives-to-repo (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been skipped
This commit is contained in:
@@ -44,18 +44,21 @@ jobs:
|
|||||||
bash base-image-script/debian-${version}_pt1.sh
|
bash base-image-script/debian-${version}_pt1.sh
|
||||||
|
|
||||||
RAW_ARCHIVE="./debian-${version}.tar.bz2"
|
RAW_ARCHIVE="./debian-${version}.tar.bz2"
|
||||||
|
ALTERNATE_ARCHIVE="./output/debian-${version}.tar.bz2"
|
||||||
FINAL_ARCHIVE="${version}/rootfs-${version}.tar.bz2"
|
FINAL_ARCHIVE="${version}/rootfs-${version}.tar.bz2"
|
||||||
|
|
||||||
if [[ ! -f "$RAW_ARCHIVE" ]]; then
|
if [[ -f "$RAW_ARCHIVE" ]]; then
|
||||||
mkdir -p "$(dirname "$FINAL_ARCHIVE")"
|
echo "[INFO] Found archive at $RAW_ARCHIVE"
|
||||||
RAW_ARCHIVE="./output/debian-${version}.tar.bz2"
|
elif [[ -f "$ALTERNATE_ARCHIVE" ]]; then
|
||||||
echo "[INFO] Moved archive to $FINAL_ARCHIVE"
|
RAW_ARCHIVE="$ALTERNATE_ARCHIVE"
|
||||||
|
echo "[INFO] Found archive at alternate location $RAW_ARCHIVE"
|
||||||
else
|
else
|
||||||
echo "[ERROR] Archive for $version not found: $RAW_ARCHIVE"
|
echo "[ERROR] Archive for $version not found in expected locations:"
|
||||||
|
echo " - $RAW_ARCHIVE"
|
||||||
|
echo " - $ALTERNATE_ARCHIVE"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f "$RAW_ARCHIVE" ]]; then
|
|
||||||
mkdir -p "$(dirname "$FINAL_ARCHIVE")"
|
mkdir -p "$(dirname "$FINAL_ARCHIVE")"
|
||||||
mv "$RAW_ARCHIVE" "$FINAL_ARCHIVE"
|
mv "$RAW_ARCHIVE" "$FINAL_ARCHIVE"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user