Skip to content

Commit

Permalink
Merge pull request #1653 from input-output-hk/dlachaume/fix-aggregato…
Browse files Browse the repository at this point in the history
…r-stress-test

Fix missing `mithril-aggregator` binary in the `stress-test` job
  • Loading branch information
dlachaume authored Apr 29, 2024
2 parents b914203 + 7768fc4 commit 9b71815
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/aggregator-stress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
commit_sha:
description: SHA of the commit on which the load-aggregator binary should be obtained.
description: SHA of the commit on which the aggregator binary should be obtained.
required: true
type: string
num_signers:
Expand All @@ -29,8 +29,6 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_sha }}

- name: Prepare environment variables
id: prepare
Expand All @@ -45,6 +43,20 @@ jobs:
with:
toolchain: stable

- name: Download built artifacts (Linux-x64)
uses: dawidd6/action-download-artifact@v3
with:
name: mithril-distribution-Linux-X64
path: ./bin
commit: ${{ inputs.commit_sha }}
workflow: ci.yml
workflow_conclusion: success

- name: Set permissions
shell: bash
working-directory: ./bin
run: chmod +x ./mithril-aggregator

- name: Build the aggregator stress test
working-directory: mithril-test-lab/mithril-end-to-end
run: make build
Expand All @@ -54,6 +66,6 @@ jobs:
run: |
./load-aggregator ${{ steps.prepare.outputs.debug_level }} \
--cardano-cli-path script/mock-cardano-cli \
--aggregator-dir ../../target/release \
--aggregator-dir ../../bin \
--num-signers=${{ inputs.num_signers }} \
--num-clients=${{ inputs.num_clients }}

0 comments on commit 9b71815

Please sign in to comment.