summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2016-11-19 13:06:41 +0530
committerNigel Babu <nigelb@redhat.com>2016-12-19 09:34:42 +0530
commitf129027ad8ddfb6038c97bae8a6a194459e922bb (patch)
tree4ed05f226eebf2c4f92dfba8f18b888428241927
parentcfaad8426398c628e086c633f86fad4d38fc6658 (diff)
Use python2.7 for building. Fix bustages
Change-Id: I20a54041c74dfe1954dd936cf2dbdb848c356064
-rw-r--r--README.md1
-rw-r--r--build-gluster-org/scripts/build-jobs.sh1
-rw-r--r--tox.ini6
3 files changed, 2 insertions, 6 deletions
diff --git a/README.md b/README.md
index 302e456..c6fbffd 100644
--- a/README.md
+++ b/README.md
@@ -4,5 +4,4 @@ This is a repository of the Jenkins jobs in [Jenkins Job Builder][JJB] format.
This ensures that the jobs and the build scripts are version controlled and
reviewed before they are deployed to production.
-
[JJB]: http://docs.openstack.org/infra/jenkins-job-builder/
diff --git a/build-gluster-org/scripts/build-jobs.sh b/build-gluster-org/scripts/build-jobs.sh
index 061a0bd..f9e9372 100644
--- a/build-gluster-org/scripts/build-jobs.sh
+++ b/build-gluster-org/scripts/build-jobs.sh
@@ -1,5 +1,6 @@
#!/bin/sh
set -e
+source /opt/rh/python27/enable
virtualenv --system-site-packages env
env/bin/pip install tox
env/bin/tox jjb
diff --git a/tox.ini b/tox.ini
index 8105c80..55f1663 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,12 +3,8 @@
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
-[tox]
-envlist = py26,py27
-skip_missing_interpreters = true
-
[testenv]
deps = -r{toxinidir}/requirements.txt
[testenv:jjb]
-commands = jenkins-jobs test {toxinidir}/jenkins/jobs
+commands = jenkins-jobs test {toxinidir}/build-gluster-org/jobs