15 Commits

Author SHA1 Message Date
Monty Taylor
f572ff8249 Publish infra docs to docs.o.o
The old ci.openstack.org server is not puppetted, and it's well past
time it was actually retired. Infra docs are one of the last things that
exist there that need to exist there. Move them.

Change-Id: I51a86699a39e6f8fdac91ad91f5933246681ae15
2015-04-23 16:23:41 +02:00
Ian Wienand
a3886eb9d7 Add nodepool config check
Use the nodepool config validation environment to check that
system-config changes don't commit a bad nodepool configuration

Depends-On: I5d58648bca160d8afc81aae3d8daf0c7bd01c976
Change-Id: I32c69acede6187c61008970d4f3620a3ae121070
2015-03-17 11:25:07 +11:00
James E. Blair
5a4af57ca8 Fix propose-project-config-update job
It was not using the correct gerrit-git-prep macro for a periodic job.
Correct that and also remove some builders that are not needed.

Change-Id: Ie29340f84b1a050a7c3b348a5b765b93c1ca1345
2015-03-10 11:57:22 -07:00
James E. Blair
9fa5fe4c31 Propose projects.yaml normalization daily
Add a job that will propose a change (or update a change) to
normalize projects.yaml, and run it once daily.  Normalization,
in this case, chiefly means removing un-used upstream lines
from projects.yaml (but will also catch minor YAML errors and
line wrapping).

Also simplify the proposal node regex.

Change-Id: I6520dfcd6f523886aba352f9bd7f9186cfeed84a
2015-03-09 13:31:03 -07:00
Joshua Hesketh
834ef68d4e Remove jenkins console-log publisher from infra
Remove the last instance of console-log uploading from infra jobs.
Instead jobs are uploaded with swift.

Change-Id: I6f8ab265355bffea9e6c70a92b966590ec93d614
2015-02-17 20:31:57 +11:00
armando-migliaccio
e6573ea752 Add test for validating certain gerrit ACL rules
This patch adds a check for Gerrit ACL configs. In this initial
version, the test being added checks that the config defines
at least one team that acts as a core/admin one.

The current check is intentially pretty loose to ensure some
flexibility.

Currently the check applies to stackforge and openstack-dev only.

Change-Id: I2b04f2d94130699d6fd1c16a9b00b9c81d1ba07d
2014-12-15 23:03:03 -08:00
Joshua Hesketh
93e4547577 Rename zuul-swift-upload jobs to use hypens
Be more consistent with other macros/jobs.

Change-Id: Ia54261e8fd4295b42bef0e2911628dddab778a42
2014-12-16 17:37:27 +11:00
Joshua Hesketh
9a45db8c90 Dogfood swift logs with infra jobs
Disable log publishers other than swift to dogfood moving over to
swift for our log storage needs.

Change-Id: I69e8506022d395caf9780d5d3d2effa40de7e415
2014-12-12 13:46:53 +11:00
Joshua Hesketh
da53e4d7e1 Create zuul_swift_upload publishers
Use postbuildscript publishers to capture jobs that have failed
by ensuring that logs are uploaded even if the build has exited.

Keep the build macros as the postbuildscript needs builders to
execute and they also aren't strictly just for use as a publisher.

Change-Id: I21463f89281911dff6efda31e754bdc7b3266e24
2014-12-09 15:01:21 +11:00
Andreas Jaeger
ab35650306 Use job-template for publishing to ci.openstack.org
Merge the various publishing jobs into a job template. The only
difference between them was the target and that the system-config one
used zuul_swift_upload_console_log.

The template now uses zuul_swift_upload_console_log for all the jobs.

The jobs using the template are now named "{name}-ci-docs" and needed to
be added to the jjb project and renamed in the zuul layout file.

Change-Id: I8772508ec9da4ba4b7d3bc37f85d260f80e836bc
2014-11-28 11:38:56 +01:00
Anita Kuno
33fafbd5f7 Rename config => system-config
We are renaming the openstack-infra/config repo to
openstack-infra/system-config. This patch does the rename.

Change-Id: If70e06a990cf6874bfb1497e36cc41c55154a88a
2014-10-17 21:28:44 +00:00
Andreas Jaeger
9836ea5357 Add check for ordering of jenkins/jobs/projects.yaml
Example output of test:
$ tools/jenkins-projects-checks.py
Checking section 'OpenStack server projects'
Checking section 'OpenStack client projects'
Checking section 'oslo libraries'
Checking section 'Other OpenStack projects'
  Wrong alphabetical order: tempest, qa-specs
Checking section 'OpenStack API projects'
Checking section 'OpenStack documentation projects'
Checking section 'OpenStack development projects'
Checking section 'OpenStack infrastructure projects'
Checking section 'Stackforge projects'
Found errors in jenkins/jobs/projects.yaml!

This patch fixes the order so that it passes.
It also creates a new job to test this.

Change-Id: I36fd522261363494f07b57e40f0d9b943cf08841
2014-10-06 22:17:26 +02:00
Andreas Jaeger
f4a284d3e8 Use tox -e zuul for layout test
Adjust tox environment, the check_projects_yaml_alphabetized.sh script
only works with gerrit/projects.yaml but not with layout.yaml, so remove
the call.

Change the job to use tox -e zuul.

Change-Id: I70d918ec1de94c6ec9aa0c2c6647aa8c791df303
2014-09-30 20:32:44 +02:00
Anita Kuno
cc8ca00f8c Update jenkins job names that test project-config
There were some jenkins jobs that test project-config that needed
their names updated. This patch renames jobs that started with
config or gate-config to project-config or gate-project-config.

Change-Id: I107b7830a9b5c7d0bb526742a5f35bf662faccd2
2014-09-25 17:02:54 -04:00
Anita Kuno
1d21cd635f Reorganizes project-config
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.

Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
2014-09-25 11:41:04 -04:00