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

Enable End-to-End test during docker build #122

Closed
wants to merge 2 commits into from
Closed

Enable End-to-End test during docker build #122

wants to merge 2 commits into from

Conversation

niklas88
Copy link
Member

@niklas88 niklas88 commented Sep 4, 2018

This enables testing using our e2e/e2e.sh script during docker build.
The tests are executed in the final runtime stage of the multi stage
Dockerfile which makes sure that we are testing the final configuration.
This also makes sure that images build automatically in the docker
cloud are tested.

This also leaves the queryit.py tool as well as the example queries in
/app/e2e_data in the final container. While these are not strictly
needed they offer useful examples.

In a later step we may replace the Travis CI build with just building
the docker container there as well. This would get rid of the version
hacks

This enables testing using our e2e/e2e.sh script during `docker build`.
The tests are executed in the final runtime stage of the multi stage
Dockerfile which makes sure that we are testing the final configuration.

This also leaves the queryit.py tool as well as the example queries in
/app/e2e_data in the final container. While these are not strictly
needed they offer useful examples.

In a later step we may replace the Travis CI build with just building
the docker container there as well. This would get rid of the version
hacks
@niklas88 niklas88 added this to In progress in QLever Sep 4, 2018
@niklas88
Copy link
Member Author

niklas88 commented Sep 5, 2018

Ok I think doing it like this on every docker build isn't actually the best way to do this. Will close this PR and look at other possibilities like https://docs.docker.com/docker-cloud/builds/automated-testing/

@niklas88 niklas88 closed this Sep 5, 2018
QLever automation moved this from In progress to Done Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
QLever
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant