Skip to content

Commit

Permalink
WIP manually moving aleph-node and aleph-node-flooder repos (github w…
Browse files Browse the repository at this point in the history
…orkflow)
  • Loading branch information
fixxxedpoint committed Dec 9, 2024
1 parent f66ef07 commit 5d3dd2d
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/nightly-normal-session-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,13 +325,25 @@ jobs:
name: Run network flooding test
runs-on: ubuntu-20.04
steps:
- name: Checkout aleph-node-flooder source code
- name: Checkout source code for aleph-node
uses: actions/checkout@v4
with:
path: aleph-node-orig

- name: Checkout source code for aleph-node-flooder
uses: actions/checkout@v4
with:
ref: main
repository: Cardinal-Cryptography/aleph-node-flooder
fetch-depth: 0
token: ${{ secrets.CI_GH_TOKEN }}
path: aleph-node
- name: Copy .github folder
shell: bash
run:
cp -r aleph-node-orig/.github ./aleph-node
echo "dir stats"
pwd
find .

- name: Build aleph-node with flooding routines for both sync-network and AlephBFT network
id: build-aleph-node-flooder
Expand All @@ -340,10 +352,13 @@ jobs:
production: false
additional-flags: "--features network_flooding_test"

- name: Checkout source code
uses: actions/checkout@v4
- name: Clean aleph-node-flooder repo
shell: bash
run:
rm -r aleph-node
mv aleph-node-orig aleph-node

- name: Download node-flooding docker image
- name: Download aleph-node-flooder docker image
uses: actions/download-artifact@v4
with:
name: ${{ steps.build-aleph-node-flooder.outputs.artifact-name-image }}
Expand Down

0 comments on commit 5d3dd2d

Please sign in to comment.