-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (46 loc) · 1.35 KB
/
Copy pathintegration.yml
File metadata and controls
53 lines (46 loc) · 1.35 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
name: Integration Tests
on:
push:
branches: [main]
paths:
- 'integration/**'
- '.scripts/integration.ts'
- 'services/compose.mock-openai.yml'
- 'services/mock-openai/override.env'
pull_request:
branches: [main]
paths:
- 'integration/**'
- '.scripts/integration.ts'
- 'services/compose.mock-openai.yml'
- 'services/mock-openai/override.env'
workflow_dispatch:
workflow_call:
jobs:
integration:
name: Integration Smoke Suite
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Verify Docker
run: |
docker --version
docker compose version
- name: Make scripts executable
run: |
chmod +x harbor.sh
chmod +x integration/guest/run.sh
chmod +x integration/guest/preflight.sh
chmod +x integration/guest/collect-artifacts.sh
- name: Run integration suite
run: bash integration/guest/run.sh --inside-vm
env:
HARBOR_INT_ARTIFACTS_DIR: ${{ github.workspace }}/integration/artifacts/${{ github.run_id }}
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: integration-artifacts-${{ github.run_id }}
path: integration/artifacts/
retention-days: 7