New tool to bump current_versions.sh automatically #54
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 commit contains a new utility that helps to automate a version bump
for sandbox.
You can run this command to get the vibe of what it does.
In order to try it out, you can run this command from the sandbox root. By
default, it won't overwrite anything. It will print to stdout a new
version of the current_versions.sh file where all the images are
calculate cloning the various repositories
If you want to overwrite the current_versions file you can use the flag
-overwrite
.More will come but for now, that's the PoC. Ideally, this can be hooked
to CI/CD and run periodically, opening a PR that can be evaluated and
merged.
We will be able to add validation for the images. Right now we mainly do a translation from commit sha to image tag. But we can try to pull the image, or read the manifest to check that everything is fine.