From 76377cabadd3b73f115f59da16e19bdd5a063fb3 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 20 Aug 2014 15:52:21 +1000 Subject: [PATCH] Replace all check/gate: noop with a template Go through all of the layout and replace all check and gate jobs that are 'noop' with a template. Also fix the reference in stackforge.rst. Change-Id: I4f7006a60484071fe6c738773ac76ac7ab544854 --- doc/source/stackforge.rst | 5 +- .../openstack_project/files/zuul/layout.yaml | 437 ++++-------------- 2 files changed, 94 insertions(+), 348 deletions(-) diff --git a/doc/source/stackforge.rst b/doc/source/stackforge.rst index c47bb09826..e379630071 100644 --- a/doc/source/stackforge.rst +++ b/doc/source/stackforge.rst @@ -174,10 +174,7 @@ python-jobs in projects.yaml, it should look like this instead:: - name: stackforge/project-name template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs That concludes the bare minimum openstack-infra/config changes necessary to add a project to StackForge. You can commit these changes and submit diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 8caf4845f5..01de686bcc 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -428,6 +428,12 @@ project-templates: gate: - 'gate-{name}-docs' + - name: noop-jobs + check: + - noop + gate: + - noop + jobs: - name: ^.*$ parameter-function: set_node_options_default_trusty @@ -1753,14 +1759,11 @@ projects: - name: merge-check - name: check-requirements - name: publish-to-pypi - check: - - noop + - name: noop-jobs check-tripleo: - check-tripleo-novabm-undercloud-precise-nonha - check-tripleo-ironic-undercloud-precise-nonha - check-tripleo-novabm-overcloud-f20-nonha - gate: - - noop experimental-tripleo: - check-tripleo-novabm-overcloud-precise-nonha post: @@ -1785,10 +1788,7 @@ projects: - name: stackforge/gertty template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/git-upstream template: @@ -1835,10 +1835,7 @@ projects: - name: openstack/governance template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs #TODO: add docs - name: openstack/heat-cfntools @@ -1871,10 +1868,7 @@ projects: - name: openstack/openstack template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack/openstack-doc-tools template: @@ -2427,15 +2421,12 @@ projects: template: - name: merge-check - name: publish-to-pypi - check: - - noop + - name: noop-jobs check-tripleo: - check-tripleo-novabm-undercloud-precise-nonha - check-tripleo-ironic-undercloud-precise-nonha - check-tripleo-novabm-overcloud-f20-nonha - check-tripleo-ironic-overcloud-precise-ha - gate: - - noop experimental-tripleo: - check-tripleo-novabm-overcloud-precise-nonha post: @@ -2449,15 +2440,12 @@ projects: template: - name: merge-check - name: publish-to-pypi - check: - - noop + - name: noop-jobs check-tripleo: - check-tripleo-novabm-undercloud-precise-nonha - check-tripleo-ironic-undercloud-precise-nonha - check-tripleo-novabm-overcloud-f20-nonha - check-tripleo-ironic-overcloud-precise-ha - gate: - - noop experimental-tripleo: - check-tripleo-novabm-overcloud-precise-nonha post: @@ -2497,10 +2485,7 @@ projects: - name: openstack/trove-integration template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs experimental: - gate-trove-buildimage-mysql @@ -2644,18 +2629,12 @@ projects: - name: openstack-dev/cookiecutter template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-dev/devstack-vagrant template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-dev/devstack template: @@ -2741,10 +2720,7 @@ projects: - name: openstack-dev/openstack-nose template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-dev/oslo-cookiecutter template: @@ -2788,10 +2764,7 @@ projects: - name: openstack-dev/sandbox template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs pre-release: - sandbox-tag release: @@ -2800,28 +2773,19 @@ projects: - name: openstack-dev/specs-cookiecutter template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs # Section: OpenStack infrastructure projects - name: openstack-infra/activity-board template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-infra/askbot-theme template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-infra/bugdaystats template: @@ -3042,10 +3006,7 @@ projects: - name: openstack-infra/groups-static-pages template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-infra/jeepyb template: @@ -3071,18 +3032,12 @@ projects: - name: openstack-infra/lodgeit template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-infra/meetbot template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-infra/nodepool template: @@ -3096,20 +3051,14 @@ projects: template: - name: merge-check - name: publish-to-pypi - check: - - noop - gate: - - noop + - name: noop-jobs post: - nose-html-output-branch-tarball - name: openstack-infra/odsreg template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-infra/openstackid template: @@ -3136,10 +3085,7 @@ projects: - name: openstack-infra/publications template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs post: - infra-publications-publish - infra-publications-publish-index @@ -3150,18 +3096,12 @@ projects: - name: openstack-infra/puppet-apparmor template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-infra/puppet-dashboard template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-infra/puppet-storyboard template: @@ -3196,10 +3136,7 @@ projects: - name: openstack-infra/puppet-vcsrepo template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: openstack-infra/puppet-yum template: @@ -3235,10 +3172,7 @@ projects: - name: openstack-infra/releasestatus template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs # TODO: add docs - name: openstack-infra/release-tools @@ -3359,14 +3293,11 @@ projects: - name: openstack-infra/tripleo-ci template: - name: merge-check - check: - - noop + - name: noop-jobs check-tripleo: - check-tripleo-novabm-undercloud-precise-nonha - check-tripleo-ironic-undercloud-precise-nonha - check-tripleo-novabm-overcloud-f20-nonha - gate: - - noop experimental-tripleo: - check-tripleo-novabm-overcloud-precise-nonha @@ -3402,10 +3333,7 @@ projects: - name: openstack-infra/zuul-packaging template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs # Section: Stackforge projects @@ -3534,10 +3462,7 @@ projects: - name: stackforge/cloudcafe template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/clouddocs-maven-plugin template: @@ -3578,18 +3503,12 @@ projects: - name: stackforge/cloudroast template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/compass-adapters template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/compass-core template: @@ -3606,18 +3525,12 @@ projects: - name: stackforge/compass-monit template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/compass-web template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/congress template: @@ -3782,66 +3695,42 @@ projects: - name: stackforge/fuel-astute template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/fuel-devops template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/fuel-docs template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/fuel-library template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/fuel-main template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/fuel-ostf template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/fuel-ostf-plugin template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/fuel-provision template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/fuel-specs template: @@ -3855,18 +3744,12 @@ projects: - name: stackforge/fuel-web template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/golang-client template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/gnocchi template: @@ -3931,10 +3814,7 @@ projects: - name: stackforge/kickstack template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/libra template: @@ -3988,10 +3868,7 @@ projects: - name: stackforge/milk template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/mistral template: @@ -4090,10 +3967,7 @@ projects: - name: stackforge/MRaaS template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/monasca-agent template: @@ -4111,10 +3985,7 @@ projects: - name: stackforge/monasca-api template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/monasca-ceilometer template: @@ -4150,10 +4021,7 @@ projects: - name: stackforge/monasca-persister template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/monasca-thresh template: @@ -4181,10 +4049,7 @@ projects: - name: stackforge/monasca-vagrant template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/murano-agent template: @@ -4200,10 +4065,7 @@ projects: - name: stackforge/murano-apps template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/murano template: @@ -4244,50 +4106,32 @@ projects: - name: stackforge/murano-deployment template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/murano-docs template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/nova-solver-scheduler template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/novaimagebuilder template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/occi-os template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/opencafe template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/openstack-chef-specs template: @@ -4305,42 +4149,27 @@ projects: - name: stackforge/openstack-cli-powershell template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/openstack-sdk-dotnet template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/openstack-sdk-php template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/openstackdroid template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/openvz-nova-driver template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/osprofiler template: @@ -4359,10 +4188,7 @@ projects: - name: stackforge/ospurge template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/packstack template: @@ -4432,10 +4258,7 @@ projects: - name: stackforge/powervc-driver template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/puppet-ceilometer template: @@ -4694,10 +4517,7 @@ projects: - name: stackforge/puppet-openstack-specs template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/puppet-openstacklib template: @@ -4722,18 +4542,12 @@ projects: - name: stackforge/puppet_openstack_builder template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/puppet-openstack_dev_env template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/puppet-openstack_extras template: @@ -5041,10 +4855,7 @@ projects: - name: stackforge/python-surveilclient template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/solum-infra-guestagent template: @@ -5205,10 +5016,7 @@ projects: - name: stackforge/staccato template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/stackalytics template: @@ -5260,10 +5068,7 @@ projects: - name: stackforge/swiftpolicy template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/swiftsync template: @@ -5404,18 +5209,12 @@ projects: - name: stackforge/surveil-specs template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xenapi-os-testing template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/doc8 template: @@ -5467,10 +5266,7 @@ projects: - name: stackforge/xstatic-angular template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-angular-animate template: @@ -5491,18 +5287,12 @@ projects: - name: stackforge/xstatic-angular-cookies template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-angular-mock template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-angular-sanitize template: @@ -5515,26 +5305,17 @@ projects: - name: stackforge/xstatic-bootstrap-datepicker template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-bootstrap-scss template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-d3 template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-font-awesome template: @@ -5547,82 +5328,52 @@ projects: - name: stackforge/xstatic-hogan template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-jasmine template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-jquery-migrate template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-jquery.bootstrap.wizard template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-jquery.quicksearch template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-jquery.tablesorter template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-jsencrypt template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-qunit template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-rickshaw template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/xstatic-spin template: - name: merge-check - check: - - noop - gate: - - noop + - name: noop-jobs - name: stackforge/rack template: @@ -5639,7 +5390,5 @@ projects: - rack-coverage - name: stackforge/tuskar-ui-extras - check: - - noop - gate: - - noop + template: + - name: noop-jobs