From 587e2dbdf2a1c7b70df210de2bbe1add8882b49c Mon Sep 17 00:00:00 2001 From: nilzbu Date: Sat, 9 Aug 2025 18:18:31 +0200 Subject: [PATCH] pipeline --- .gitea/workflows/buildAndDeply.yaml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/buildAndDeply.yaml b/.gitea/workflows/buildAndDeply.yaml index 86864bb..30ed8e5 100644 --- a/.gitea/workflows/buildAndDeply.yaml +++ b/.gitea/workflows/buildAndDeply.yaml @@ -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:-}" - 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