1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/testing
2013-08-20 12:32:32 -07:00
..
buildbot testing, issue #773: Automatically test pull requests on docker-ci 2013-08-20 12:32:32 -07:00
functionaltests testing, issue #1331: Add registry functional test to docker-ci 2013-07-29 09:45:19 -07:00
MAINTAINERS Add GitHub usernames to MAINTAINERS 2013-08-09 21:16:44 -04:00
README.rst testing, issue #1331: Add registry functional test to docker-ci 2013-07-29 09:45:19 -07:00
Vagrantfile Improve docker-ci deployment and tests 2013-08-20 12:18:29 -07:00

=======
testing
=======

This directory contains testing related files.


Buildbot
========

Buildbot is a continuous integration system designed to automate the
build/test cycle. By automatically rebuilding and testing the tree each time
something has changed, build problems are pinpointed quickly, before other
developers are inconvenienced by the failure.

We are running buildbot in an AWS instance to verify docker passes all tests
when commits get pushed to the master branch.

You can check docker's buildbot instance at http://docker-ci.dotcloud.com/waterfall


Deployment
~~~~~~~~~~

::

  # Define AWS credential environment variables
  export AWS_ACCESS_KEY_ID=xxxxxxxxxxxx
  export AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxx
  export AWS_KEYPAIR_NAME=xxxxxxxxxxxx
  export AWS_SSH_PRIVKEY=xxxxxxxxxxxx

  # Define email recipient and IRC channel
  export EMAIL_RCP=xxxxxx@domain.com
  export IRC_CHANNEL=docker

  # Define buildbot credentials
  export BUILDBOT_PWD=xxxxxxxxxxxx
  export IRC_PWD=xxxxxxxxxxxx
  export SMTP_USER=xxxxxxxxxxxx
  export SMTP_PWD=xxxxxxxxxxxx

  # Define docker registry functional test credentials
  export REGISTRY_USER=xxxxxxxxxxxx
  export REGISTRY_PWD=xxxxxxxxxxxx

  # Checkout docker
  git clone git://github.com/dotcloud/docker.git

  # Deploy docker on AWS
  cd docker/testing
  vagrant up --provider=aws


Buildbot AWS dependencies
-------------------------

vagrant, virtualbox packages and vagrant aws plugin