Select a pypi mirror before running tox.
Change-Id: I62a86b6a0ad30ff8cb387ddcc05668128248c6d0 Reviewed-on: https://review.openstack.org/23513 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
334750e303
commit
b056314185
@ -7,11 +7,14 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- coverage
|
||||
- coverage:
|
||||
github-org: openstack
|
||||
project: heat
|
||||
|
||||
publishers:
|
||||
- coverage-log
|
||||
- console-log
|
||||
|
||||
- job:
|
||||
name: 'dev-python-heatclient-coverage'
|
||||
node: 'oneiric'
|
||||
@ -21,7 +24,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- coverage
|
||||
- coverage:
|
||||
github-org: openstack
|
||||
project: python-heatclient
|
||||
|
||||
publishers:
|
||||
- coverage-log
|
||||
|
@ -7,7 +7,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- selenium
|
||||
- selenium:
|
||||
github-org: openstack
|
||||
project: horizon
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
|
@ -8,7 +8,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- docs
|
||||
- docs:
|
||||
github-org: openstack-infra
|
||||
project: jenkins-job-builder
|
||||
|
||||
publishers:
|
||||
- scp:
|
||||
|
@ -6,12 +6,12 @@
|
||||
- builder:
|
||||
name: coverage
|
||||
builders:
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-cover.sh"
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-cover.sh {github-org} {project}"
|
||||
|
||||
- builder:
|
||||
name: docs
|
||||
builders:
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-docs.sh"
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-docs.sh {github-org} {project}"
|
||||
|
||||
- builder:
|
||||
name: maven-test
|
||||
@ -50,17 +50,17 @@
|
||||
- builder:
|
||||
name: pep8
|
||||
builders:
|
||||
- shell: "set -o pipefail ; tox -v -epep8 | tee pep8.txt ; set +o pipefail"
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-pep8.sh {github-org} {project}"
|
||||
|
||||
- builder:
|
||||
name: pylint
|
||||
builders:
|
||||
- shell: "set -o pipefail ; tox -v -epylint | tee pylint.txt ; set +o pipefail"
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-pylint.sh {github-org} {project}"
|
||||
|
||||
- builder:
|
||||
name: pyflakes
|
||||
builders:
|
||||
- shell: "tox -v -epyflakes"
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-pyflakes.sh {github-org} {project}"
|
||||
|
||||
- builder:
|
||||
name: puppet-syntax
|
||||
@ -74,7 +74,7 @@
|
||||
- builder:
|
||||
name: selenium
|
||||
builders:
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-selenium.sh"
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-selenium.sh {github-org} {project}"
|
||||
|
||||
- builder:
|
||||
name: python26
|
||||
@ -114,16 +114,7 @@
|
||||
- builder:
|
||||
name: tarball
|
||||
builders:
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
|
||||
rm -f dist/*.tar.gz
|
||||
tox -evenv python setup.py sdist
|
||||
|
||||
echo "SHA1sum: "
|
||||
sha1sum dist/*
|
||||
echo "MD5sum: "
|
||||
md5sum dist/*
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-tarball.sh {github-org} {project}"
|
||||
|
||||
- builder:
|
||||
name: devstack-checkout
|
||||
|
@ -8,7 +8,9 @@
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- puppet-syntax
|
||||
- pyflakes
|
||||
- pyflakes:
|
||||
github-org: openstack-infra
|
||||
project: config
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
@ -38,7 +40,7 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- shell: "./tools/run-compare-xml.sh"
|
||||
- shell: "./tools/run-compare-xml.sh openstack-infra config"
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
@ -53,7 +55,7 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- shell: "./tools/run-layout.sh"
|
||||
- shell: "./tools/run-layout.sh openstack-infra config"
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
@ -69,7 +71,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- docs
|
||||
- docs:
|
||||
github-org: openstack-infra
|
||||
project: config
|
||||
|
||||
publishers:
|
||||
- scp:
|
||||
|
@ -7,7 +7,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- docs
|
||||
- docs:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
- ftp:
|
||||
|
@ -70,7 +70,9 @@
|
||||
- timed: '0 6 * * *'
|
||||
|
||||
builders:
|
||||
- docs
|
||||
- docs:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
- console-log-periodic
|
||||
|
@ -12,7 +12,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- coverage
|
||||
- coverage:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
- coverage-log-post
|
||||
@ -29,7 +31,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- pep8
|
||||
- pep8:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
- pep8
|
||||
@ -46,7 +50,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- pylint
|
||||
- pylint:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
- pylint
|
||||
@ -215,7 +221,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- docs
|
||||
- docs:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
@ -232,7 +240,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- pyflakes
|
||||
- pyflakes:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
@ -248,6 +258,7 @@
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- tarball:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
@ -267,12 +278,13 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- tarball:
|
||||
github-org: '{github-org}'
|
||||
project: '{name}'
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
BRANCH=$ZUUL_REFNAME
|
||||
BRANCH_PATH=`echo $BRANCH | tr / -`
|
||||
|
||||
tox -v -evenv python setup.py sdist
|
||||
mv dist/* dist/{name}-$BRANCH_PATH.tar.gz
|
||||
|
||||
publishers:
|
||||
|
@ -8,7 +8,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- docs
|
||||
- docs:
|
||||
github-org: openstack-infra
|
||||
project: zuul
|
||||
|
||||
publishers:
|
||||
- scp:
|
||||
@ -28,7 +30,9 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- coverage
|
||||
- coverage:
|
||||
github-org: openstack-infra
|
||||
project: zuul
|
||||
|
||||
publishers:
|
||||
- coverage-log
|
||||
|
@ -16,6 +16,20 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
org=$1
|
||||
project=$2
|
||||
|
||||
if [[ -z "$org" || -z "$project" ]]
|
||||
then
|
||||
echo "Usage: $0 ORG PROJECT"
|
||||
echo
|
||||
echo "ORG: The project organization (eg 'openstack')"
|
||||
echo "PROJECT: The project name (eg 'nova')"
|
||||
#TODO: make fatal in subsequent change: exit 1
|
||||
else
|
||||
/usr/local/jenkins/slave_scripts/select-mirror.sh $org $project
|
||||
fi
|
||||
|
||||
rm -fr .test
|
||||
mkdir .test
|
||||
cd .test
|
||||
|
@ -14,6 +14,20 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
org=$1
|
||||
project=$2
|
||||
|
||||
if [[ -z "$org" || -z "$project" ]]
|
||||
then
|
||||
echo "Usage: $0 ORG PROJECT"
|
||||
echo
|
||||
echo "ORG: The project organization (eg 'openstack')"
|
||||
echo "PROJECT: The project name (eg 'nova')"
|
||||
#TODO: make fatal in subsequent change: exit 1
|
||||
else
|
||||
/usr/local/jenkins/slave_scripts/select-mirror.sh $org $project
|
||||
fi
|
||||
|
||||
rm -fr .test
|
||||
mkdir .test
|
||||
cd .test
|
||||
|
Loading…
Reference in New Issue
Block a user