dfsgdsfgdf
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-rootfs-archives (push) Successful in 8m40s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / push-archives-to-repo (push) Failing after 1m4s
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:
2025-07-07 10:36:47 -07:00
parent ed4315bfb7
commit 37fcc6a19b

View File

@@ -39,40 +39,17 @@ jobs:
bash base-image-script/debian-${version}_pt1.sh bash base-image-script/debian-${version}_pt1.sh
done done
- name: Calculate SHA256 checksums
run: |
echo "[DEBUG] Current working directory: $(pwd)"
find . -name 'debian-*.tar.bz2' -ls
rm -f sha256sums.txt
shopt -s nullglob
for tarball in */debian-*.tar.bz2; do
echo "[INFO] Processing: $tarball"
checksum=$(sha256sum "$tarball" | awk '{print $1}')
echo "$checksum $tarball" >> sha256sums.txt
echo "[INFO] SHA256 for $tarball: $checksum"
done
echo "[DEBUG] Contents of sha256sums.txt:"
cat sha256sums.txt
- name: List output archives - name: List output archives
run: | run: |
echo "[INFO] Looking for tarballs in workspace..." echo "[INFO] Looking for tarballs in workspace..."
find . -name '*.tar.bz2' -exec ls -lh {} \; find . -name '*.tar.bz2' -exec ls -lh {} \;
- name: Debug workspace contents # - name: Debug workspace contents
run: | # run: |
echo "Current directory:" # echo "Current directory:"
pwd # pwd
echo "Contents:" # echo "Contents:"
ls -R # ls -R
- name: Upload SHA256 checksums
uses: actions/upload-artifact@v3
with:
name: sha256sums
path: sha256sums.txt
push-archives-to-repo: push-archives-to-repo:
needs: build-rootfs-archives needs: build-rootfs-archives
@@ -86,11 +63,6 @@ jobs:
- name: Clone upload repo - name: Clone upload repo
run: git clone "${{ env.REPO_URL }}" upload-repo run: git clone "${{ env.REPO_URL }}" upload-repo
- name: Download SHA256 checksums
uses: actions/download-artifact@v3
with:
name: sha256sums
- name: Clean old archives in upload-repo - name: Clean old archives in upload-repo
run: rm -rf upload-repo/*/*.tar.bz2 run: rm -rf upload-repo/*/*.tar.bz2
@@ -108,13 +80,19 @@ jobs:
cp "$filepath" upload-repo/"$version_dir"/ cp "$filepath" upload-repo/"$version_dir"/
done done
- name: Copy sha256sums.txt to upload-repo - name: Calculate and store sha256sums in upload-repo
run: | run: |
if [ -f sha256sums.txt ]; then cd upload-repo
cp sha256sums.txt upload-repo/ echo "[INFO] Calculating sha256sums..."
else rm -f sha256sums.txt
echo "[WARNING] sha256sums.txt not found" for tarball in */debian-*.tar.bz2; do
fi echo "[INFO] Processing: $tarball"
checksum=$(sha256sum "$tarball" | awk '{print $1}')
echo "$checksum $tarball" >> sha256sums.txt
done
echo "[INFO] SHA256 contents:"
cat sha256sums.txt
- name: Commit and push files if changed - name: Commit and push files if changed
id: commit_archives id: commit_archives