Skip to content

Commit

Permalink
fix: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed Jan 2, 2024
1 parent 627c926 commit 5bf5182
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/dashboard_erigon.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Daily Run Erigon
name: Daily Run Erigon Withdrawals

on:
schedule:
Expand Down Expand Up @@ -46,12 +46,8 @@ jobs:
run: |
./hive --sim ethereum/engine --sim.limit="withdrawals" --client erigon --results-root=${{ github.workspace }}/runs --loglevel=5 --client.checktimelimit=10m --docker.output
- name: Run Erigon Cancun tests
continue-on-error: true
run: |
./hive --sim ethereum/engine --sim.limit="cancun" --client erigon --results-root=${{ github.workspace }}/runs --loglevel=5 --client.checktimelimit=10m --docker.output
- name: Send file over SSH
if: always()
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_HOST }}
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/dashboard_erigon_cancun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Daily Run Erigon Cancun

on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight UTC
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
types: [ closed ]

jobs:
hive-run:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Checkout code
uses: actions/checkout@v2

- name: Download dependencies
run: go get -v ./...

- name: Build hive
run: go build -v -o hive hive.go

- name: Run Erigon Cancun tests
continue-on-error: true
run: |
./hive --sim ethereum/engine --sim.limit="cancun" --client erigon --results-root=${{ github.workspace }}/runs --loglevel=5 --client.checktimelimit=10m --docker.output
- name: Send file over SSH
if: always()
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
source: ${{ github.workspace }}/runs/*
target: ${{ secrets.DIR }}/
8 changes: 2 additions & 6 deletions .github/workflows/dashboard_nethermind.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Daily Run Nethermind
name: Daily Run Nethermind Withdrawals

on:
schedule:
Expand Down Expand Up @@ -46,12 +46,8 @@ jobs:
run: |
./hive --sim ethereum/engine --sim.limit="withdrawals" --client nethermind --results-root=${{ github.workspace }}/runs --loglevel=5 --client.checktimelimit=10m --docker.output
- name: Run Nethermind Cancun tests
continue-on-error: true
run: |
./hive --sim ethereum/engine --sim.limit="cancun" --client nethermind --results-root=${{ github.workspace }}/runs --loglevel=5 --client.checktimelimit=10m --docker.output
- name: Send file over SSH
if: always()
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_HOST }}
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/dashboard_nethermind_cancun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Daily Run Nethermind Cancun

on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight UTC
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
types: [ closed ]

jobs:
hive-run:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
- name: Checkout code
uses: actions/checkout@v2

- name: Download dependencies
run: go get -v ./...

- name: Build hive
run: go build -v -o hive hive.go

- name: Run Nethermind Cancun tests
continue-on-error: true
run: |
./hive --sim ethereum/engine --sim.limit="cancun" --client nethermind --results-root=${{ github.workspace }}/runs --loglevel=5 --client.checktimelimit=10m --docker.output
- name: Send file over SSH
if: always()
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
source: ${{ github.workspace }}/runs/*
target: ${{ secrets.DIR }}/

0 comments on commit 5bf5182

Please sign in to comment.