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

Post jobs should inherit parent environment variables #1107

Merged

Conversation

DiegoTavares
Copy link
Collaborator

Environment variables set to parent jobs can be useful for post job frames.

Link the Issue(s) this Pull Request is related to.
We have a scenario where post jobs require having access to the same environments from the parent. As post_jobs are use to run postProcess jobs, it's invisible to pyoutline module developers that those layers will be passed to a different job (post_job), so they expect to have the same environment as the job they are binding postProcess layers to.

Summarize your change.
The change simple copies all environment variables set at the spec level to the postJob object.

Environment variables set to parent jobs can be useful for post job frames.
@DiegoTavares DiegoTavares merged commit c570483 into AcademySoftwareFoundation:master Apr 8, 2022
@DiegoTavares DiegoTavares deleted the inherit_parent_env branch April 8, 2022 18:58
@DiegoTavares DiegoTavares restored the inherit_parent_env branch April 18, 2022 22:20
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