pipeline
Some checks failed
Probe-Mounts / build (push) Failing after 23s

This commit is contained in:
nilzbu
2025-08-09 18:18:31 +02:00
parent 4f3a5d4d66
commit 587e2dbdf2

View File

@@ -1,4 +1,4 @@
name: Build-und-Deploy (Probe)
name: Probe-Mounts
on:
push:
@@ -7,28 +7,17 @@ on:
jobs:
build:
runs-on: ubuntu-latest
# KEINE container.volumes hier die Mounts kommen vom Runner
container:
image: ci-java21-node20:latest
steps:
- name: 📥 Checkout
- name: Checkout
uses: actions/checkout@v4
- name: "🔎 Probe: Mounts & Env"
- name: Write marker into shared volume
if: ${{ always() }}
shell: bash
run: |
set -euxo pipefail
ts="$(date +'%Y%m%d-%H%M%S')"
LOG="/shared_jar_data/ci-probe.log"
{
echo "=== PROBE $ts ==="
echo "HOST=$(hostname)"
echo "PWD=$(pwd)"
echo "JAVA_HOME=${JAVA_HOME:-<leer>}"
java -version
node -v
pnpm -v || true
ls -ld /shared_jar_data /shared_trigger_dir || true
} |& tee -a "$LOG"
echo "$ts" > "/shared_jar_data/probe-$ts.txt"
date | tee /shared_jar_data/PROBE_MARKER.txt
ls -ld /shared_jar_data /shared_trigger_dir || true