# 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: check: jobs: - airship-shipyard-linter - airship-shipyard-ubuntu: voting: false - airship-shipyard-tox-py35 - airship-shipyard-pep8 - airship-shipyard-security-bandit - airship-shipyard-image gate: jobs: - airship-shipyard-linter # NOTE(portdirect): enable when voting enabled. # - airship-shipyard-ubuntu: # irrelevant-files: # - ^.*\.rst$ # - ^doc/.*$ # - ^releasenotes/.*$ - airship-shipyard-tox-py35 - airship-shipyard-pep8 - airship-shipyard-security-bandit - airship-shipyard-image post: jobs: - airship-shipyard-docker-build-post - nodeset: name: airship-shipyard-single-node nodes: - name: primary label: ubuntu-xenial - job: name: airship-shipyard-linter description: | Lints all files by checking them for whitespace. run: tools/gate/playbooks/zuul-linter.yaml nodeset: airship-shipyard-single-node - job: name: airship-shipyard-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-shipyard-check.yaml post-run: tools/gate/playbooks/osh-infra-collect-logs.yaml required-projects: - openstack/openstack-helm-infra irrelevant-files: - ^.*\.rst$ - ^doc/.*$ - ^releasenotes/.*$ - job: name: airship-shipyard-ubuntu parent: airship-shipyard-base nodeset: airship-shipyard-single-node - job: name: airship-shipyard-tox-base description: | Base job for running airship-shipyard 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-tests.yaml required-projects: - openstack/openstack-helm-infra irrelevant-files: - ^.*\.rst$ - ^doc/.*$ - ^releasenotes/.*$ - job: name: airship-shipyard-tox-py35 description: | Run tox-based tests for the Airship Shipyard project under cPython version 3.5. parent: airship-shipyard-tox-base nodeset: airship-shipyard-single-node vars: tox_envlist: py35 - job: name: airship-shipyard-pep8 description: | Run pep8 tests for the Airship Shipyard project under cPython version 3.5. parent: airship-shipyard-tox-base nodeset: airship-shipyard-single-node vars: tox_envlist: pep8 - job: name: airship-shipyard-security-bandit description: | Run bandit code scans for the Airship Shipyard project run: tools/gate/playbooks/security-bandit.yaml nodeset: airship-shipyard-single-node - job: name: airship-shipyard-image-base description: | Base job for running airship-shipyard image related jobs. 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-image.yaml nodeset: airship-shipyard-single-node required-projects: - openstack/openstack-helm-infra irrelevant-files: - ^.*\.rst$ - ^doc/.*$ - ^releasenotes/.*$ - job: name: airship-shipyard-image description: | Run shipyard-image build. parent: airship-shipyard-image-base vars: publish: false tags: dynamic: patch_set: true - job: name: airship-shipyard-docker-build-post timeout: 1800 roles: - zuul: openstack/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-image.yaml nodeset: airship-shipyard-single-node required-projects: - openstack/openstack-helm-infra irrelevant-files: - ^.*\.rst$ - ^doc/.*$ - ^releasenotes/.*$ secrets: - airship_shipyard_quay_creds vars: publish: true tags: dynamic: branch: true commit: true static: - latest - secret: name: airship_shipyard_quay_creds data: username: !encrypted/pkcs1-oaep - k9WFg+z1sgabdmlWRa/6Cc37N2TxmzCGC23nNr/fC5eDf5z73D0XycpbMhvYZ4ZRqXuRD Yl9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