-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 995 Bytes
/
sync.yml
File metadata and controls
34 lines (32 loc) · 995 Bytes
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
name: Execution Client Sync Production
on:
schedule:
- cron: "0 5 * * *"
workflow_dispatch:
inputs:
consensus_client:
description: "Consensus Client"
required: true
type: choice
options: [lodestar, teku, prysm, nimbus, lighthouse]
jobs:
sync:
runs-on: staking-test-hoodi
steps:
- name: Run sync
run: |
docker run --rm --pull=always --network dncore_network \
-v /var/run/docker.sock:/var/run/docker.sock \
-e MODE=sync \
-e EXECUTION_CLIENT='reth' \
-e CONSENSUS_CLIENT=${{ github.event.inputs.consensus_client }} \
-e NETWORK=hoodi \
ghcr.io/dappnode/staker-test-util/test-runner:latest
notify:
needs: sync
if: always() && needs.sync.result != 'skipped'
uses: dappnode/staker-test-util/.github/workflows/notify-discord.yml@main
with:
result: ${{ needs.sync.result }}
test_type: "sync"
secrets: inherit