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

Fix integration testing #64

Merged
merged 2 commits into from
Jun 7, 2017
Merged

Fix integration testing #64

merged 2 commits into from
Jun 7, 2017

Conversation

tanuck
Copy link
Contributor

@tanuck tanuck commented Jun 6, 2017

The integration tests run in their own container and navy
uses a dedicated docker daemon running in another container
on the host VM. We do not pass the environment variables
from the travis matrix down to the scripts that setup this
testing environment. Hence until now, all test builds have
been using the same version of docker and docker-compose.

The integration tests run in their own container and navy
uses a dedicated docker daemon running in another container
on the host VM. We do not pass the environment variables
from the travis matrix down to the scripts that setup this
testing environment. Hence until now, all test builds have
been using the same version of docker and docker-compose.
@tanuck tanuck requested a review from ThomWright June 6, 2017 16:12
@madjam002
Copy link
Contributor

Didn't even know about build args, thanks for this!

It's worth noting that the integration tests didn't used to run in a dedicated container using dind, they used to use the host daemon directly. I changed this so that the tests would run on a consistent environment every time on both developer machines and CI.

@tanuck
Copy link
Contributor Author

tanuck commented Jun 7, 2017

@madjam002 yeah they're pretty nice. They don't pollute the environment of the resulting image which is good. And I assumed that was the case, hence why there was all the docker-compose stuff in the travis file. Amazingly this seems to have worked first time...

@tanuck tanuck merged commit 6ae9fb2 into master Jun 7, 2017
@tanuck tanuck deleted the fix-integration-tests branch June 7, 2017 09:30
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.

2 participants