Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/attestation-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Proof of Attestation

on:
repository_dispatch:
types: [tropibot-attestation-test]
workflow_dispatch:
inputs:
execution_client:
description: "Execution Client"
required: true
type: choice
options: [geth, nethermind, besu, erigon, reth]
ipfs_hash:
description: "Optional pre-built IPFS hash to test against"
required: false
type: string
default: ""

jobs:
attestation-test:
uses: dappnode/workflows/.github/workflows/staking-attestation-test.yml@master
with:
consensus_client: "lighthouse"
execution_client: ${{ github.event.client_payload.execution_client || inputs.execution_client || '' }}
pr_number: ${{ github.event.client_payload.pr_number || github.event.pull_request.number || '' }}
head_ref: ${{ github.event.client_payload.head_ref || github.event.pull_request.head.ref || github.ref_name }}
sender: ${{ github.event.client_payload.sender || github.event.pull_request.user.login || github.actor }}
ipfs_hash: ${{ github.event.client_payload.ipfs_hash || inputs.ipfs_hash || '' }}
secrets: inherit
13 changes: 12 additions & 1 deletion .github/workflows/sync-test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
name: Execution Client Sync Test

on:
repository_dispatch:
types: [tropibot-sync-test]
workflow_dispatch:
inputs:
execution_client:
description: "Execution Client"
required: true
type: choice
options: [geth, nethermind, besu, erigon, reth]
ipfs_hash:
description: "Optional pre-built IPFS hash to test against"
required: false
type: string
default: ""
pull_request:
branches:
- "main"
Expand All @@ -19,5 +26,9 @@ jobs:
uses: dappnode/workflows/.github/workflows/staking-sync-test.yml@master
with:
consensus_client: "lighthouse"
execution_client: ${{ inputs.execution_client || '' }}
execution_client: ${{ github.event.client_payload.execution_client || inputs.execution_client || '' }}
pr_number: ${{ github.event.client_payload.pr_number || github.event.pull_request.number || '' }}
head_ref: ${{ github.event.client_payload.head_ref || github.event.pull_request.head.ref || github.ref_name }}
sender: ${{ github.event.client_payload.sender || github.event.pull_request.user.login || github.actor }}
ipfs_hash: ${{ github.event.client_payload.ipfs_hash || inputs.ipfs_hash || '' }}
secrets: inherit