-
Notifications
You must be signed in to change notification settings - Fork 17
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
EVEREST-107: automate veneer update during release #343
Conversation
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.
Thanks Michal for implementing the changes! Left some comments.
Tips and tricks to test the pipelines:
- Define env variables like this instead of using the github input values directly, it allows to substitute them easily to a hardcoded values during testing.
- Create a separate branch for tests from your feature branch to not mess things up. In that branch CI file:
a) add the push events to the "on" section for your test branch:
on:
push:
branches:
- test-automate-veneer-update
so the workflow will run every time you push smth to the branch.
b) delete all non-related parts of the pipeline so that it would run faster and only the part you'd like to test.
c) comment out all push
commands (to github or to dockerhub) so that the CI wouldn't change the actual repos state (you can always print out the git repo state using echo
command). But if you still push something, do not forget to clean it up manually.
d) Redefine the constants from section 1 to some hardcoded value you'd like to test.
e) Commit and push, the pipeline will run.
1ad0d09
to
124c199
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.
Looks good, thank you for the implementation. Tested the new part separately - should work fine. As I mentioned in the DM the only thing is missing is to update the tool on the everest-catalog's side so it wouldn't add
---
at the end of the veneer file, bc otherwise the opm
tool can't parse the file correctly with
object '' is missing root schema field
However the current PR does not need any more changes, so I think it could be merged.
|
Automate veneer update during a release