From f129027ad8ddfb6038c97bae8a6a194459e922bb Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Sat, 19 Nov 2016 13:06:41 +0530 Subject: Use python2.7 for building. Fix bustages Change-Id: I20a54041c74dfe1954dd936cf2dbdb848c356064 --- README.md | 1 - build-gluster-org/scripts/build-jobs.sh | 1 + tox.ini | 6 +----- 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 -- cgit