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,15 +151,25 @@ jobs:
# Wait for all versions to show up # Wait for all versions to show up
missing_versions=() missing_versions=()
for version in $VERSIONS; do for version in $VERSIONS; do
found=0
for i in {1..30}; do 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") missing_versions+=("$version")
fi fi
done done
if [[ ${#missing_versions[@]} -gt 0 ]]; then
echo "[ERROR] Missing archives for: ${missing_versions[*]}" if [[ ${#missing_versions[@]} -gt 0 ]]; then
exit 1 echo "[ERROR] Missing archives for: ${missing_versions[*]}"
fi exit 1
fi
done done
- name: Set up Docker Buildx - name: Set up Docker Buildx
@@ -203,7 +213,7 @@ jobs:
mkdir -p "$(dirname "$changelog")" mkdir -p "$(dirname "$changelog")"
echo -e "## $(date -u +'%Y-%m-%dT%H:%M:%SZ')\n" >> "$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 done
- name: Copy generated changelogs into repo - name: Copy generated changelogs into repo
@@ -307,7 +317,7 @@ jobs:
--arg digest "$digest" \ --arg digest "$digest" \
--arg image_size "$size_human" \ --arg image_size "$size_human" \
--argjson image_size_bytes "$size_bytes" \ --argjson image_size_bytes "$size_bytes" \
--arg sha256 "$sha256" \ --arg sha256 "$SHA256" \
'{ '{
version: $version, version: $version,
commit: $commit, commit: $commit,
@@ -316,7 +326,7 @@ jobs:
digest: $digest, digest: $digest,
image_size: $image_size, image_size: $image_size,
image_size_bytes: $image_size_bytes, image_size_bytes: $image_size_bytes,
rootfs_sha256: $sha256 rootfs_sha256: $SHA256
}' > "$infofile" }' > "$infofile"
done done