fault/.zuul.yaml
Andy Ning 60f7cb2308 Fix zuul pylint failure on review
For a review in stx/fault repo if pylint runs on ubuntu-focal,
it'll fail with error "ERROR: InvocationError for command ...".
This update fixed this by restricting pylint to run on
the compatible ubuntu-bionic, as we do for stx/config repo.

Closes-Bug: 1930919
Signed-off-by: Andy Ning <andy.ning@windriver.com>
Change-Id: I584e80d6286dbaf5439cbff593d0ad74da96ab77
2021-06-09 08:48:11 -05:00

187 lines
8.4 KiB
YAML

---
- project:
templates:
- publish-stx-docs
- stx-api-ref-jobs
- stx-release-notes-jobs
- stx-lint-specfile-jobs
- stx-bandit-jobs
check:
jobs:
- openstack-tox-linters
- openstack-tox-pep8
- fault-tox-pylint
- stx-fault-build
- fault-rest-api-py27
- fault-rest-api-py36
gate:
jobs:
- openstack-tox-linters
- openstack-tox-pep8
- fault-tox-pylint
- fault-rest-api-py27
- fault-rest-api-py36
post:
jobs:
- stx-fault-upload-git-mirror
# Perform just a build
- job:
name: stx-fault-build
parent: tox
description: Run build for fault
irrelevant-files:
- api-ref/*
- docs/*
- releasenotes/*
vars:
tox_envlist: build
- job:
name: flock-devstack-fault
parent: flock-devstack-base-min
required-projects:
# - name: starlingx/config
- name: starlingx/integ
- name: starlingx/update
vars:
tox_envlist: functional
devstack_services:
fm-common: true
fm-api: true
fm-rest-api: true
fm-mgr: true
devstack_plugins:
fault: https://opendev.org/starlingx/fault
integ: https://opendev.org/starlingx/integ
update: https://opendev.org/starlingx/update
- job:
name: fault-rest-api-py27
parent: tox
description: |
Run py27 test for fm-rest-api
nodeset: ubuntu-bionic
required-projects:
- starlingx/config
vars:
tox_envlist: py27
tox_extra_args: -c fm-rest-api/fm/tox.ini
- job:
name: fault-rest-api-py36
parent: tox
description: |
Run py36 test for fm-rest-api
nodeset: ubuntu-bionic
required-projects:
- starlingx/config
vars:
tox_envlist: py36
tox_extra_args: -c fm-rest-api/fm/tox.ini
- job:
name: fault-tox-pylint
parent: tox
description: |
Run pylint for python files in fault
nodeset: ubuntu-bionic
required-projects:
- starlingx/config
vars:
tox_envlist: pylint
- job:
name: stx-fault-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/fault to
github.com/starlingx/fault
vars:
git_mirror_repository: starlingx/fault
secrets:
- name: git_mirror_credentials
secret: stx-fault-github-secret
pass-to-parent: true
- secret:
name: stx-fault-github-secret
data:
user: git
host: github.com
# yamllint disable-line rule:line-length
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
ssh_key: !encrypted/pkcs1-oaep
- JwGDhcyWIR6Lb3Q7f4zatjt1zhaK8+U5lk840Nea/prfrxARYTKKUvvx5788ftr98U8Ff
uraAoZxtAEE8L3qn7AtTdLF9oqpG2K9u5ISnV2RE9DXuBQCZMnYMup/R+j/aXj0dz9FsU
8mkcwOJnNIQxsPXxpts4W/HsP3ikzM1nZtPoS9ONwMz5dadPo6qWVFzFw2FYU08H/tL1E
gWnDWQ69625K79ztUJqwjom/QFzH7osM/GLbK5ZM8D+AWoLzO+l4q4xxkqxuOGNpiLtoI
1x665GXynHso0r7ZngY1hw8NeXZaDqOvBiLJjuj4slrL81sOIzrrvjN6lprCBWLUivIjz
abWToUyCH0pCun3VSC8SyGn8nkC0X6tqxV86RM7uDajtvguFkDAAYtZyCxuoqpPTGpr30
CrgctDIGQuI+hVoJEKXObEOJc4k6eBLN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