Skip to content

add e2e tests to verify env variables priority#9499

Merged
glours merged 1 commit intodocker:v2from
glours:add-envs-e2e-tests
May 30, 2022
Merged

add e2e tests to verify env variables priority#9499
glours merged 1 commit intodocker:v2from
glours:add-envs-e2e-tests

Conversation

@glours
Copy link
Contributor

@glours glours commented May 24, 2022

What I did
Don't override compose environment values with os ones.
Add end to end tests to ensure we won't have regression on environments variables priority

(not mandatory) A picture of a cute animal, if possible in relation with what you did
image

@glours glours self-assigned this May 24, 2022
@glours glours force-pushed the add-envs-e2e-tests branch from 080bf07 to 5a4a1e3 Compare May 24, 2022 15:58
@maxcleme
Copy link
Member

@glours I think we should include test cases regarding to those issues as well

@glours glours force-pushed the add-envs-e2e-tests branch 3 times, most recently from e87c121 to 2fcf6fc Compare May 30, 2022 12:19
@glours
Copy link
Contributor Author

glours commented May 30, 2022

Added tests to cover #9492 #9442 #9509

@glours glours marked this pull request as ready for review May 30, 2022 13:23
@glours
Copy link
Contributor Author

glours commented May 30, 2022

⚠️ Need to wait for a new release of Compose-go before merging

Copy link
Member

@laurazard laurazard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I really like seeing all this behavior tested e2e, and the tests are pretty clear 👍

@glours glours force-pushed the add-envs-e2e-tests branch from 2fcf6fc to 1ed6a73 Compare May 30, 2022 15:00
@maxcleme
Copy link
Member

LGTM, waiting for compose-go release then to update go.mod accordingly

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
@glours glours force-pushed the add-envs-e2e-tests branch from 1ed6a73 to a1b3f95 Compare May 30, 2022 15:11
@glours glours merged commit dbafb02 into docker:v2 May 30, 2022
@glours glours deleted the add-envs-e2e-tests branch January 11, 2023 14:57
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.

3 participants