Remove infra specific pipelines and enable pipelines

Remove infra-gate and infra-post; remove infra-check everywhere except
for project-config so that we can quickly iterate on it.

Enable the pipelines for all projects.

Move infra-check pipeline after check to have those related pipelines
displayed together.

This partially reverts I084b819ea0a4b67f36df61ccb3bfd6963cc3940d and
reverts Ieced5db4bb8a29eb494dffce3bed030a528f46a1 and
I5646ab81eb1a6515b32c42a2c3c4e64a94be4748.

Depends-On: I738f7c48b8f47e05c95de645a2d3403363204737
Depends-On: I48b14f2d26972cc06ab2293885b37b61c687e83b
Depends-On: Ib325a20839db3fe7884564db2a877ff4edb920e2
Change-Id: I8ed5d777f077b4ebda42c57a5871f38bd1762f88
This commit is contained in:
Andreas Jaeger 2017-10-10 15:51:07 +02:00 committed by Monty Taylor
parent df53f25737
commit 8e1d64aee8
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 16 additions and 91 deletions

View File

@ -342,63 +342,3 @@
ignore-dependencies: true ignore-dependencies: true
precedence: low precedence: low
trigger: {} trigger: {}
- pipeline:
name: infra-gate
description: |
Infra-specific pipeline for Changes that have been approved by core
developers. Changes are enqueued in order in this pipeline, and if they
pass tests, will be merged.
success-message: Build succeeded (gate pipeline).
failure-message: |
Build failed (gate pipeline). For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing
manager: dependent
precedence: high
require:
gerrit:
open: True
current-patchset: True
approval:
- Verified: [1,2]
username: zuul
- Workflow: 1
trigger:
gerrit:
- event: comment-added
approval:
- Workflow: 1
- event: comment-added
approval:
- Verified: 1
username: zuul
start:
gerrit:
Verified: 0
success:
gerrit:
Verified: 2
submit: true
mysql:
failure:
gerrit:
Verified: -2
mysql:
window-floor: 20
window-increase-factor: 2
- pipeline:
name: infra-post
description: |
Infra-specific pipeline for running jobs that operate after each change
is merged.
manager: independent
precedence: high
trigger:
gerrit:
- event: ref-updated
ref: ^refs/heads/.*$
success:
mysql:
failure:
mysql:

View File

@ -764,13 +764,13 @@
name: openstack-infra/infra-manual name: openstack-infra/infra-manual
templates: templates:
- system-required - system-required
infra-check: check:
jobs: jobs:
- build-openstack-sphinx-docs - build-openstack-sphinx-docs
infra-gate: gate:
jobs: jobs:
- build-openstack-sphinx-docs - build-openstack-sphinx-docs
infra-post: post:
jobs: jobs:
- publish-infra-manual - publish-infra-manual
@ -778,19 +778,7 @@
name: openstack-infra/infra-specs name: openstack-infra/infra-specs
templates: templates:
- system-required - system-required
# TODO(jaegerandi): use the openstack-specs-jobs once we moved - openstack-specs-jobs
# to zuul v3 everywhere:
# - openstack-specs-jobs
infra-check:
jobs:
- build-openstack-sphinx-docs
infra-gate:
jobs:
- build-openstack-sphinx-docs
infra-post:
jobs:
- publish-openstack-specs
- project: - project:
name: openstack-infra/irc-meetings name: openstack-infra/irc-meetings
@ -974,13 +962,13 @@
- project: - project:
name: openstack-infra/openstack-zuul-jobs name: openstack-infra/openstack-zuul-jobs
infra-check: check:
jobs: jobs:
- build-openstack-sphinx-docs - build-openstack-sphinx-docs
infra-gate: gate:
jobs: jobs:
- build-openstack-sphinx-docs - build-openstack-sphinx-docs
infra-post: post:
jobs: jobs:
- publish-openstack-sphinx-docs-infra: - publish-openstack-sphinx-docs-infra:
branches: ^(?!bug/).*$ branches: ^(?!bug/).*$
@ -1042,6 +1030,8 @@
name: openstack-infra/project-config name: openstack-infra/project-config
templates: templates:
- system-required - system-required
# This is the only project that use this pipeline so that
# we can iterate quickly on changes.
infra-check: infra-check:
jobs: jobs:
- build-openstack-specs-site - build-openstack-specs-site
@ -1093,7 +1083,7 @@
- bindep.txt - bindep.txt
- jenkins/data/bindep-fallback.txt - jenkins/data/bindep-fallback.txt
- other-requirements.txt - other-requirements.txt
infra-gate: gate:
queue: project-config queue: project-config
jobs: jobs:
- build-openstack-specs-site - build-openstack-specs-site
@ -1140,7 +1130,7 @@
- bindep.txt - bindep.txt
- jenkins/data/bindep-fallback.txt - jenkins/data/bindep-fallback.txt
- other-requirements.txt - other-requirements.txt
infra-post: post:
jobs: jobs:
- publish-infra-index - publish-infra-index
- publish-openstack-specs-site - publish-openstack-specs-site
@ -2828,11 +2818,9 @@
- project: - project:
name: openstack-infra/zuul-jobs name: openstack-infra/zuul-jobs
# TODO(jaegerandi): Use template again once we do not need the templates:
# infra-X pipelines. - publish-openstack-sphinx-docs-infra
# templates: check:
# - publish-openstack-sphinx-docs-infra
infra-check:
jobs: jobs:
- base-integration-centos-7 - base-integration-centos-7
- base-integration-debian-jessie - base-integration-debian-jessie
@ -2842,8 +2830,7 @@
- base-integration-opensuse423 - base-integration-opensuse423
- tox-linters - tox-linters
- tox-py35-on-zuul - tox-py35-on-zuul
- build-openstack-sphinx-docs gate:
infra-gate:
jobs: jobs:
- base-integration-centos-7 - base-integration-centos-7
- base-integration-debian-jessie - base-integration-debian-jessie
@ -2853,12 +2840,10 @@
- base-integration-opensuse423 - base-integration-opensuse423
- tox-linters - tox-linters
- tox-py35-on-zuul - tox-py35-on-zuul
- build-openstack-sphinx-docs post:
infra-post:
jobs: jobs:
- publish-openstack-sphinx-docs-infra: - publish-openstack-sphinx-docs-infra:
branches: ^(?!bug/).*$ branches: ^(?!bug/).*$
- build-openstack-sphinx-docs
- project: - project:
name: openstack-infra/zuul-packaging name: openstack-infra/zuul-packaging