Change the name of the pypi tarball job.
The pypi_jobs template defines a -tarball job which is different than the -tarball job in python_jobs template. That's confusing, and not supported by the version of job-builder in development. This changes the name of that job, updates the zuul layout, and removes the "upload" from the sdist command in the tarball job, which wasn't working anyway (and isn't wanted). This alse enables the reddwarf jobs, which are configured in zuul. Also, there's a hackish change to test.sh and the test output to write out xml files in a way that's compatible with the version of job-builder in development, so that they may be directly compared. The new version will not implement that in quite such a hackish way. Change-Id: Ice3f03b41e44e2979942f516febd059f4ab4cefa Reviewed-on: https://review.openstack.org/11108 Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
5ec9629e56
commit
42dc2ac848
modules
jenkins_jobs/files
openstack_project/files/zuul
@ -257,7 +257,9 @@ def update_job(test = False):
|
||||
xml = yparse.get_next_xml()
|
||||
job = yparse.get_name()
|
||||
if test:
|
||||
print xml.output()
|
||||
f = open('/tmp/jenkins_jobs_test/saved/%s' % job,
|
||||
'w')
|
||||
f.write(xml.output())
|
||||
continue
|
||||
md5 = xml.md5()
|
||||
if remote_jenkins.is_job(job) and not cache.is_cached(job):
|
||||
|
@ -96,7 +96,7 @@ assignednode:
|
||||
---
|
||||
# tarball
|
||||
main:
|
||||
name: 'gerritbot-tarball'
|
||||
name: 'gerritbot-sdist-tarball'
|
||||
review_site: 'review.openstack.org'
|
||||
github_org: 'openstack-ci'
|
||||
project: 'gerritbot'
|
||||
@ -120,7 +120,7 @@ builders:
|
||||
BRANCH=$GERRIT_REFNAME
|
||||
BRANCH_PATH=`echo $BRANCH | tr / -`
|
||||
|
||||
tox -v -evenv python setup.py sdist upload
|
||||
tox -v -evenv python setup.py sdist
|
||||
cp dist/* dist/gerritbot-$BRANCH_PATH.tar.gz
|
||||
|
||||
post_build_actions:
|
||||
|
@ -3,7 +3,7 @@ project:
|
||||
|
||||
values:
|
||||
name: 'reddwarf'
|
||||
disabled: 'true'
|
||||
disabled: 'false'
|
||||
github_org: 'stackforge'
|
||||
review_site: 'review.openstack.org'
|
||||
node: 'oneiric'
|
||||
|
@ -42,7 +42,7 @@ assignednode:
|
||||
---
|
||||
# tarball
|
||||
main:
|
||||
name: '@NAME@-tarball'
|
||||
name: '@NAME@-sdist-tarball'
|
||||
review_site: '@REVIEW_SITE@'
|
||||
github_org: '@GITHUB_ORG@'
|
||||
project: '@NAME@'
|
||||
@ -69,7 +69,7 @@ builders:
|
||||
BRANCH=$GERRIT_REFNAME
|
||||
BRANCH_PATH=`echo $BRANCH | tr / -`
|
||||
|
||||
tox -v -evenv python setup.py sdist upload
|
||||
tox -v -evenv python setup.py sdist
|
||||
cp dist/* dist/@NAME@-$BRANCH_PATH.tar.gz
|
||||
|
||||
post_build_actions:
|
||||
|
@ -13,7 +13,7 @@ then
|
||||
do
|
||||
echo $x
|
||||
BASENAME=`basename $x`
|
||||
python jenkins_jobs.py test $x > /tmp/jenkins_jobs_test/saved/$BASENAME.xml
|
||||
python jenkins_jobs.py test $x #> /tmp/jenkins_jobs_test/saved/$BASENAME.xml
|
||||
done
|
||||
else
|
||||
for x in `find projects/ -name *.yml`
|
||||
|
@ -107,7 +107,7 @@ projects:
|
||||
- gate-gerritbot-pep8
|
||||
- gate-gerritbot-pyflakes
|
||||
post:
|
||||
- gerritbot-tarball
|
||||
- gerritbot-sdist-tarball
|
||||
publish:
|
||||
- gerritbot-pypi
|
||||
|
||||
@ -323,7 +323,7 @@ projects:
|
||||
- gate-python-cinderclient-python26
|
||||
- gate-python-cinderclient-python27
|
||||
post:
|
||||
- python-cinderclient-tarball
|
||||
- python-cinderclient-sdist-tarball
|
||||
- python-cinderclient-coverage
|
||||
- python-cinderclient-docs
|
||||
publish:
|
||||
@ -346,7 +346,7 @@ projects:
|
||||
- gate-python-glanceclient-python27
|
||||
- gate-tempest-devstack-vm
|
||||
post:
|
||||
- python-glanceclient-tarball
|
||||
- python-glanceclient-sdist-tarball
|
||||
- python-glanceclient-coverage
|
||||
- python-glanceclient-docs
|
||||
publish:
|
||||
@ -369,7 +369,7 @@ projects:
|
||||
- gate-python-keystoneclient-python27
|
||||
- gate-tempest-devstack-vm
|
||||
post:
|
||||
- python-keystoneclient-tarball
|
||||
- python-keystoneclient-sdist-tarball
|
||||
- python-keystoneclient-coverage
|
||||
- python-keystoneclient-docs
|
||||
publish:
|
||||
@ -392,7 +392,7 @@ projects:
|
||||
- gate-python-novaclient-python27
|
||||
- gate-tempest-devstack-vm
|
||||
post:
|
||||
- python-novaclient-tarball
|
||||
- python-novaclient-sdist-tarball
|
||||
- python-novaclient-coverage
|
||||
- python-novaclient-docs
|
||||
publish:
|
||||
@ -413,7 +413,7 @@ projects:
|
||||
- gate-python-openstackclient-python26
|
||||
- gate-python-openstackclient-python27
|
||||
post:
|
||||
- python-openstackclient-tarball
|
||||
- python-openstackclient-sdist-tarball
|
||||
- python-openstackclient-coverage
|
||||
- python-openstackclient-docs
|
||||
publish:
|
||||
@ -436,7 +436,7 @@ projects:
|
||||
- gate-python-quantumclient-python27
|
||||
- gate-tempest-devstack-vm
|
||||
post:
|
||||
- python-quantumclient-tarball
|
||||
- python-quantumclient-sdist-tarball
|
||||
- python-quantumclient-coverage
|
||||
- python-quantumclient-docs
|
||||
publish:
|
||||
@ -457,7 +457,7 @@ projects:
|
||||
- gate-python-swiftclient-python26
|
||||
- gate-python-swiftclient-python27
|
||||
post:
|
||||
- python-swiftclient-tarball
|
||||
- python-swiftclient-sdist-tarball
|
||||
- python-swiftclient-coverage
|
||||
- python-swiftclient-docs
|
||||
publish:
|
||||
@ -500,7 +500,7 @@ projects:
|
||||
- gate-pbr-python26
|
||||
- gate-pbr-python27
|
||||
post:
|
||||
- pbr-tarball
|
||||
- pbr-sdist-tarball
|
||||
- pbr-coverage
|
||||
- pbr-docs
|
||||
publish:
|
||||
|
Loading…
x
Reference in New Issue
Block a user