test
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Successful in 11m34s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Failing after 1m44s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Successful in 2m10s

This commit is contained in:
2025-07-09 14:57:44 -07:00
parent ef07c57252
commit d6515ab98f

View File

@@ -151,11 +151,21 @@ jobs:
# Wait for all versions to show up
missing_versions=()
for version in $VERSIONS; do
found=0
for i in {1..30}; do
if [[ ! -f "$version/debian-$version.tar.bz2" ]]; then
if [[ -f "$version/debian-$version.tar.bz2" ]]; then
found=1
break
else
echo "[WAIT] $version not ready yet, sleeping 10s..."
sleep 10
fi
done
if [[ $found -eq 0 ]]; then
missing_versions+=("$version")
fi
done
if [[ ${#missing_versions[@]} -gt 0 ]]; then
echo "[ERROR] Missing archives for: ${missing_versions[*]}"
exit 1
@@ -203,7 +213,7 @@ jobs:
mkdir -p "$(dirname "$changelog")"
echo -e "## $(date -u +'%Y-%m-%dT%H:%M:%SZ')\n" >> "$changelog"
git log -n 10 --pretty=format:"- %s (%an)" >> "$changelog"
git log -n 3 --pretty=format:"- %h %ad %s (%an)" --date=short >> "$changelog"
done
- name: Copy generated changelogs into repo
@@ -307,7 +317,7 @@ jobs:
--arg digest "$digest" \
--arg image_size "$size_human" \
--argjson image_size_bytes "$size_bytes" \
--arg sha256 "$sha256" \
--arg sha256 "$SHA256" \
'{
version: $version,
commit: $commit,
@@ -316,7 +326,7 @@ jobs:
digest: $digest,
image_size: $image_size,
image_size_bytes: $image_size_bytes,
rootfs_sha256: $sha256
rootfs_sha256: $SHA256
}' > "$infofile"
done