gfhjghjgfhj
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Successful in 11m1s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Successful in 2m22s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Failing after 4m37s
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-and-push-rootfs-archives (push) Successful in 11m1s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Successful in 2m22s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Failing after 4m37s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been skipped
This commit is contained in:
@@ -149,18 +149,15 @@ jobs:
|
|||||||
cd debian-base
|
cd debian-base
|
||||||
|
|
||||||
# Wait for all versions to show up
|
# Wait for all versions to show up
|
||||||
|
missing_versions=()
|
||||||
for version in $VERSIONS; do
|
for version in $VERSIONS; do
|
||||||
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
|
||||||
echo "[OK] Found $version archive"
|
missing_versions+=("$version")
|
||||||
break
|
|
||||||
else
|
|
||||||
echo "[WAIT] $version not ready yet, sleeping 10s..."
|
|
||||||
sleep 10
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [[ ! -f "$version/debian-$version.tar.bz2" ]]; then
|
if [[ ${#missing_versions[@]} -gt 0 ]]; then
|
||||||
echo "[ERROR] $version archive still missing after wait period."
|
echo "[ERROR] Missing archives for: ${missing_versions[*]}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@@ -184,7 +181,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
generate-changelogs:
|
generate-changelogs:
|
||||||
needs: build-and-push-docker-images
|
needs: build-and-push-rootfs-archives
|
||||||
runs-on: doc-docker-build
|
runs-on: doc-docker-build
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
@@ -193,7 +190,7 @@ jobs:
|
|||||||
- name: Clone upload repo
|
- name: Clone upload repo
|
||||||
run: |
|
run: |
|
||||||
GIT_CREDENTIAL="${{ secrets.GIT_TOKEN || secrets.GIT_PASSWORD }}"
|
GIT_CREDENTIAL="${{ secrets.GIT_TOKEN || secrets.GIT_PASSWORD }}"
|
||||||
git clone "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo
|
git clone --depth=50 "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo
|
||||||
|
|
||||||
- name: Generate per-version changelogs
|
- name: Generate per-version changelogs
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user