9 Commits

Author SHA1 Message Date
Darragh Bailey
d9bdbef137 Copy config files tree
Make it easier for a complex organisation of configuration files for
testing, since JJB supports recursive searching and storing of scripts
in separate files to be inlined automatically using the '!include*'
tags.

Change-Id: I858103a2dae4aebdfbd9762b33858f4f84016350
2015-11-10 16:11:38 +00:00
Khai Do
3d5fa3ba25 Change zuul-cloner parameters
Current clone works but would be better to pass just
'git://git.openstack.org' as the zuul-cloner base so it will be
more convienant to update if needed.  Added a clonemap to
clone the project into the current directory.

Change-Id: If407ffd47678d260645b205b876d904da7e98218
2015-06-15 11:08:08 -07:00
Darragh Bailey
d4ddd8a1d7 Fall back to git clone if zuul-cloner not available
Allow running of the compare test on developer workstations where it is
less common for zuul-cloner to be present by falling back to using git
clone with a depth of 1 if zuul-cloner is not available.

Change-Id: Idedc726bea12fb8862cd9574d9ce17b29011c15f
2015-06-09 11:51:23 +01:00
Khai Do
23c851eb2a Fix jenkins-job-builder-compare-xml job by using zuul-cloner
The script in jenkins-job-builder-compare-xml job failed due to git clone
executing a shallow clone:
  Cloning into 'project-config'...
  fatal: The remote end hung up unexpectedly
  fatal: protocol error: bad pack header

This can be fixed by just removing the '/p/' from the url but we would
rather use the zuul-cloner because it can take advantage of the local
git cache on disk thus allowing for more efficient cloning.

Change-Id: I05f1c928a15cf5e791a95a01975e8aba78f4953f
2015-03-25 15:25:06 -07:00
Darragh Bailey
87ab085159 Switch to new project-config repo
Change the comparison script to use the new project-config repo created
due to a reorganization of the puppet modules and JJB config used for
openstack infrastructure.

Change-Id: Icbe8ddc7fcc6af9cc11d664e01ab6fd52ef8d288
2014-09-30 18:24:08 +01:00
william.soula
eb210845e4 Adding ability to specify the JDK to use. This change moves the top level config from builder.py into a separate file called general.py. This change also moves the assigned node work as well as the log rotator work into the general.py file. This change also adds the ability to specify the JDK for the build to use.
Change-Id: I0e2b43d889593e01d6ad0761960c93472990af1e
Reviewed-on: https://review.openstack.org/16983
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2012-12-19 03:18:32 +00:00
James E. Blair
f3f09c4f96 Simplify the xml test paths.
Make it easier to invoke the tox environments from another project
(eg, openstack-ci-puppet).

Change-Id: I88305c8edb79bb6e944eb35f5e39c84827807f11
Reviewed-on: https://review.openstack.org/12451
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-09-05 18:51:14 +00:00
James E. Blair
cd8a018141 Fix early exit from compare test.
Change-Id: I5a871026f2bf7757b7e3e46278391b41e90c5674
Reviewed-on: https://review.openstack.org/12289
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-09-01 15:29:59 +00:00
James E. Blair
0c2bef0803 Add test to determine whether XML output has changed.
Change-Id: I5e0b76e195a1b412d180484ce1ddd3e9159d7779
Reviewed-on: https://review.openstack.org/12286
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-09-01 03:52:21 +00:00