This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user