-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cirrus.yml
More file actions
81 lines (80 loc) · 2.28 KB
/
.cirrus.yml
File metadata and controls
81 lines (80 loc) · 2.28 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
---
integration_smoke_task:
name: Tart Integration (Smoke)
only_if: >-
$CIRRUS_PR != '' &&
$CIRRUS_PR_LABELS !=~ '(^|,)ci:integration-full(,|$)' &&
changesInclude(
'.cirrus.yml',
'ansible/**',
'assets/**',
'clawbox/**',
'packer/**',
'pyproject.toml',
'scripts/**',
'tests/integration_py/**',
'tests/logic_py/**'
)
required_pr_labels:
- "ci:integration-smoke"
auto_cancellation: $CIRRUS_PR != ''
timeout_in: 60m
macos_instance:
image: ghcr.io/cirruslabs/macos-runner:sequoia
env:
CLAWBOX_CI_EXHAUSTIVE: "false"
CLAWBOX_CI_PROFILE: "smoke"
bootstrap_script:
- ./scripts/ci/bootstrap.sh integration
test_script:
- test "$CLAWBOX_CI_EXHAUSTIVE" = "false"
- test "$CLAWBOX_CI_PROFILE" = "smoke"
- ./scripts/ci/run.sh integration
always:
diagnostics_script:
- mkdir -p ci-artifacts
- tart list --format json > ci-artifacts/tart-list.json || true
- tart list > ci-artifacts/tart-list.txt || true
- cp -R .clawbox ci-artifacts/clawbox-state || true
- cp -R ansible ci-artifacts/ansible || true
diagnostics_artifacts:
path: "ci-artifacts/**"
integration_full_task:
name: Tart Integration (Full)
only_if: >-
$CIRRUS_PR != '' &&
changesInclude(
'.cirrus.yml',
'ansible/**',
'assets/**',
'clawbox/**',
'packer/**',
'pyproject.toml',
'scripts/**',
'tests/integration_py/**',
'tests/logic_py/**'
)
required_pr_labels:
- "ci:integration-full"
auto_cancellation: $CIRRUS_PR != ''
timeout_in: 120m
macos_instance:
image: ghcr.io/cirruslabs/macos-runner:sequoia
env:
CLAWBOX_CI_EXHAUSTIVE: "false"
CLAWBOX_CI_PROFILE: "full"
bootstrap_script:
- ./scripts/ci/bootstrap.sh integration
test_script:
- test "$CLAWBOX_CI_EXHAUSTIVE" = "false"
- test "$CLAWBOX_CI_PROFILE" = "full"
- ./scripts/ci/run.sh integration
always:
diagnostics_script:
- mkdir -p ci-artifacts
- tart list --format json > ci-artifacts/tart-list.json || true
- tart list > ci-artifacts/tart-list.txt || true
- cp -R .clawbox ci-artifacts/clawbox-state || true
- cp -R ansible ci-artifacts/ansible || true
diagnostics_artifacts:
path: "ci-artifacts/**"