-
Notifications
You must be signed in to change notification settings - Fork 13
65 lines (61 loc) · 1.71 KB
/
chainsync.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
name: chainsync
on:
schedule:
# Run on Monday at 1am UTC
- cron: '0 1 * * 1'
# TODO: remove me
push:
branches:
- ci/chainsync-schedule
jobs:
mainnet:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.20.x
- run: |
make
- id: sync
continue-on-error: true
run: |
./gouroboros -network mainnet -address relays-new.cardano-mainnet.iohk.io:3001 -ntn chain-sync -bulk
preview:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.20.x
- run: |
make
- id: sync
#continue-on-error: true
run: |
./gouroboros -network preview -address preprod-node.world.dev.cardano.org:30002 -ntn chain-sync -bulk
- if: steps.sync.outcome == 'success'
uses: rjstone/discord-webhook-notify@v1
with:
severity: info
details: Chain sync test succeeded
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL_TEST }}
- if: steps.sync.outcome == 'failure'
uses: rjstone/discord-webhook-notify@v1
with:
severity: info
details: Chain sync test failed
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL_TEST }}
preprod:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.20.x
- run: |
make
- id: sync
continue-on-error: true
run: |
./gouroboros -network preprod -address preprod-node.world.dev.cardano.org:30000 -ntn chain-sync -bulk