Add debugging for Docker mount and file transfer
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 1m24s
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 1m24s
- Add debugging before and after Docker run to see file state - Add explicit step to verify .deb file is available on host - This will help identify if Docker mount is working correctly - The .deb file should be available due to -v mount but let's verify
This commit is contained in:
parent
564f590163
commit
456b9ee04a
1 changed files with 22 additions and 0 deletions
|
|
@ -68,6 +68,9 @@ jobs:
|
||||||
- name: Build bootupd inside container
|
- name: Build bootupd inside container
|
||||||
run: |
|
run: |
|
||||||
cd /tmp/bootupd-sdboot
|
cd /tmp/bootupd-sdboot
|
||||||
|
echo "Current directory before Docker run: $(pwd)"
|
||||||
|
echo "Files in current directory before Docker run:"
|
||||||
|
ls -la
|
||||||
docker run --rm -v $(pwd):/workspace bootupd-sdboot:latest bash -c "
|
docker run --rm -v $(pwd):/workspace bootupd-sdboot:latest bash -c "
|
||||||
# Setup apt-cacher-ng inside container if available
|
# Setup apt-cacher-ng inside container if available
|
||||||
if timeout 5 curl -s --connect-timeout 3 \
|
if timeout 5 curl -s --connect-timeout 3 \
|
||||||
|
|
@ -122,7 +125,26 @@ jobs:
|
||||||
echo \"Looking for .deb files in /workspace:\" && \
|
echo \"Looking for .deb files in /workspace:\" && \
|
||||||
ls -la /workspace/*.deb 2>/dev/null || echo \"No .deb files found in /workspace\"
|
ls -la /workspace/*.deb 2>/dev/null || echo \"No .deb files found in /workspace\"
|
||||||
"
|
"
|
||||||
|
echo "Current directory after Docker run: $(pwd)"
|
||||||
|
echo "Files in current directory after Docker run:"
|
||||||
|
ls -la
|
||||||
|
|
||||||
|
- name: Copy Debian package from Docker container
|
||||||
|
run: |
|
||||||
|
cd /tmp/bootupd-sdboot
|
||||||
|
echo "Copying .deb file from Docker container..."
|
||||||
|
|
||||||
|
# The .deb file should be in the current directory due to Docker mount
|
||||||
|
# But let's verify and copy it explicitly if needed
|
||||||
|
if [ -f "bootupd_0.1.0++_amd64.deb" ]; then
|
||||||
|
echo "✅ .deb file found in current directory"
|
||||||
|
ls -la bootupd_0.1.0++_amd64.deb
|
||||||
|
else
|
||||||
|
echo "❌ .deb file not found in current directory"
|
||||||
|
echo "Files in current directory:"
|
||||||
|
ls -la
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload to Forgejo Debian Registry
|
- name: Upload to Forgejo Debian Registry
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue