Rename publish job
To be able to reasonably guess in which project the job is defined looking at its name rename it to something more reasonable at the same time assuming there might be more of the publish jobs (well, we can generate lot of different things). Change-Id: I5c2779c9418c28bc4af4f31a80661b87b4d78848
This commit is contained in:
parent
668add9107
commit
e084a3334e
3
tox.ini
3
tox.ini
@ -60,14 +60,13 @@ deps =
|
||||
commands =
|
||||
pre-commit run --all-files --show-diff-on-failure
|
||||
|
||||
[testenv:publish]
|
||||
[testenv:publish-openapi-specs]
|
||||
description =
|
||||
No-op env for publishing built Specs
|
||||
deps =
|
||||
# We need any dependency, since only that causes `tox -epublish --notest` to create log dir that is required by tox-siblings role
|
||||
pbr
|
||||
skip_install = True
|
||||
allowlist_externals =
|
||||
commands =
|
||||
|
||||
[flake8]
|
||||
|
@ -240,7 +240,7 @@
|
||||
path: "/api-ref/build/html/index.html"
|
||||
|
||||
- job:
|
||||
name: publish-openapi-specs
|
||||
name: codegenerator-tox-publish-openapi-specs
|
||||
parent: opendev-tox-docs
|
||||
description: |
|
||||
Published OpenAPI specs
|
||||
@ -262,4 +262,4 @@
|
||||
pre-run:
|
||||
- playbooks/openapi/fetch.yaml
|
||||
vars:
|
||||
tox_envlist: publish
|
||||
tox_envlist: publish-openapi-specs
|
||||
|
@ -13,7 +13,7 @@
|
||||
- codegenerator-openapi-load-balancing-tips-with-api-ref
|
||||
- codegenerator-openapi-network-tips-with-api-ref
|
||||
- codegenerator-openapi-placement-tips-with-api-ref
|
||||
- publish-openapi-specs
|
||||
- codegenerator-tox-publish-openapi-specs
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-pep8
|
||||
@ -25,4 +25,4 @@
|
||||
- codegenerator-openapi-load-balancing-tips-with-api-ref
|
||||
- codegenerator-openapi-network-tips-with-api-ref
|
||||
- codegenerator-openapi-placement-tips-with-api-ref
|
||||
- publish-openapi-specs
|
||||
- codegenerator-tox-publish-openapi-specs
|
||||
|
Loading…
Reference in New Issue
Block a user