Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bench e2e jobs #9662

Merged
merged 1 commit into from
Nov 2, 2024
Merged
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
10 changes: 3 additions & 7 deletions yarn-project/end-to-end/scripts/e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

set -eu

# go above this folder
cd $(dirname "${BASH_SOURCE[0]}")/..
# Main positional parameter
export TEST="$1"
shift
Expand Down Expand Up @@ -58,13 +60,7 @@ else
custom_command=$(echo "$test_config" | yq e '.command // ""' -)
env_args=$(echo "$test_config" | yq e '.env // {} | to_entries | .[] | "-e " + .key + "=" + .value' - | tr '\n' ' ')
if [ -n "$custom_command" ]; then
# Run the docker command
docker run \
-e HARDWARE_CONCURRENCY="$HARDWARE_CONCURRENCY" \
-e FAKE_PROOFS="$FAKE_PROOFS" \
$env_args \
--rm aztecprotocol/end-to-end:$AZTEC_DOCKER_TAG \
/bin/bash -c "$custom_command" || [ "$ignore_failures" = "true" ]
/bin/bash -c "$custom_command" || [ "$ignore_failures" = "true" ]
else
# Run the default docker command
docker run \
Expand Down
Loading