Skip to content
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

DM-26144 Inherit configs when inheriting a Pipeline #141

Merged
merged 3 commits into from Jul 30, 2020

Conversation

natelust
Copy link
Contributor

If a Pipeline is inherited that matches a label with the same task current Pipeline, inherit the configs for that label. Otherwise only use the definition from the current Pipeline.

Second commit:
Because I was in pipe_base anyway, a second commit adds the ability to specify a config file path that includes shell variables. These variables will be expanded when a Pipeline is converted to an expanded Pipeline.

If a declared label exists in an inherited Pipeline, and the
class attribute matches, include the configs from the inherited
pipeline. If the class attribute does not match, replace the
definition associated with that label.
When building an expanded pipeline from a Pipeline, expand any
environment variables in a config file path
The PipelineIR unittest relied on a side effect of a previous line
of execution for a test to pass. Change the test to use a different
object so that it is robust against future changes to the test that
may cause a failure.
@natelust natelust merged commit b92c176 into master Jul 30, 2020
@timj timj deleted the tickets/DM-26144 branch April 13, 2022 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants