'Generic Commit'
Some checks failed
dropshell-build / build (push) Failing after 1m11s

This commit is contained in:
Your Name 2025-06-01 11:57:56 +12:00
parent 11efaa3ff5
commit b1e90eff90
2 changed files with 9 additions and 18 deletions

View File

@ -22,18 +22,9 @@ jobs:
- name: Build - name: Build
run: | run: |
./dropshell-build/build.sh ./dropshell-build/build.sh
- name: Debug Docker Environment
run: |
echo "PWD: $(pwd)"
echo "GITHUB_WORKSPACE: ${GITHUB_WORKSPACE:-not set}"
echo "Runner workspace: ${{ github.workspace }}"
echo "Docker info:"
docker info | grep -E "(Docker Root Dir|Storage Driver)" || true
echo "Mount info:"
mount | grep -E "(overlay|workspace)" || true
- name: Test - name: Test
run: | run: |
HOST_WORKSPACE_PATH="${{ github.workspace }}" ./dropshell-build/test.sh ./dropshell-build/test.sh
- name: Publish - name: Publish
run: | run: |
SOS_WRITE_TOKEN=${{ secrets.SOS_WRITE_TOKEN }} ./dropshell-build/publish.sh SOS_WRITE_TOKEN=${{ secrets.SOS_WRITE_TOKEN }} ./dropshell-build/publish.sh

View File

@ -196,11 +196,10 @@ function build() {
} }
function buildspawn() { function buildspawn() {
local BUILD_DIR="$1" local BUILD_DIR="${1:-}"
if [ -z "$BUILD_DIR" ] || [ ! -d "$BUILD_DIR" ]; then [ -n "${BUILD_DIR:-}" ] || die "No Build Directory given!"
echo "Error: builddir doesn't exist: $BUILD_DIR" [ -d "$BUILD_DIR" ] || die "Build Directory doesn't exist: $BUILD_DIR"
exit 1
fi
# make canonical # make canonical
BUILD_DIR=$(realpath "$BUILD_DIR") BUILD_DIR=$(realpath "$BUILD_DIR")
FLAGS="" FLAGS=""
@ -231,7 +230,8 @@ function buildspawn() {
echo "ls -la using --volumes-from" echo "ls -la using --volumes-from"
echo "GITHUB_WORKSPACE: ${GITHUB_WORKSPACE}" echo "GITHUB_WORKSPACE: ${GITHUB_WORKSPACE}"
echo "BUILD_DIR: ${BUILD_DIR}" echo "BUILD_DIR: ${BUILD_DIR}"
echo "SCRIPT_DIR: ${SCRIPT_DIR}" echo "PWD: ${PWD}"
echo "JOB_CONTAINER_NAME: ${JOB_CONTAINER_NAME}"
# shellcheck disable=SC2086 # shellcheck disable=SC2086
docker run --rm -i --entrypoint /bin/bash \ docker run --rm -i --entrypoint /bin/bash \