35 lines
908 B
YAML
35 lines
908 B
YAML
name: Build-und-Deploy (Probe)
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
# WICHTIG: hier KEINE container.volumes eintragen (die kommen über den Runner) test2
|
|
container:
|
|
image: ci-java21-node20:latest
|
|
|
|
steps:
|
|
- name: 📥 Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: "🔎 Probe: Mounts & Env"
|
|
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"
|