Skip to content

Conversation

@timvaillancourt
Copy link
Contributor

@timvaillancourt timvaillancourt commented Aug 22, 2017

This PR sets up auto Travis-ci builds of our project (after some setup in travis-ci.org), currently testing on timvaillancourt fork only.

The end result of the new .travis.yml and few docker-compose+bash scripts is Travis-ci will now build our project and full-integration test it against various versions of MongoDB in both cluster and replset mode on each commit (!). This could also run unit tests if we had any 😄 (maybe later).

Full changes:

  1. Added .travis.yml to setup Travis-Ci.
  2. Add 'make flake8' step to run flake8 code-quality checks (will be added to be build after I do a sweep of existing failures).
  3. Make Dockerfile build only the new binary if the other intermediate containers aren't changed.
  4. Add Travis-ci build status and latest-release badge to README.
  5. Added 'google_compute_engine' to requirements.txt, this causes failures on any Google Cloud Engine host (and Travis-ci runs on GCE only).
  6. Docker-compose and bash wrapper-scripts (run-cluster.sh and run-replset.sh) in scripts/travis-ci to allow Travis-CI to spawn replsets or clusters to integration-test our code on.

Current tests:

  1. PSMDB 3.4 Cluster w/CSRS configsvrs
  2. PSMDB 3.4 Replset
  3. PSMDB 3.2 Cluster w/CSRS configsvrs
  4. PSMDB 3.2 Replset
  5. PSMDB 3.2 Replset + No Archiving
  6. PSMDB 3.2 Replset + ZBackup Archiving
  7. PSMDB 3.0 Replset

Coming Soon:

  1. flake8 build step (after cleanup)
  2. PSMDB 3.0 Cluster w/SCCC configsvrs (test broken right now)

@timvaillancourt timvaillancourt mentioned this pull request Aug 22, 2017
@dbmurphy dbmurphy merged commit 3572889 into Percona-Lab:master Aug 23, 2017
@timvaillancourt timvaillancourt deleted the travis_yml_v0 branch August 23, 2017 15:51
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