Skip to content

Fix env_file overrides with extends - #2450

Merged
aanand merged 1 commit into
docker:masterfrom
dnephin:fix_env_file_ordering
Nov 25, 2015
Merged

aanand merged 1 commit into
docker:masterfrom
dnephin:fix_env_file_ordering

Conversation

@dnephin

@dnephin dnephin commented Nov 23, 2015

Copy link
Copy Markdown

Based on #2405
Fixes #2446

@aanand

aanand commented Nov 25, 2015

Copy link
Copy Markdown

Should this be rebased now that #2405 is in?

@dnephin

dnephin commented Nov 25, 2015

Copy link
Copy Markdown
Author

I can rebase it to update github, but it won't change the actual merge

@dnephin
dnephin force-pushed the fix_env_file_ordering branch 2 times, most recently from 25acac4 to 7768945 Compare November 25, 2015 15:53
@dnephin

dnephin commented Nov 25, 2015

Copy link
Copy Markdown
Author

Ok, rebased

Split env resolving into two phases. The first phase is to expand the paths
of env_files, which is done before merging extends. Once all files are merged
together, the final phase is to read the env_files and use them as the base
for environment variables.

Signed-off-by: Daniel Nephin <[email protected]>
@dnephin
dnephin force-pushed the fix_env_file_ordering branch from 7768945 to e67bc25 Compare November 25, 2015 16:02
@aanand

aanand commented Nov 25, 2015

Copy link
Copy Markdown

Great. Makes the PR easier to read at least!

LGTM

aanand added a commit that referenced this pull request Nov 25, 2015
Fix env_file overrides with extends
@aanand
aanand merged commit 7b89316 into docker:master Nov 25, 2015
@dnephin
dnephin deleted the fix_env_file_ordering branch November 25, 2015 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants