forked from public-awesome/mainnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
93 lines (89 loc) · 1.97 KB
/
.drone.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
88
89
90
91
92
93
---
kind: pipeline
type: docker
name: default-build
steps:
- name: check
image: publicawesome/networks-check
environment:
GITHUB_TOKEN:
from_secret: github_token
- name: collect
image: publicawesome/stargaze:beta
commands:
- sh ./ci/check-gentx.sh
- name: runner
image: publicawesome/stargaze:beta
detach: true
commands:
- apk add jq
- sh ./ci/run.sh
- name: check_runner
image: alpine:3
commands:
- apk add curl
- apk add jq
- sh ./ci/check-running-node.sh
- name: failure
image: publicawesome/networks-check
settings:
failure: true
environment:
GITHUB_TOKEN:
from_secret: github_token
when:
status: [failure]
trigger:
event:
- pull_request
---
kind: pipeline
type: docker
name: full_test
steps:
- name: bootstrap
pull: always
image: publicawesome/stargaze:beta
commands:
- apk add tar jq
- sh ./ci/bootstrap-full-test.sh
- name: node0
detach: true
image: publicawesome/stargaze:beta
commands:
- starsd start --home $PWD/tmp/ci-testnet/node0/starsd
- name: node1
detach: true
image: publicawesome/stargaze:beta
commands:
- starsd start --home $PWD/tmp/ci-testnet/node1/starsd
- name: node2
detach: true
image: publicawesome/stargaze:beta
commands:
- starsd start --home $PWD/tmp/ci-testnet/node2/starsd
- name: node3
detach: true
image: publicawesome/stargaze:beta
commands:
- starsd start --home $PWD/tmp/ci-testnet/node3/starsd
- name: readiness
image: publicawesome/stargaze-readiness-checker:latest
settings:
timeout: 900
blocks: 101
chain_list:
- http://node0:26657
- http://node1:26657
- http://node2:26657
- http://node3:26657
trigger:
branch:
- main
event:
- pull_request
- push
---
kind: signature
hmac: 1098bf1eca8133cca3d258e1813959b1d0c17bd1712816d3d2d86ce34aed2582
...