Automate Node Upgrade Process: Update Script#478
Merged
danyalprout merged 9 commits intobase:mainfrom Jun 17, 2025
Merged
Conversation
Collaborator
✅ Heimdall Review Status
|
Collaborator
|
This looks good, a bunch of small things to make the tool work with out other repos. |
danyalprout
reviewed
Jun 15, 2025
Collaborator
danyalprout
reviewed
Jun 17, 2025
| dependencyPrefix, "REPO", dependencies[dependency].RepoUrl)) | ||
| } | ||
|
|
||
| file, err := os.Create(repoPath + "/versions.env") |
Collaborator
There was a problem hiding this comment.
nit: you can use path.join to make this support multi-platforms in the future see: https://pkg.go.dev/path#Join
danyalprout
approved these changes
Jun 17, 2025
Collaborator
|
Review Error for danyalprout @ 2025-06-17 20:07:20 UTC |
tobidae-cb
approved these changes
Jun 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a script to update the dependencies in the geth, reth, and nethermind Dockerfiles without having to manually make changes to the files when the time comes to update.
In order to run the updater:
cd dependency_updatergo build dependency_updater.goexport GITHUB_TOKEN=<YOUR_TOKEN>./dependency_updaterRunning these commands will create a versions.env file which contains the most up to date versions of the dependencies and populate the Dockerfiles.