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

chore: Add inputs to kurtosis-op workflow to override op-geth and op-node images [OPTION 1] #27

Closed
wants to merge 4 commits into from

Conversation

janjakubnanista
Copy link
Collaborator

@janjakubnanista janjakubnanista commented Jan 21, 2025

Description

  • Adds a very barebones op-node and op-geth image building to the kurtosis-op workflow
    • By default, the current submodule versions will be used for building
    • If either op-node-ref or op-geth-ref are set in the workflow parameters, these will be checked out and built
    • The limitation of the above is that the commit must belong to the submodule - i.e. commits from forks won't work (which might be a dealbreaker)

Fixes #14

@janjakubnanista janjakubnanista changed the title chore: See if this works chore: Add inputs to kurtosis-op workflow to override op-geth and op-node images Jan 21, 2025
Copy link
Member

@emhane emhane left a comment

Choose a reason for hiding this comment

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

we need to be able to specify the op-node and op-geth branches/commits too if that's possible

cl_type: $KURTOSIS_CL_TYPE
cl_image: $KURTOSIS_CL_IMAGE
- el_type: op-reth
el_image: "ghcr.io/paradigmxyz/op-reth:kurtosis-ci"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
el_image: "ghcr.io/paradigmxyz/op-reth:kurtosis-ci"
el_image: "ghcr.io/ethereum-optimsim/op-reth:kurtosis-ci"

no? this should be able to run op-reth image built from branch specified in workflow dispatch

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yessss. I added the two dependencies as submodules to avoid having to fiddle with github permissions. When you dispatch and leave the two parameters to their defaults (HEAD), it will use the submodules as they are. If you add a git revision (commit hash or branch should work), it will checkout that version of the submodule.

@janjakubnanista janjakubnanista force-pushed the jan/workflow branch 2 times, most recently from b54ccfc to 6e8e17f Compare January 22, 2025 02:15
@janjakubnanista janjakubnanista changed the title chore: Add inputs to kurtosis-op workflow to override op-geth and op-node images chore: Add inputs to kurtosis-op workflow to override op-geth and op-node images [OPTION 1] Jan 22, 2025
Copy link
Member

@emhane emhane left a comment

Choose a reason for hiding this comment

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

this is amazing. smol comment.

cl_type: op-node
cl_image: "ghcr.io/ethereum-optimism/op-node:kurtosis-ci"
- el_type: op-reth
el_image: "ghcr.io/paradigmxyz/op-reth:kurtosis-ci"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
el_image: "ghcr.io/paradigmxyz/op-reth:kurtosis-ci"
el_image: "ghcr.io/ethereum-optimism/op-reth:kurtosis-ci"

@janjakubnanista
Copy link
Collaborator Author

Closing in favor of #28

@janjakubnanista janjakubnanista deleted the jan/workflow branch January 22, 2025 15:43
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.

L2-to-L1-message-passer op-node image for kurtosis-op
2 participants