asdasgfd
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Has been cancelled
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Has been cancelled
This commit is contained in:
@@ -29,12 +29,6 @@ jobs:
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Check host output
|
||||
run: |
|
||||
mkdir -p "${{ env.OUTPUT_DIR }}"
|
||||
touch "${{ env.OUTPUT_DIR }}"/test_from_vm
|
||||
ls -lah "${{ env.OUTPUT_DIR }}"
|
||||
|
||||
- name: Debug mount inside container
|
||||
run: |
|
||||
docker run --rm --privileged \
|
||||
@@ -42,18 +36,12 @@ jobs:
|
||||
fithwum/debian-buster-base \
|
||||
bash -c "ls -lah /output; touch /output/test_debug && ls -lah /output"
|
||||
|
||||
- name: Check host output (repeat)
|
||||
run: |
|
||||
mkdir -p "${{ env.OUTPUT_DIR }}"
|
||||
touch "${{ env.OUTPUT_DIR }}"/test_from_vm
|
||||
ls -lah "${{ env.OUTPUT_DIR }}"
|
||||
|
||||
- name: Clean workspace tarballs before build
|
||||
run: |
|
||||
echo "[INFO] Cleaning old tarballs..."
|
||||
rm -f ./debian-*.tar.bz2
|
||||
rm -f ./rootfs-*.tar.bz2
|
||||
rm -f ./sha256sums.txt
|
||||
rm -f ."${{ env.OUTPUT_DIR }}"/*/debian-*.tar.bz2
|
||||
rm -f ."${{ env.OUTPUT_DIR }}"/*/rootfs-*.tar.bz2
|
||||
rm -f ."${{ env.OUTPUT_DIR }}"/sha256sums.txt
|
||||
|
||||
- name: Build all Debian rootfs versions sequentially
|
||||
run: |
|
||||
@@ -75,7 +63,7 @@ jobs:
|
||||
run: |
|
||||
IFS=' ' read -r -a versions <<< "$VERSIONS"
|
||||
for version in "${versions[@]}"; do
|
||||
path="${{ env.OUTPUT_DIR }}/$version/debian-$version.tar.bz2"
|
||||
path="/output/$version/debian-$version.tar.bz2"
|
||||
if [[ ! -f "$path" ]]; then
|
||||
echo "[ERROR] Missing archive: $path"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user