9 Commits

Author SHA1 Message Date
Andreas Jaeger
4b7fd514d8 Test that job regexes in zuul/layout match
Enhance our zuul/layout.yaml checks to check that the names in the jobs
section actually match an existing job. A mismatch implies that the
pattern does not work as intented.

Add note to run-layout.sh that the job files is used elsewhere as well,
so that it does not get deleted by accident.

Change-Id: I5c4cd97829acf90bb8f72dde32e5fe8063933cdb
2015-12-16 10:38:49 +01:00
Ian Wienand
d793c97904 Pull latest changes in run-layout.sh
Some of my local tox tests were failing in odd ways; eventually I
chased it down to out-of-date versions of tools left in ".test"
directory.

This tries to pull the latest changes if the repos exist, and adds a
few helpful output points to let you know what's going on.

Change-Id: I30b7ddf84520e8895466a49ed6481812ea8875a8
2015-12-03 15:32:12 +11:00
Jeremy Stanley
4aef606a9d Use git farm for layout job cloning
It has been witnessed that at least occasionally Gerrit's local
mirror can fail to return data for a clone request. Instead clone
these additional projects from our awesome Git server farm.

Change-Id: Iddf8cdab8b0766a7b7ec6c2d4171708fd3c49685
2014-10-05 15:33:18 +00:00
James E. Blair
312e958fb1 Fix test jobs
Make the necessary changes for the jobs ported over from infra/config
to work in this repo.

Also, make the irc access job voting.

Add a .gitignore file.

Change-Id: If3b6c214881205a25e8148c23c3411338b66ef90
2014-09-25 16:40:07 +00:00
Monty Taylor
340ed93a18 Delete select-mirror and all the args
It turns out that we pass a lot of args around simply for the
purpose of doing mirror selection. This goes away if everything
gets a mirror.

This change should only be merged after the parent change has
propagated to all puppeted slaves and updated nodepool images.

Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Change-Id: I4a721f6559d7160c8213268a8c1e35c667a67a4f
2014-08-06 02:04:43 +00:00
Doug Hellmann
1374a394e6 Make it possible to run zuul layout test locally
Add a tox environment to run the zuul layout tests locally.

Modify run-layout.sh to ignore a missing mirror selection script
and assume that it is running with a valid mirror configuration.
This allows the script to be run locally without breaking a
dev environment.

Change-Id: I5b0c94ae51e7f41b8b26b3ef4f78b830031d263e
2014-05-28 12:52:43 -07:00
James E. Blair
2b30b928e4 Validate that zuul-referenced jobs exist
Create a list of jobs defined by the current JJB configuration
and use it to validate that every job referenced in the Zuul
layout.yaml exists.

Also, fix all of the errors currently identified by this.

Requires Iceb74440cb004e9ebe6fc08a4eedf7715de2d485 in Zuul.

Change-Id: Iae8f612836a269520ce7448b9a656c8df183e126
2013-07-30 16:02:39 -07:00
James E. Blair
b056314185 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
2013-03-18 20:29:07 +00:00
James E. Blair
302cbab129 Add zuul layout validation gate job.
Non-voting for now to make sure it works.

Change-Id: Iac29eba2320c8a972a03df81d10feb0183d98fd7
Reviewed-on: https://review.openstack.org/19719
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-01-16 17:41:56 +00:00