-
Notifications
You must be signed in to change notification settings - Fork 15
87 lines (86 loc) · 2.27 KB
/
ci-development.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
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
# This CI runs a lot of the jobs in parallel to speed up development time. We also run a simpler suite of bouncer tests.
name: Release Chainflip Development
on:
pull_request:
branches:
- main
- "release/*"
concurrency:
group: ${{ github.ref }}-release-development
cancel-in-progress: true
jobs:
pre-check:
uses: ./.github/workflows/_01_pre_check.yml
secrets: inherit
force-version-bump:
uses: ./.github/workflows/_05_force_version_bump.yml
secrets: inherit
with:
network-to-check-against: "sisyphos"
test:
uses: ./.github/workflows/_10_test.yml
secrets: inherit
coverage:
uses: ./.github/workflows/_11_coverage.yml
with:
test_features: runtime-benchmarks
secrets: inherit
build:
uses: ./.github/workflows/_20_build.yml
secrets: inherit
with:
profile: "release"
# Used to test upgrades to this version from the latest release
build-try-runtime:
uses: ./.github/workflows/_20_build.yml
secrets: inherit
with:
profile: "try-runtime"
upload-name: "chainflip-backend-bin-try-runtime"
binary-subdir: release
build-benchmarks:
uses: ./.github/workflows/_20_build.yml
secrets: inherit
with:
profile: "benchmarks"
upload-name: "chainflip-backend-bin-benchmarks"
binary-subdir: release
docker:
needs: [build]
uses: ./.github/workflows/_24_docker.yml
secrets: inherit
with:
network: "test"
environment: "development"
package:
needs: [build]
uses: ./.github/workflows/_25_package.yml
with:
network: "test"
secrets: inherit
post-check:
needs: [build]
uses: ./.github/workflows/_40_post_check.yml
secrets: inherit
with:
full-bouncer: false
ngrok: true
test-benchmarks:
needs: [build-benchmarks]
uses: ./.github/workflows/_41_test_benchmarks.yml
upgrade-check:
needs: [build-try-runtime]
uses: ./.github/workflows/upgrade-test.yml
secrets: inherit
with:
run-job: false
publish:
needs: [package]
uses: ./.github/workflows/_30_publish.yml
with:
version: ci/${{ github.sha }}/
environment: "development"
secrets: inherit
merge-commit-summary:
needs: [publish]
uses: ./.github/workflows/_04_merge_commit_summary.yml