deckhand/.zuul.yaml
Felipe Monteiro b9aafceda6 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: I4c1f279d2dfada0396b99c3834294a41619ba474
2018-09-09 12:09:38 -06:00

232 lines
7.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: '38572'
check:
jobs:
- airship-deckhand-tox-py27-postgresql
- airship-deckhand-tox-py35-postgresql
- airship-deckhand-functional-uwsgi-py35:
voting: false
- airship-deckhand-functional-docker-py35
- airship-deckhand-integration-uwsgi-py35:
voting: false
- airship-deckhand-integration-docker-py35
- airship-deckhand-docker-build-gate
gate:
jobs:
- airship-deckhand-tox-py27-postgresql
- airship-deckhand-tox-py35-postgresql
- airship-deckhand-functional-docker-py35
- airship-deckhand-integration-docker-py35
- airship-deckhand-docker-build-gate
post:
jobs:
- airship-deckhand-docker-publish
- nodeset:
name: airship-deckhand-single-node
nodes:
- name: primary
label: ubuntu-xenial
- job:
name: airship-deckhand-tox-py27-postgresql
parent: openstack-tox-py27
pre-run:
- tools/gate/playbooks/install-postgresql.yaml
vars:
tox_envlist: py27-postgresql
- job:
name: airship-deckhand-tox-py35-postgresql
parent: openstack-tox-py35
pre-run:
- tools/gate/playbooks/install-postgresql.yaml
vars:
tox_envlist: py35-postgresql
- job:
name: airship-deckhand-functional-uwsgi-py35
description: |
Run tox-based functional tests for the Airship Deckhand project using a
minimalistic deployment consisting of uwsgi for Deckhand API and pifpaf
for ephemeral PostgreSQL DB, under cPython version 3.5.
run: tools/gate/playbooks/run-functional-tests-uwsgi.yaml
nodeset: airship-deckhand-single-node
vars:
tox_envlist: functional-dev
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^deckhand/tests/unit/.*$
- job:
name: airship-deckhand-functional-docker-base
description: |
Base job for running airship-deckhand functional tests. Runs tests
against Docker image generated from source code.
roles:
- zuul: openstack/openstack-helm-infra
timeout: 3600
pre-run:
- tools/gate/playbooks/osh-infra-upgrade-host.yaml
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
run: tools/gate/playbooks/run-functional-tests-docker.yaml
required-projects:
- openstack/openstack-helm-infra
- job:
name: airship-deckhand-functional-docker-py35
description: |
Run tox-based functional tests for the Airship Deckhand project under
cPython version 3.5. Uses tox with the ``functional-py35`` environment.
parent: airship-deckhand-functional-docker-base
nodeset: airship-deckhand-single-node
vars:
tox_envlist: functional
disable_keystone: true
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^deckhand/tests/unit/.*$
- job:
name: airship-deckhand-integration-uwsgi-py35
description: |
Run tox-based integration tests for the Airship Deckhand project using a
minimalistic deployment consisting of uwsgi for Deckhand API and pifpaf
for ephemeral PostgreSQL DB, under cPython version 3.5.
timeout: 3600
run: tools/gate/playbooks/run-integration-tests-uwsgi.yaml
nodeset: airship-deckhand-single-node
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^deckhand/tests/unit/.*$
vars:
disable_keystone: true
- job:
name: airship-deckhand-integration-docker-base
description: |
Base job for running airship-deckhand integration tests. Runs tests
against Docker image generated from source code.
timeout: 3600
roles:
- zuul: openstack/openstack-helm-infra
vars:
zuul_osh_relative_path: ../openstack-helm/
zuul_osh_infra_relative_path: ../openstack-helm-infra/
pre-run:
- tools/gate/playbooks/osh-infra-upgrade-host.yaml
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
run: tools/gate/playbooks/run-integration-tests-docker.yaml
post-run: tools/gate/playbooks/osh-infra-collect-logs.yaml
required-projects:
- openstack/openstack-helm
- openstack/openstack-helm-infra
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- job:
name: airship-deckhand-integration-docker-py35
description: |
Run tox-based integration tests for the Airship Deckhand project under
cPython version 3.5.
parent: airship-deckhand-integration-docker-base
nodeset: openstack-helm-single-node
vars:
disable_keystone: false
- job:
name: airship-deckhand-docker-build-gate
timeout: 1800
run: tools/gate/playbooks/docker-image-build.yaml
nodeset: airship-deckhand-single-node
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^charts/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
vars:
publish: false
tags:
dynamic:
patch_set: true
- job:
name: airship-deckhand-docker-publish
timeout: 1800
run: tools/gate/playbooks/docker-image-build.yaml
nodeset: airship-deckhand-single-node
secrets:
- airship_deckhand_quay_creds
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^charts/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
vars:
publish: true
tags:
dynamic:
branch: true
commit: true
static:
- latest
- secret:
name: airship_deckhand_quay_creds
data:
username: !encrypted/pkcs1-oaep
- eC+ZaBS1TN37yuvL2WoGkJQ8OFBSLiXxV0wAkH+2l9wLNjmT3QxwnjXTNSw883zEkE9C/
XPDUxgv7RMLO/Bfs7uXKH1QjCbIJREPJ7Vk6WY9BUvn6olT/JCafpRcsmAkIS4W8p0l7J
ZxelQnGm/Z2zcq4eWeKzKsFLGiAHyoFASXqlDf93NesR+lZ4xnZkO24+oPMpZq6o2Xr2D
eWrxEcEsn817o7bA5d9mHb3u2e4tgyxhRevz43VD+0p1bK1thjRn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