armada/.zuul.yaml
Sean Eagan 80e513219b Correct docs-on-readthedocs to work with RTD publish
This patch set follows the guide [0] to leverage
the Zuul template [1] for correctly publishing RTD
doc changes via openstackci. Accordingly, all the
old code for doing this has been removed.

[0]
http://lists.openstack.org/pipermail/openstack-dev/2018-August/132836.html
[1]
https://docs.openstack.org/infra/openstack-zuul-jobs/project-templates.html#project_template-docs-on-readthedocs

Change-Id: Ibb38c5a420a2b06c0872840e054f7edc0b717cf6
2018-09-10 21:44:29 +00:00

138 lines
4.6 KiB
YAML

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- project:
templates:
- docs-on-readthedocs
vars:
rtd_webhook_id: '47578'
check:
jobs:
- openstack-tox-pep8
- airship-armada-linter
- airship-armada-lint-pep8
- airship-armada-ubuntu
- airship-armada-docker-build-gate
gate:
jobs:
- openstack-tox-pep8
- airship-armada-linter
- airship-armada-lint-pep8
- airship-armada-docker-build-gate
post:
jobs:
- airship-armada-docker-publish
- job:
name: airship-armada-linter
run: tools/gate/playbooks/zuul-linter.yaml
nodeset: airship-armada-single-node
- job:
name: airship-armada
roles:
- zuul: openstack/openstack-helm-infra
vars:
zuul_osh_infra_relative_path: ../openstack-helm-infra/
timeout: 7200
pre-run:
- tools/gate/playbooks/osh-infra-upgrade-host.yaml
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
- tools/gate/playbooks/osh-infra-build.yaml
- tools/gate/playbooks/osh-infra-deploy-k8s.yaml
run: tools/gate/playbooks/airship-armada-check.yaml
post-run: tools/gate/playbooks/osh-infra-collect-logs.yaml
required-projects:
- openstack/openstack-helm-infra
- job:
name: airship-armada-ubuntu
parent: airship-armada
nodeset: openstack-helm-single-node
voting: false
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^armada/tests/unit/.*$
- nodeset:
name: airship-armada-single-node
nodes:
- name: primary
label: ubuntu-xenial
- job:
name: airship-armada-lint-pep8
description: |
Lints Python files against the PEP8 standard
run: tools/gate/playbooks/pep8-linter.yaml
timeout: 300
nodeset: airship-armada-single-node
files:
- ^.*\.py$
- job:
name: airship-armada-docker-build-gate
timeout: 1800
run: tools/gate/playbooks/docker-image-build.yaml
nodeset: airship-armada-single-node
vars:
publish: false
tags:
dynamic:
patch_set: true
- job:
name: airship-armada-docker-publish
timeout: 1800
run: tools/gate/playbooks/docker-image-build.yaml
nodeset: airship-armada-single-node
secrets:
- airship_armada_quay_creds
vars:
publish: true
tags:
dynamic:
branch: true
commit: true
static:
- latest
- secret:
name: airship_armada_quay_creds
data:
username: !encrypted/pkcs1-oaep
- mQ5xMKaU6+ug5Zp+LK5hfwbFamnW9hK2QVQOA7ylcoTMh8yz66YcgDjGJjbT2c66NF8eg
f279ODNmGe5pYepdR8/fU/aQ2pTVVvrF1bt0fcon8xxEZGuWnCftYZjO6Ogq+HWWwwnW0
HLcvnFK3GhGBJkYCG9742PxuLpDOYDSiK3jRCN1tgdY+vcHpm7bwqyhzywj7ar4lsk8Gk
d9Z57xkcURuw/GEBf8tHzd2PTAj3Oao6hKMTdCVhYZejjNNR34GPhGIvipb7m/dNIzT2c
j4a/Kq3HcqVog1OiCkSn4jRlIcD1Jgl/cyJyEz6dZCP2W16X/qwzDD8YUSsTPt4Jc6s/U
hD/aye5f1Jwoiyy23BM7BJ8s8eoioYsubV3TUGNQv64UxRnd4nPyWW2QssfAlA2fsww2v
D9nLjmYuj4t8IzfQVd4ZLwBUKrb1q1au8bR3jYd8x2RaYjAVr4aPXQLzeXR7k0kZ9QgYO
PetkCkf2vly8UYtonaM0odf7X1KfKgCOU+urXWMnDVU3SEaMH5f51NnW8Xb5NmCk/S9vz
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