Repository navigation
47 lines (43 loc) · 1.93 KB
/
Copy pathintegration-mini-stack.yml
File metadata and controls
47 lines (43 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Integration mini-stack
# The fake-daemon docker mini-stack (issue #54, tier 3): brings up the REAL dashboard +
# docker-control proxy against controllable fake monerod/Tari and asserts the control plane
# (sync hold/release, node-down reject/readmit) end-to-end. It needs a Docker daemon, so it
# runs as its own job (not part of the always-on CI matrix), triggered on changes to the
# integration harness, the dashboard, or CLI control-plane source, and on demand.
on:
workflow_dispatch:
pull_request:
paths:
- "tests/integration/**"
- "dashboard/**"
- "lib/pithead/**"
- ".github/workflows/integration-mini-stack.yml"
permissions:
contents: read
# Cancel superseded PR runs; push runs on main/develop (if ever triggered) complete. #415.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
mini-stack:
name: Fake-daemon mini-stack (docker)
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/docker-registry-mirror
# ubuntu-latest ships Docker with the Compose v2 plugin — no setup needed.
- name: Run the fake-daemon mini-stack
run: bash tests/integration/mini-stack/run-mini-stack.sh
- name: Verify boot health access accounting through rendered Caddy
run: bash tests/integration/mini-stack/test-boot-health-proxy.sh
- name: Start and check the real view-only wallets
run: bash tests/integration/mini-stack/test-real-wallets.sh
- name: Dump dashboard logs on failure
if: failure()
env:
PITHEAD_ITEST_CONTROL_DIR: /tmp/itest-control
PITHEAD_LOCK_FILE: /tmp/itest.lock
run: docker compose -f tests/integration/mini-stack/docker-compose.fake.yml logs --no-color || true