treasuremap/.zuul.yaml
Drew Walters ad01c813a0 zuul: Add site linting gates
With the integration of the airskiff site in Treasuremap, there is a
need for Zuul site linting gates to ensure that all sites are still
syntactically valid when changes are made to global documents. This
change introduces linting gates for both treasuremap sites, airskiff and
airship-seaworthy.

Story: 2004349
Change-Id: I69dc68bf49b02543f8a2def5841dae7cb5824bd6
2018-11-21 12:48:18 -06:00

60 lines
1.7 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: '47687'
check:
jobs:
- airship-seaworthy-site-lint-gate
- airskiff-site-lint-gate
gate:
jobs:
- airship-seaworthy-site-lint-gate
- airskiff-site-lint-gate
- nodeset:
name: airship-treasuremap-single-node
nodes:
- name: primary
label: ubuntu-xenial
- job:
name: airship-seaworthy-site-lint-gate
nodeset: airship-treasuremap-single-node
timeout: 900
pre-run:
- tools/gate/playbooks/install-docker.yaml
- tools/gate/playbooks/git-config.yaml
run: tools/gate/playbooks/airship-seaworthy-site-lint.yaml
required-projects:
- openstack/airship-pegleg
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- job:
name: airskiff-site-lint-gate
nodeset: airship-treasuremap-single-node
timeout: 900
pre-run:
- tools/gate/playbooks/install-docker.yaml
- tools/gate/playbooks/git-config.yaml
run: tools/gate/playbooks/airskiff-site-lint.yaml
required-projects:
- openstack/airship-pegleg
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$