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

Enhance testing and build environment #1420

Merged
merged 3 commits into from
Apr 26, 2016

Conversation

ruflin
Copy link
Collaborator

@ruflin 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

@tsg
Copy link
Contributor

tsg commented Apr 19, 2016

Can you check if the travis failure is relevant?

@ruflin
Copy link
Collaborator Author

ruflin commented Apr 19, 2016

@tsg Potentially related as a restart also didn't help. Will look into it. Could be related to Shield in snapshot.

@ruflin
Copy link
Collaborator Author

ruflin commented Apr 21, 2016

After restarting the build several time it crashes every time but at different stages. Feels like this is a Travis problem? Will investigate further.

@ruflin
Copy link
Collaborator Author

ruflin commented Apr 21, 2016

This will need a rebase after #1445 is merged

@ruflin ruflin force-pushed the build-improvements branch 4 times, most recently from e7b5a2c to f0eeff7 Compare April 22, 2016 08:19
* 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
@ruflin ruflin force-pushed the build-improvements branch from 32e12cb to f01ed11 Compare April 25, 2016 11:04
@codecov-io
Copy link

Current coverage is 33.34%

Merging #1420 into master will decrease coverage by -6.79%

@@             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   
  1. 4 files (not in diff) in ...beat/sys/wineventlog were created. more
  2. 3 files (not in diff) in ...eat/sys/eventlogging were created. more
  3. 5 files (not in diff) in winlogbeat/sys were created. more
  4. 6 files (not in diff) in winlogbeat/eventlog were created. more
  5. 3 files (not in diff) in winlogbeat were created. more
  6. 5 files (not in diff) in topbeat/system were created. more
  7. 2 files (not in diff) in topbeat were created. more

Sunburst

Powered by Codecov. Last updated by 7425cf6

@@ -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
Copy link
Member

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 

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changed

@andrewkroh
Copy link
Member

LGTM, just a few mostly cosmetic issues.

@ruflin
Copy link
Collaborator Author

ruflin commented Apr 25, 2016

Adjustments were pushed.

@andrewkroh andrewkroh merged commit 35f74c5 into elastic:master Apr 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants