-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expand service environment_variables before adding to subs_dict
Also modifies an existing integration test to expect an empty string as `docker-compose` warns that `ZZVAR3` is not set and defaults it to an empty string per the acutal output here. ```yaml $ docker-compose -f container-compose.load-.env-in-project.yaml config WARN[0000] The "ZZVAR3" variable is not set. Defaulting to a blank string. name: project services: app: command: - /bin/busybox - sh - -c - env | grep ZZ environment: ZZVAR1: This value is loaded but should be overwritten ZZVAR2: This value is loaded from .env in project/ directory ZZVAR3: "" ... ``` Signed-off-by: indra <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters