Files
mytimetracker/.gitea/workflows/buildAndDeply.yaml
nilzbu 4f3a5d4d66
Some checks failed
Build-und-Deploy (Probe) / build (push) Failing after 28s
pipeline
2025-08-09 18:15:58 +02:00

35 lines
886 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Build-und-Deploy (Probe)
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
# KEINE container.volumes hier die Mounts kommen vom Runner
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"