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

Kurtosis testing for nimbus eth1 and eth2 #2281

Merged
merged 14 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: remove placeholder image-name & unwanted lines
  • Loading branch information
advaita-saha committed Jun 3, 2024
commit 265130be2bc572260ca9d0f707e6f3ea99e55a84
2 changes: 1 addition & 1 deletion kurtosis-network-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

participants:
- el_type: nimbus
el_image: advaitanimbus/nimbus-builder-ci:master
el_image: <docker-image-placeholder>
el_extra_params: ["--log-level=DEBUG"]
cl_type: nimbus
cl_image: statusim/nimbus-eth2:multiarch-latest
Expand Down
9 changes: 7 additions & 2 deletions run-kurtosis-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,20 @@ else
sudo apt-get install -y jq
fi

# ------------------------------------------------
# Build the Docker Image
# ------------------------------------------------
echo "Starting the Docker Build!"
# Build the docker Image
sudo docker build . -t localtestnet

# The new el_image value
new_el_image="localtestnet"

# ------------------------------------------------
# Run the Kurtosis Tests
# ------------------------------------------------

# Use sed to replace the el_image value in the file
cat kurtosis-network-params.yml | envsubst > assertoor.yaml
sed -i "s/el_image: .*/el_image: $new_el_image/" assertoor.yaml
Expand All @@ -47,8 +54,6 @@ sudo kurtosis run \
github.com/kurtosis-tech/ethereum-package \
--args-file assertoor.yaml

assertoor_url=$(echo "$enclave_dump" | grep assertoor | grep http | sed 's/.*\(http:\/\/[0-9.:]\+\).*/\1/')

enclave_dump=$(kurtosis enclave inspect nimbus-localtestnet)
assertoor_url=$(echo "$enclave_dump" | grep assertoor | grep http | sed 's/.*\(http:\/\/[0-9.:]\+\).*/\1/')
echo "Assertoor Checks Please Visit -> ${assertoor_url}"
Expand Down