-
Notifications
You must be signed in to change notification settings - Fork 0
90 lines (75 loc) · 2.43 KB
/
Copy pathintegration.yml
File metadata and controls
90 lines (75 loc) · 2.43 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: integration
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
postgres:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:17-alpine
env:
POSTGRES_USER: webhookery
POSTGRES_PASSWORD: webhookery-ci
POSTGRES_DB: webhookery
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U webhookery -d webhookery"
--health-interval 5s
--health-timeout 3s
--health-retries 20
env:
WEBHOOKERY_TEST_DATABASE_URL: postgres://webhookery:webhookery-ci@localhost:5432/webhookery?sslmode=disable
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: actions/setup-node@v4
with:
node-version: "24"
- uses: actions/setup-python@v6
with:
python-version: "3.13"
- uses: hashicorp/setup-terraform@v3
- name: Install SDK check tools
run: npm install --global typescript
- name: Live Postgres quality gate
id: live_postgres_check
run: make live-postgres-check
- name: DB-backed coverage gate
id: db_coverage
run: make coverage-db-check
- name: Provider conformance evidence
id: provider_conformance
run: make provider-conformance-check
- name: Performance smoke evidence
id: perf_smoke
run: make perf-smoke
- name: DB-backed release-candidate checks
id: rc_check
run: make rc-check
- name: Capture integration evidence
if: always()
env:
LIVE_POSTGRES_CHECK_OUTCOME: ${{ steps.live_postgres_check.outcome }}
DB_COVERAGE_OUTCOME: ${{ steps.db_coverage.outcome }}
PROVIDER_CONFORMANCE_OUTCOME: ${{ steps.provider_conformance.outcome }}
PERF_SMOKE_OUTCOME: ${{ steps.perf_smoke.outcome }}
RC_CHECK_OUTCOME: ${{ steps.rc_check.outcome }}
RESTORE_DRILL_STATUS: skipped_not_configured
BRANCH_PROTECTION_STATUS: not_checked_by_workflow
EXTERNAL_REVIEW_STATUS: not_completed_or_not_attached
run: scripts/integration_evidence.sh
- name: Upload integration evidence
if: always()
uses: actions/upload-artifact@v4
with:
name: integration-evidence
path: integration-evidence/