This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Build-und-Deploy (Probe)
|
name: Probe-Mounts
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -7,28 +7,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# KEINE container.volumes hier – die Mounts kommen vom Runner
|
|
||||||
container:
|
container:
|
||||||
image: ci-java21-node20:latest
|
image: ci-java21-node20:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 📥 Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: "🔎 Probe: Mounts & Env"
|
- name: Write marker into shared volume
|
||||||
|
if: ${{ always() }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
ts="$(date +'%Y%m%d-%H%M%S')"
|
date | tee /shared_jar_data/PROBE_MARKER.txt
|
||||||
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
|
ls -ld /shared_jar_data /shared_trigger_dir || true
|
||||||
} |& tee -a "$LOG"
|
|
||||||
echo "$ts" > "/shared_jar_data/probe-$ts.txt"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user