1
0
mirror of https://github.com/docker/cli.git synced 2026-01-25 03:42:05 +03:00
Files
cli/components/engine/hack/infrastructure/docker-ci.rst
Daniel Mizyrycki ef62d8d45f testing, issue #773: Add infrastructure docker-ci PR documentation
Upstream-commit: 5e3386473a4d4c37da348c4111164449deb6dc6b
Component: engine
2013-08-21 17:39:45 -07:00

1006 B

docker-ci github pull request

The entire docker pull request test workflow is event driven by github. Its usage is fully automatic and the results are logged in docker-ci.dotcloud.com

Each time there is a pull request on docker's github project, github connects to docker-ci using github's rest API documented in http://developer.github.com/v3/repos/hooks The issued command to program github's notification PR event was: curl -u GITHUB_USER:GITHUB_PASSWORD -d '{"name":"web","active":true,"events":["pull_request"],"config":{"url":"http://docker-ci.dotcloud.com:8011/change_hook/github?project=docker"}}' https://api.github.com/repos/dotcloud/docker/hooks

buildbot (0.8.7p1) was patched using ./testing/buildbot/github.py, so it can understand the PR data github sends to it. Originally PR #1603 (ee64e099e0) implemented this capability. Also we added a new scheduler to exclusively filter PRs. and the 'pullrequest' builder to rebase the PR on top of master and test it.