-
Notifications
You must be signed in to change notification settings - Fork 1
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
config: add new DEFAULT_CONFIG_PARAMETERS_SCRIPT_URL #17
base: master
Are you sure you want to change the base?
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.
Waiting on Ouranosinc/PAVICS-e2e-workflow-tests#142 deliberation.
Will have to check with @perronld also about the impact.
If we need to reboot the compose each time a change is applied to the script to take effect, this will not be a viable solution. On the other hand, if it doesn't need a reboot (ie: it applies dynamically), why is there even a need to supply it here? It couldn't just be a variable in the existing scripts that toggle/filter based on a "blacklist" of notebooks?
No need to reboot Jenkins each time. This is dynamic on each build request.
Good question ! I did not implement this just for blacklisting notebooks. I implemented a generic pluggable default override that can do anything (blacklist, adding new, performing some pre/post processing, ... ). The intend is a generic solution so we do not have add more commits each time we need yet a new feature and spawn again a new variable to toogle and that would work for any repos, even those unknown at this point by the current Jenkins config. Each change is trying to approach us to resolving this issue Ouranosinc/PAVICS-e2e-workflow-tests#57 |
I'm somewhat worried about the feature in the long term. For now, we already have a way to override some variables "in-line" to an execution with Jenkins parameters, and a way to define a different branch for If we have situations where more code is needed to "undo" certain operations to handle edge cases, I'd argue that the problem lies in the main |
I see the confusion ! You can do it because your pipeline have access to PAVICS' But in practice, outside of your pipeline, there is no way for a regular user to perform this programmatic override because a standalone Jenkins do not have access to the target
Well isn't this the same with our birdhouse-deploy? Any component is like a "multi-layered patches" because any subsequent component can override anything (variables, docker-compose directives) in all previous components. We also have a bunch of custom private components in external repos that we also will never merge back to birdhouse-deploy because it's specific to us ! Our PAVICS deployment is slightly different in term of components enabled but once a component is enabled, they have the same config, except for the Jupyter image list of course, we have a lot more. I think the "nothing runs the same way anywhere" is how we ensure each org can customize PAVICS to their liking. Same for this Jenkins I hope. |
Require Ouranosinc/PAVICS-e2e-workflow-tests#142