d0f1f62b83
Moving the whitespace linting job as part of PEP8 job to reduce the need to create a VM just to find whitespaces in none *.py files. Python files' whitespace violation is covered as part of PEP8 job. Change-Id: I3bc6047c9ab65e8f55f91a949a6c05ef4e38ea16 Signed-off-by: Tin Lam <tin@irrational.io>
223 lines
7.5 KiB
YAML
223 lines
7.5 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
|
|
check:
|
|
jobs:
|
|
- airship-deckhand-tox-py27-postgresql
|
|
- airship-deckhand-tox-py35-postgresql
|
|
- airship-deckhand-ubuntu:
|
|
voting: false
|
|
- airship-deckhand-functional-docker-py35
|
|
- airship-deckhand-functional-uwsgi-py35
|
|
- airship-deckhand-integration-uwsgi-py35
|
|
- airship-deckhand-docker-build-gate
|
|
gate:
|
|
jobs:
|
|
- airship-deckhand-tox-py27-postgresql
|
|
- airship-deckhand-tox-py35-postgresql
|
|
# NOTE(portdirect): enable when voting enabled.
|
|
# - airship-deckhand-ubuntu:
|
|
# irrelevant-files:
|
|
# - ^.*\.rst$
|
|
# - ^doc/.*$
|
|
# - ^releasenotes/.*$
|
|
- airship-deckhand-functional-docker-py35
|
|
- airship-deckhand-functional-uwsgi-py35
|
|
- airship-deckhand-integration-uwsgi-py35
|
|
- airship-deckhand-docker-build-gate
|
|
post:
|
|
jobs:
|
|
- airship-deckhand-docker-publish
|
|
|
|
- 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-base
|
|
roles:
|
|
- zuul: openstack/openstack-helm-infra
|
|
vars:
|
|
zuul_osh_infra_relative_path: ../openstack-helm-infra/
|
|
timeout: 3600
|
|
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-deckhand-check.yaml
|
|
post-run: tools/gate/playbooks/osh-infra-collect-logs.yaml
|
|
required-projects:
|
|
- openstack/openstack-helm-infra
|
|
|
|
- job:
|
|
name: airship-deckhand-ubuntu
|
|
parent: airship-deckhand-base
|
|
nodeset: openstack-helm-single-node
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^etc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^deckhand/tests/unit/.*$
|
|
|
|
- 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: openstack-helm-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: openstack-helm-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: openstack-helm-single-node
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^etc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^deckhand/tests/unit/.*$
|
|
|
|
- job:
|
|
name: airship-deckhand-docker-build-gate
|
|
timeout: 1800
|
|
run: tools/gate/playbooks/docker-image-build.yaml
|
|
nodeset: openstack-helm-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: openstack-helm-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+0p1bK1thjRnUVpmOvHNjGI+jphAT
|
|
Vf2+Zqys0+xJ4yJ62bhnayvLZeaKD96rLIXCsbm4xYWsyrzCYvJQ4nESY7McYoDEG6PgL
|
|
3Gr/6oyNUzobQNAxuwo0GpecaBVy5Z1/8Ihlb8r1nNM3J0a7oz1PyPS4O7WRlQmXgHJ/x
|
|
jJJmh66ruDxi1bcarmn4AR6lWmfyFqHwIlptsvX9AcJd4FWII9ZYdTUiidJ9ob4KmchIY
|
|
G0wdqGDaekNR01VgB+JD05IM4UMLjwRnFmLUKIvo0H9YU5X253rv/GXNks1Ov2OevIlch
|
|
RnnnpCESNso+xup0IztfWBkcGPGBpgmI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