]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
add jenkins-pull-requests-build script 153/head
authorKen Dreyer <ken.dreyer@inktank.com>
Fri, 10 Jan 2014 00:36:14 +0000 (17:36 -0700)
committerKen Dreyer <ken.dreyer@inktank.com>
Fri, 10 Jan 2014 00:37:27 +0000 (17:37 -0700)
Move our Jenkins pull requests build script out of Jenkins' database and
into Git so that we can have greater visibility on future changes.

Going forward, we will modify the ceph-deploy-pull-requests Jenkins task
to only run this script.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
scripts/jenkins-pull-requests-build [new file with mode: 0644]

diff --git a/scripts/jenkins-pull-requests-build b/scripts/jenkins-pull-requests-build
new file mode 100644 (file)
index 0000000..6a4da91
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# This is the script that runs inside Jenkins for each pull request.
+# http://jenkins.ceph.com/job/ceph-deploy-pull-requests/
+
+virtualenv --version
+virtualenv venv
+. venv/bin/activate
+#venv/bin/python setup.py develop
+venv/bin/pip install tox
+venv/bin/tox -rv