33 lines
744 B
YAML
33 lines
744 B
YAML
name: Probe-Mounts
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ci-java21-node20:latest
|
|
|
|
steps:
|
|
- name: Map gitea into /etc/hosts
|
|
if: ${{ always() }}
|
|
shell: bash
|
|
run: |
|
|
set -euxo pipefail
|
|
GW="$(ip route | awk '/default/ {print $3}')"
|
|
echo "$GW gitea" >> /etc/hosts
|
|
getent hosts gitea
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Write marker into shared volume
|
|
if: ${{ always() }}
|
|
shell: bash
|
|
run: |
|
|
set -euxo pipefail
|
|
date | tee /shared_jar_data/PROBE_MARKER.txt
|
|
ls -ld /shared_jar_data /shared_trigger_dir || true
|