# 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-drydock-lint-ws - airship-drydock-lint-pep8: files: - ^.*\.py$ - airship-drydock-lint-chart: files: - ^charts/.*$ - airship-drydock-unit-py35 - airship-drydock-security-bandit: files: - ^.*\.py$ gate: jobs: - airship-drydock-lint-ws - airship-drydock-lint-pep8: files: - ^.*\.py$ - airship-drydock-lint-chart: files: - ^charts/.*$ - airship-drydock-unit-py35 - airship-drydock-security-bandit: files: - ^.*\.py$ - nodeset: name: airship-drydock-single-node nodes: - name: primary label: ubuntu-xenial - job: name: airship-drydock-lint-ws description: | Lints all files for trailing whitespace run: tools/gate/playbooks/zuul-linter.yaml timeout: 300 nodeset: airship-drydock-single-node - job: name: airship-drydock-lint-pep8 description: | Lints Python files against the PEP8 standard run: tools/gate/playbooks/pep8-linter.yaml timeout: 300 nodeset: airship-drydock-single-node - job: name: airship-drydock-lint-chart description: | Lints Helm charts for validity run: tools/gate/playbooks/helm-linter.yaml timeout: 300 nodeset: airship-drydock-single-node - job: name: airship-drydock-unit-py35 description: | Executes unit tests under Python 3.5 run: tools/gate/playbooks/unit-py35.yaml timeout: 300 nodeset: airship-drydock-single-node - job: name: airship-drydock-security-bandit description: | Executes the Bandit security scanner against Python files run: tools/gate/playbooks/security-bandit.yaml timeout: 300 nodeset: airship-drydock-single-node