Skip to content

Commit

Permalink
WIP problem with secrets.token for private repo - debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
fixxxedpoint committed Dec 7, 2024
1 parent 7e6ae26 commit 5fcbea5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_build-aleph-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:
description: 'Personal access token (PAT) used to fetch the repository.'
type: string
required: false
default: ''
default: ${{ github.token }}
outputs:
artifact-name-binary:
description: 'Name of artifact aleph-node binary'
Expand Down
23 changes: 10 additions & 13 deletions .github/workflows/nightly-normal-session-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,6 @@ jobs:
# yamllint disable-line rule:line-length
artifact-aleph-node-image: ${{ needs.build-production-aleph-node.outputs.artifact-name-image }}

build-aleph-node-with-network-flooding-test:
needs: [check-vars-and-secrets]
name: Build aleph-node with flooding routines for both sync-network and alephbft-network
uses: ./.github/workflows/_build-aleph-node.yml
with:
ref: main
repository: Cardinal-Cryptography/aleph-node-flooder
production: false
additional-flags: "--features network_flooding_test"
token: ${{ secrets.CI_GH_TOKEN }}

build-chain-bootstrapper-production:
name: Build chain-bootstrapper
uses: ./.github/workflows/_build-chain-bootstrapper.yml
Expand Down Expand Up @@ -328,15 +317,23 @@ jobs:
--testcase test_major_sync
run-network-flooding-test:
secrets: inherit
needs:
- check-vars-and-secrets
- build-production-aleph-node
- build-aleph-node-with-network-flooding-test
- build-aleph-e2e-client-image
- build-chain-bootstrapper-production
name: Run network flooding test
runs-on: ubuntu-20.04
steps:
- name: Build aleph-node with flooding routines for both sync-network and AlephBFT network
uses: ./.github/workflows/_build-aleph-node.yml
with:
ref: main
repository: Cardinal-Cryptography/aleph-node-flooder
production: false
additional-flags: "--features network_flooding_test"
token: ${{ secrets.CI_GH_TOKEN }}

- name: Checkout source code
uses: actions/checkout@v4

Expand Down

0 comments on commit 5fcbea5

Please sign in to comment.