From e084a3334e360555a7fa99c44f4610fb1d26434c Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Thu, 13 Jun 2024 11:02:58 +0200 Subject: [PATCH] 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 --- tox.ini | 3 +-- zuul.d/openapi.yaml | 4 ++-- zuul.d/project.yaml | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index e6e6c79..cc0db11 100644 --- a/tox.ini +++ b/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] diff --git a/zuul.d/openapi.yaml b/zuul.d/openapi.yaml index aea3132..dfd935d 100644 --- a/zuul.d/openapi.yaml +++ b/zuul.d/openapi.yaml @@ -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 diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 840fc8b..8672197 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -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