forked from AntelopeIO/reference-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline.yml
38 lines (33 loc) · 1.01 KB
/
pipeline.yml
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
steps:
- wait
- label: ":ubuntu: Ubuntu 18.04 - Build"
command: |
./.cicd/build.sh
tar -pczf build.tar.gz build
buildkite-agent artifact upload build.tar.gz
agents:
queue: "automation-eks-eos-builder-fleet"
timeout: "${TIMEOUT:-60}"
skip: "$SKIP_UBUNTU_18"
- wait
- label: ":ubuntu: Ubuntu 18.04 - Test"
command: |
buildkite-agent artifact download build.tar.gz . --step ':ubuntu: Ubuntu 18.04 - Build'
tar -xzf build.tar.gz
./.cicd/test.sh
agents:
queue: "automation-eks-eos-tester-fleet"
timeout: "${TIMEOUT:-10}"
skip: "$SKIP_UBUNTU_18"
- wait:
continue_on_failure: true
- label: ":bar_chart: Test Metrics"
command: |
echo '+++ :compression: Extracting Test Metrics Code'
tar -zxf .cicd/metrics/test-metrics.tar.gz
echo '+++ :javascript: Running test-metrics.js'
node --max-old-space-size=32768 test-metrics.js
agents:
queue: "automation-eks-eos-tester-fleet"
timeout: 10
soft_fail: true