Skip to content
Merged
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
11 changes: 6 additions & 5 deletions .github/workflows/auto_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ on:
branches:
- "master"

permissions:
contents: write
pull-requests: write

jobs:
bump-upstream:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.TROPI_APP_ID }}
private-key: ${{ secrets.TROPI_APP_PRIVATE_KEY }}
- run: npx @dappnode/dappnodesdk github-action bump-upstream --use-variants
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }}
PINATA_SECRET_API_KEY: ${{ secrets.PINATA_SECRET_API_KEY }}
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,18 @@ jobs:
needs: [build]
steps:
- uses: actions/checkout@v6
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.TROPI_APP_ID }}
private-key: ${{ secrets.TROPI_APP_PRIVATE_KEY }}
- name: Run staker test runner
run: |
docker run --rm --pull=always \
--network dncore_network -e CONSENSUS_CLIENT=${{ github.event.inputs.consensus_client }} \
-v /var/run/docker.sock:/var/run/docker.sock \
-e MODE=test -e IPFS_HASH=${{ needs.build.outputs.ipfs_hash }} \
-e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} -e GITHUB_REPOSITORY=${{ github.repository }} -e GITHUB_PR_NUMBER=${{ github.event.pull_request.number }} -e GITHUB_RUN_ID=${{ github.run_id }} -e GITHUB_SERVER_URL=${{ github.server_url }} \
-e GITHUB_TOKEN=${{ steps.app-token.outputs.token }} -e GITHUB_REPOSITORY=${{ github.repository }} -e GITHUB_PR_NUMBER=${{ github.event.pull_request.number }} -e GITHUB_RUN_ID=${{ github.run_id }} -e GITHUB_SERVER_URL=${{ github.server_url }} \
ghcr.io/dappnode/staker-test-util/test-runner:latest

release:
Expand All @@ -55,8 +60,13 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: "22"
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.TROPI_APP_ID }}
private-key: ${{ secrets.TROPI_APP_PRIVATE_KEY }}
- name: Publish
run: npx @dappnode/dappnodesdk publish patch --github-release --content_provider=http://10.200.200.7:5001 --eth_provider=https://web3.dappnode.net --timeout 2h --all-variants
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1"
9 changes: 7 additions & 2 deletions .github/workflows/sync-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,15 @@ jobs:
name: Execution Client Sync Test
needs: [build]
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.TROPI_APP_ID }}
private-key: ${{ secrets.TROPI_APP_PRIVATE_KEY }}
- 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='geth' -e IPFS_HASH=${{ needs.build.outputs.ipfs_hash }} -e CONSENSUS_CLIENT=${{ github.event.inputs.consensus_client }} \
-e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} -e GITHUB_REPOSITORY=${{ github.repository }} -e GITHUB_PR_NUMBER=${{ github.event.pull_request.number }} -e GITHUB_RUN_ID=${{ github.run_id }} -e GITHUB_SERVER_URL=${{ github.server_url }} \
ghcr.io/dappnode/staker-test-util/test-runner:latest
-e GITHUB_TOKEN=${{ steps.app-token.outputs.token }} -e GITHUB_REPOSITORY=${{ github.repository }} -e GITHUB_PR_NUMBER=${{ github.event.pull_request.number }} -e GITHUB_RUN_ID=${{ github.run_id }} -e GITHUB_SERVER_URL=${{ github.server_url }} \
ghcr.io/dappnode/staker-test-util/test-runner:latest
Loading