-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Enhance testing and build environment #1420
Conversation
ruflin
commented
Apr 19, 2016
- Use same base environment for manual and automated testing
- Allow to run testsuite with different environment
- Document environments and usage
Can you check if the travis failure is relevant? |
@tsg Potentially related as a restart also didn't help. Will look into it. Could be related to Shield in snapshot. |
After restarting the build several time it crashes every time but at different stages. Feels like this is a Travis problem? Will investigate further. |
47c2c69
to
59aff9b
Compare
This will need a rebase after #1445 is merged |
e7b5a2c
to
f0eeff7
Compare
* Use same base environment for manual and automated testing * Allow to run testsuite with different environment * Document environments and usage * Increment time waiting for elasticsearch because of travis * Introduce snapshot dockerfiles for logstash and kibana * Update travis to most recent docker version (1.11.0) and docker-compose version (1.7.0) * Introduce DOCKER_CACHE option to be used by jenkins to not cache build images
32e12cb
to
f01ed11
Compare
Current coverage is 33.34%@@ master #1420 diff @@
==========================================
Files 27 55 +28
Lines 1916 4238 +2322
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 769 1413 +644
- Misses 1091 2717 +1626
- Partials 56 108 +52
|
@@ -58,6 +58,10 @@ addons: | |||
- geoip-database | |||
|
|||
before_install: | |||
# Update to most recent docker version | |||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update ; fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need three separate if
checks. These can be combined to:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update;
sudo apt-cache search docker;
sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine;
fi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
LGTM, just a few mostly cosmetic issues. |
Adjustments were pushed. |