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

Export documented environment variables into web container, fixes #2486 #2488

Merged
merged 2 commits into from Sep 3, 2020

Conversation

rfay
Copy link
Member

@rfay rfay commented Sep 2, 2020

The Problem/Issue/Bug:

#2486: Although a number of environment variables were created and were intended to be added into the web container, some of them were not exported via the .ddev-docker-compose*.yaml, so did not end up inside the container.

How this PR Solves The Problem:

Make sure they get exported.

Manual Testing Instructions:

Verify that $DDEV_DOCROOT and all other named environment variables in the container section of https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/#environment-variables-provided are properly set inside the container.

Automated Testing Overview:

Added TestEnvironmentVariables to verify values in container and on host

Related Issue Link(s):

Release/Deployment notes:

I used these custom commands (global) for testing: https://gist.github.com/rfay/8773faca379cc22c9c4b5cc61e75f6e6

@rfay rfay merged commit ee09ab3 into ddev:master Sep 3, 2020
@rfay rfay deleted the 20200902_ddev_default branch September 3, 2020 12:47
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

1 participant