
Adopt a new naming convention for the constructs defined in this repo: they are all to be prefixed with "starlingx-common-". Keep old jobs and project templates, but rename the relevant files to "legacy-*.yaml". This is necessary to avoid breakage in downstream projects and branches. Define 2 jobs with the new naming convention, starlingx-common-tox-{linters,pep8}. Story: 2011326 Task: 51561 Change-Id: I4e9339fb9fe952db2c3a9d105282fb7847521f8b Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
75 lines
1.7 KiB
YAML
75 lines
1.7 KiB
YAML
- project-template:
|
|
name: stx-api-ref-jobs
|
|
description: |
|
|
Build and publish api-ref document for StarlingX.
|
|
check:
|
|
jobs:
|
|
- build-openstack-api-ref:
|
|
files: &api-ref-triggers
|
|
- ^os_api_ref/.*
|
|
- ^api-ref/.*
|
|
- ^doc/api_samples/.*
|
|
- bindep.txt
|
|
- doc/requirements.txt
|
|
- test-requirements.txt
|
|
- tox.ini
|
|
gate:
|
|
jobs:
|
|
- build-openstack-api-ref:
|
|
files: *api-ref-triggers
|
|
promote:
|
|
jobs:
|
|
- promote-stx-api-ref:
|
|
files: *api-ref-triggers
|
|
|
|
- project-template:
|
|
name: publish-stx-docs
|
|
description: |
|
|
Runs and publishes documentation to StarlingX site.
|
|
check:
|
|
jobs:
|
|
- openstack-tox-docs
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-docs
|
|
promote:
|
|
jobs:
|
|
- promote-stx-tox-docs
|
|
|
|
- project-template:
|
|
name: stx-release-notes-jobs
|
|
description: |
|
|
Runs the release notes test and publish jobs for StarlingX.
|
|
check:
|
|
jobs:
|
|
- build-openstack-releasenotes:
|
|
vars:
|
|
sphinx_python: python3
|
|
gate:
|
|
jobs:
|
|
- build-openstack-releasenotes:
|
|
vars:
|
|
sphinx_python: python3
|
|
post:
|
|
jobs:
|
|
- publish-stx-releasenotes
|
|
|
|
- project-template:
|
|
name: stx-lint-specfile-jobs
|
|
description: |
|
|
Lint RPM Specfiles for syntax and correctness
|
|
check:
|
|
jobs:
|
|
- stx-check-specfile:
|
|
voting: false
|
|
|
|
- project-template:
|
|
name: stx-bandit-jobs
|
|
description: |
|
|
Bandit code scanning jobs
|
|
check:
|
|
jobs:
|
|
- stx-tox-bandit-static-scan:
|
|
voting: false
|
|
|