Tech:Continuous integration

From Orain Meta
Revision as of 19:51, 3 April 2015 by imported>Addshore (4 revisions imported from techwiki:Continuous integration)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Travis CI is a continuous integration service used by Orain (see .travis.yml for details).

On every new pull request or commit, Travis CI will run a series of checks on the repo.


  • If Travis CI fails for a valid reason for any commit that commit should not be merged!
  • If the change has already been merged then it should be reverted and then fixed!
  • If you merge pull request before Travis CI job starts, Travis CI will be failed!

Travis CI also runs against our DNS repo. The basic rule of thumb for this should be to never merge a change without having Travis run a test on it (unless a fairly no-op commit). If Travis fails - never merge the commit regardless. Travis runs the same checks GDNSD runs - if Travis fails, the service will fail in production, rendering our DNS servers offline.