Skip to content

Commit 9b71815

Browse files
authored
Merge pull request #1653 from input-output-hk/dlachaume/fix-aggregator-stress-test
Fix missing `mithril-aggregator` binary in the `stress-test` job
2 parents b914203 + 7768fc4 commit 9b71815

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/aggregator-stress-test.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
commit_sha:
7-
description: SHA of the commit on which the load-aggregator binary should be obtained.
7+
description: SHA of the commit on which the aggregator binary should be obtained.
88
required: true
99
type: string
1010
num_signers:
@@ -29,8 +29,6 @@ jobs:
2929
steps:
3030
- name: Checkout sources
3131
uses: actions/checkout@v4
32-
with:
33-
ref: ${{ inputs.commit_sha }}
3432

3533
- name: Prepare environment variables
3634
id: prepare
@@ -45,6 +43,20 @@ jobs:
4543
with:
4644
toolchain: stable
4745

46+
- name: Download built artifacts (Linux-x64)
47+
uses: dawidd6/action-download-artifact@v3
48+
with:
49+
name: mithril-distribution-Linux-X64
50+
path: ./bin
51+
commit: ${{ inputs.commit_sha }}
52+
workflow: ci.yml
53+
workflow_conclusion: success
54+
55+
- name: Set permissions
56+
shell: bash
57+
working-directory: ./bin
58+
run: chmod +x ./mithril-aggregator
59+
4860
- name: Build the aggregator stress test
4961
working-directory: mithril-test-lab/mithril-end-to-end
5062
run: make build
@@ -54,6 +66,6 @@ jobs:
5466
run: |
5567
./load-aggregator ${{ steps.prepare.outputs.debug_level }} \
5668
--cardano-cli-path script/mock-cardano-cli \
57-
--aggregator-dir ../../target/release \
69+
--aggregator-dir ../../bin \
5870
--num-signers=${{ inputs.num_signers }} \
5971
--num-clients=${{ inputs.num_clients }}

0 commit comments

Comments
 (0)