b5cbd9480c
Create a Zuul job to check Black Formatter in the code. This commit also applies the Black formatter to the entire project. Test Plan Pass - Success on stx-distcloud-client-tox-black Pass - Success on tox command Story: 2011149 Task: 50393 Change-Id: I5d7b537e83931304ffd5f67ce51e8ebb44f7e65b Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
156 lines
8.2 KiB
YAML
156 lines
8.2 KiB
YAML
---
|
|
- project:
|
|
templates:
|
|
- publish-stx-docs
|
|
- stx-release-notes-jobs
|
|
- stx-bandit-jobs
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- stx-distcloud-client-tox-pep8
|
|
- stx-distcloud-client-tox-py39
|
|
- stx-distcloud-client-tox-pylint
|
|
- stx-distcloud-client-tox-black
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- stx-distcloud-client-tox-pep8
|
|
- stx-distcloud-client-tox-py39
|
|
- stx-distcloud-client-tox-pylint
|
|
- stx-distcloud-client-tox-black
|
|
post:
|
|
jobs:
|
|
- stx-distcloud-client-upload-git-mirror
|
|
|
|
- job:
|
|
name: stx-distcloud-client-tox-py39
|
|
parent: tox-py39
|
|
description: Run py39 for distcloud-client
|
|
nodeset: debian-bullseye
|
|
vars:
|
|
python_version: 3.9
|
|
tox_envlist: py39
|
|
tox_extra_args: -c distributedcloud-client/tox.ini
|
|
|
|
- job:
|
|
name: stx-distcloud-client-tox-pylint
|
|
parent: tox
|
|
description: Run pylint for distcloud-client
|
|
nodeset: debian-bullseye
|
|
vars:
|
|
python_version: 3.9
|
|
tox_envlist: pylint
|
|
tox_extra_args: -c distributedcloud-client/tox.ini
|
|
|
|
- job:
|
|
name: stx-distcloud-client-tox-pep8
|
|
parent: tox
|
|
description: Run pep8 for distcloud-client
|
|
nodeset: debian-bullseye
|
|
vars:
|
|
python_version: 3.9
|
|
tox_envlist: pep8
|
|
tox_extra_args: -c distributedcloud-client/tox.ini
|
|
|
|
- job:
|
|
name: stx-distcloud-client-tox-black
|
|
parent: tox
|
|
description: Run black for distcloud-client
|
|
nodeset: debian-bullseye
|
|
vars:
|
|
python_version: 3.9
|
|
tox_envlist: black_check
|
|
tox_extra_args: -c distributedcloud-client/tox.ini
|
|
|
|
- job:
|
|
name: stx-distcloud-client-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: >
|
|
Mirrors opendev.org/starlingx/distcloud-client to
|
|
github.com/starlingx/distcloud-client
|
|
vars:
|
|
git_mirror_repository: starlingx/distcloud-client
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: stx-distcloud-client-github-secret2
|
|
pass-to-parent: true
|
|
|
|
- secret:
|
|
name: stx-distcloud-client-github-secret2
|
|
data:
|
|
user: git
|
|
host: github.com
|
|
# yamllint disable-line rule:line-length
|
|
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=
|
|
ssh_key: !encrypted/pkcs1-oaep
|
|
- ts2d/6p5yfyhUvfpU97rDYAmdOGXBtzAbaT2Y4i1/ASrNdXgc+5B126rOaLD/wdj39tQE
|
|
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