Add a GitHub action to perform validation of params.env
file
#429
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.
PoC for #304, comments and opinions welcomed 🙂
The branches may be more formalized via something like #309.
Description
This introduces a script that performs checks againts content of the
params.env
file. It checks its format and referenced images trying to identify eventual wrong references.At the moment it isn't able to determine whether the referred image is the latest and proper one we want to reference, but it should be able to recognize in case we are referring to a wrong type of image.
How Has This Been Tested?
Simply run
./ci/check-params-env.sh
from root dir of your cloned repository to see the code in action. You need to haveskopeo
andjq
tools installed.Merge criteria: