
- Pep8, bandit and unit tests - Document build (no publish) Change-Id: I2ca67e69f80aff63576bebd14da412e2f138f54a
74 lines
2.1 KiB
YAML
74 lines
2.1 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:
|
|
check:
|
|
jobs:
|
|
- airship-pegleg-linter
|
|
- airship-pegleg-doc-build
|
|
- airship-pegleg-lint-pep8
|
|
- airship-pegleg-unit-py35
|
|
- airship-pegleg-security-bandit
|
|
|
|
gate:
|
|
jobs:
|
|
- airship-pegleg-linter
|
|
- airship-pegleg-doc-build
|
|
- airship-pegleg-lint-pep8
|
|
- airship-pegleg-unit-py35
|
|
- airship-pegleg-security-bandit
|
|
|
|
- nodeset:
|
|
name: airship-pegleg-single-node
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-xenial
|
|
|
|
- job:
|
|
name: airship-pegleg-linter
|
|
description: |
|
|
Lints all files by checking them for whitespace.
|
|
run: tools/gate/playbooks/zuul-linter.yaml
|
|
nodeset: airship-pegleg-single-node
|
|
|
|
- job:
|
|
name: airship-pegleg-lint-pep8
|
|
description: |
|
|
Lints Python files against the PEP8 standard
|
|
run: tools/gate/playbooks/pep8-linter.yaml
|
|
timeout: 300
|
|
nodeset: airship-pegleg-single-node
|
|
|
|
- job:
|
|
name: airship-pegleg-unit-py35
|
|
description: |
|
|
Executes unit tests under Python 3.5
|
|
run: tools/gate/playbooks/unit-py35.yaml
|
|
timeout: 300
|
|
nodeset: airship-pegleg-single-node
|
|
|
|
- job:
|
|
name: airship-pegleg-security-bandit
|
|
description: |
|
|
Executes the Bandit security scanner against Python files
|
|
run: tools/gate/playbooks/security-bandit.yaml
|
|
timeout: 300
|
|
nodeset: airship-pegleg-single-node
|
|
|
|
- job:
|
|
name: airship-pegleg-doc-build
|
|
description: |
|
|
Locally build the documentation to check for errors
|
|
run: tools/gate/playbooks/doc-build.yaml
|
|
timeout: 300
|
|
nodeset: airship-pegleg-single-node
|