Skip to content

Runner script - #1

Merged
OlegJakushkin merged 4 commits into
mainfrom
network-testing
Oct 19, 2023
Merged

Runner script#1
OlegJakushkin merged 4 commits into
mainfrom
network-testing

Conversation

@OlegJakushkin

@OlegJakushkin OlegJakushkin commented Oct 13, 2023

Copy link
Copy Markdown

Allows image building, kurtosis ethereum-package starting and stopping using generated image.

📝 Summary

Created a Go script that follows the following API and is expected to exist in ./scripts inside builder repo:

Main features:

  1. Runs on Windows and Linux using Go run
  2. Does progressive command log printing
  3. Allows to set ImageTag and provide ImageArgs when building starting the network

Example commands:

  1. build ../ repo into docker image go run emulate_network.go build
  2. run network and see deployment progress go run emulate_network.go run -n=enclaveName -k="C:/Users/olegj/kurtosis.exe”
  3. stop network go run emulate_network.go stop -n=enclaveName -k="C:/Users/olegj/kurtosis.exe”

📚 References

Manual for detailed use args is provided in the readme file.


Allows image building, kurtosis ethereum-package starting and stopping using generated image

@kamilchodola kamilchodola left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great Job @OlegJakushkin!

Looks amazing but some changes I see would be nice to be included.
Also already pushed some changes to config since once this would be merged I assume we would stop using Notion kurtosis config and this would be our baseline.

Comment thread scripts/emulate_network.go
Comment thread scripts/emulate_network.go
Comment thread scripts/emulate_network.go
Comment thread scripts/emulate_network.go Outdated
Comment thread scripts/emulate_network.go Outdated
Comment thread scripts/kurtosis/network_params.json
Comment thread scripts/kurtosis/network_params.json Outdated
Comment thread scripts/kurtosis/network_params.json Outdated
Comment thread scripts/kurtosis/network_params.json Outdated
Comment thread scripts/kurtosis/network_params.json Outdated
@OlegJakushkin
OlegJakushkin merged commit 2a2511d into main Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants