clients/.zuul.yaml
Sharath Kumar K 697b43e00f Tox and Zuul job for the python code scan in starlingx/clients
Setting up the bandit tool for the scanning of HIGH severity issues
in the python codes under Starlingx/clients folder.
Expecting this merge will enable zuul job for CI/CD of bandit scan.

Configuration files:
1. tox.ini for adding bandit environment and command.
2. test-requirements.txt for adding bandit version.
3. .zuul.yaml file for adding bandit job and configuring under
   check job to run code scan every time before code commit.

Test:
Run tox -e bandit command inside the fault folder to validate the
bandit scan and result.

Please note:
Changes will be implemented in batches and  this is Batch5 change.

Story: 2007541
Task: 39624
Depends-On: https://review.opendev.org/#/c/721294/

Change-Id: I602b43f0f0bc70a1eb48b11aa07fdf2e286db408
Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
2020-06-29 08:24:30 +00:00

110 lines
6.7 KiB
YAML

---
- project:
templates:
- publish-stx-docs
- stx-release-notes-jobs
- stx-bandit-jobs
check:
jobs:
- openstack-tox-linters
- openstack-tox-pep8
gate:
jobs:
- openstack-tox-linters
- openstack-tox-pep8
post:
jobs:
- stx-clients-upload-git-mirror
- job:
name: stx-clients-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/clients to
github.com/starlingx/clients
vars:
git_mirror_repository: starlingx/clients
secrets:
- name: git_mirror_credentials
secret: stx-clients-github-secret
pass-to-parent: true
- secret:
name: stx-clients-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+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvG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