-
Notifications
You must be signed in to change notification settings - Fork 806
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
feat(child pipeline executions): Add support for omit other stages fr… #4303
feat(child pipeline executions): Add support for omit other stages fr… #4303
Conversation
We face some issues about huge contexts in our pipeline executions and this would be a BIG step forward to address it. Is there any ETA planned to merge this into the code base? 🙏🏻 |
Maybe ask in spinnaker slack channel, there shouldnt be any problem merging this as it can be tuner on and off with the flag |
Really needed some tests for this ;) I like the idea, and it's similar to the skip downstream flag, though operates differently from what I can see. |
5b1a31f
to
c3de354
Compare
7aec873
to
7902999
Compare
Ran the workflows please 🙏 , i added a test which proves the child pipeline is isolated only having record of one stage from his parentExecution |
Closing since #4620 i believe addresses huge pipelines bodies |
This PR introduces a feature flag isolatedStreamExecution that can be defined in Run Pipeline stage. You can enable it via stage or in orca config
stages.pipeline.defaultIsolatedStreamExecution
by enabling it, clears all the info that other stages ran on the parent pipeline in the child - trigger.parentExecution values.PR's related: 3989 4080
issue related 6159
For testing i ran the next pipeline: pipeline stage(trigger son-1) -> manual judgment -> pipeline stage(trigger son-2) -> manual judgment -> pipeline stage(trigger son-3)
The childs(son 1/2/3): only had a wait stage
the body of the last pipeline stage increments due to keeping track of the stages that ran before and created outputs, task etc.
tests after enabling
isolatedStreamExecution: true