spyglass-plugin-xls/.zuul.yaml
Ian H Pittwood 2b585d1e40 Move safety checks to new Zuul job
Moves the dependency vulnerability checks from pep8 tox check to a new
Zuul job. This allows setting the job to not be voting as the database
used for safety has been flaky recently.

Changes basepython to python3 for safety and bandit jobs.

Related change: https://review.opendev.org/#/c/671847

Change-Id: I3bbc15aec795ff901e442e17d2ab974fd5da90ef
2019-07-23 08:42:42 -05:00

33 lines
1.0 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:
- openstack-python36-jobs
- openstack-python37-jobs
- openstack-cover-jobs
check:
jobs:
- openstack-tox-pep8
- spyglass-plugin-xls-dependency-vulnerability-check
gate:
jobs:
- openstack-tox-pep8
- spyglass-plugin-xls-dependency-vulnerability-check
- job:
name: spyglass-plugin-xls-dependency-vulnerability-check
parent: openstack-tox
voting: false
timeout: 600
vars:
tox_envlist: safety