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
|
- name: Checkout source
|
||||||
uses: actions/checkout@v3
|
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
|
- name: Debug mount inside container
|
||||||
run: |
|
run: |
|
||||||
docker run --rm --privileged \
|
docker run --rm --privileged \
|
||||||
@@ -42,18 +36,12 @@ jobs:
|
|||||||
fithwum/debian-buster-base \
|
fithwum/debian-buster-base \
|
||||||
bash -c "ls -lah /output; touch /output/test_debug && ls -lah /output"
|
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
|
- name: Clean workspace tarballs before build
|
||||||
run: |
|
run: |
|
||||||
echo "[INFO] Cleaning old tarballs..."
|
echo "[INFO] Cleaning old tarballs..."
|
||||||
rm -f ./debian-*.tar.bz2
|
rm -f ."${{ env.OUTPUT_DIR }}"/*/debian-*.tar.bz2
|
||||||
rm -f ./rootfs-*.tar.bz2
|
rm -f ."${{ env.OUTPUT_DIR }}"/*/rootfs-*.tar.bz2
|
||||||
rm -f ./sha256sums.txt
|
rm -f ."${{ env.OUTPUT_DIR }}"/sha256sums.txt
|
||||||
|
|
||||||
- name: Build all Debian rootfs versions sequentially
|
- name: Build all Debian rootfs versions sequentially
|
||||||
run: |
|
run: |
|
||||||
@@ -75,7 +63,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
IFS=' ' read -r -a versions <<< "$VERSIONS"
|
IFS=' ' read -r -a versions <<< "$VERSIONS"
|
||||||
for version in "${versions[@]}"; do
|
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
|
if [[ ! -f "$path" ]]; then
|
||||||
echo "[ERROR] Missing archive: $path"
|
echo "[ERROR] Missing archive: $path"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user