-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ci: move devnet test to make target #6235
ci: move devnet test to make target #6235
Conversation
|
✅ Deploy Preview for opstack-docs canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally in favor of the idea, not sure how I feel about the approach but could be open to it
I'm certainly happy to rework in some other way. As best as I could tell, the assorted build scripts are being migrated to python (vs. bash), so I tried to keep everything in the python, even though it's simply executing commands. If there's a different preferred approach, please let me know. My goal here is primarily to allow developers to iterate while running tests without having to push it out and wait on CI. |
I am generally on board with this change after thinking about it more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love this change - moving stuff from .circleci/config.yml
into makefiles is a long term goal. Ideally we'd also move the devnet (with genesis contracts)
tests as well, though that could be a separate PR as this is definitely an improvement.
If we do move the genesis tests, it would be great to remove the duplication as well so make devnet-test
could just work for both genesis and deploy modes. I think the only difference is if --l1-contracts-json-path
is specified or not so possibly it could switch based on whether that file exists or not.
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
9210063
to
9b90e68
Compare
I've updated the |
Is there anything preventing this from merging? Happy to make any desired changes if so. |
Hey @jyellick! This PR has merge conflicts. Please fix them before continuing review. |
9b90e68
to
0f11efe
Compare
Hey @jyellick! This PR has merge conflicts. Please fix them before continuing review. |
0f11efe
to
ee5ccb1
Compare
ee5ccb1
to
5ea42fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, other than I think we want to keep the capturing of op-node logs. I'm not an infra reviewer though.
Oh turns out I am an infra reviewer. :) @jyellick Would you mind restoring the capturing of op-node logs and then I'll get this merged. Thank you so much for your incredible patience - we've been really slow on a bunch of your PRs. |
When encountering devnet test failures in CI, they're challenging to resolve and reproduce locally because the commands are embedded into the CI configuration and not the Makefile.
5ea42fe
to
f9a2c14
Compare
@jyellick The world is apparently out to get us today - the devnet build failed because of a network error downloading node. Can you kick it to rerun and then I think we should be good to go. It won't let me rerun because it look like its running in your circle ci org. |
This PR has been added to the merge queue, and will be merged soon. |
Thanks @ajsutton, looks like the re-run fixed things, very happy to see this merge! |
Hey @jyellick, this pull request failed to merge and has been dequeued from the merge train. If you believe your PR failed in the merge train because of a flaky test, requeue it by commenting with |
When encountering devnet test failures in CI, they're challenging to resolve and reproduce locally because the commands are embedded into the CI configuration and not the Makefile.
This PR simply extracts the commands from the CI steps and embeds them into the devnet python module, allowing for the python script to be invoked with a new
--test
flag to execute those steps. It also adds adevnet-test
make target to allow simple invocation of the script in test mode.