Add jobs to generate Placement OpenAPI spec

Change-Id: Iea6f1a570b0754e3dca9d3b81d5d5c7302ae6157
This commit is contained in:
gtema 2024-03-05 15:10:10 +01:00 committed by Artem Goncharov
parent d49494f270
commit 5741d70ebc
2 changed files with 30 additions and 0 deletions

View File

@ -209,3 +209,32 @@
codegenerator_api_ref:
project: "opendev.org/openstack/neutron-lib"
path: "/api-ref/build/html/v2/index.html"
- job:
name: codegenerator-openapi-placement-tips
parent: codegenerator-openapi-tips-base
description: |
Generate OpenAPI spec for Placement
required-projects:
- name: openstack/placement
vars:
openapi_service: placement
install_additional_projects:
- project: "opendev.org/openstack/placement"
name: "."
- job:
name: codegenerator-openapi-placement-tips-with-api-ref
parent: codegenerator-openapi-placement-tips
description: |
Generate OpenAPI spec for Placement consuming API-REF
required-projects:
- name: openstack/placement
pre-run:
- playbooks/openapi/pre-api-ref.yaml
vars:
codegenerator_api_ref:
project: "opendev.org/openstack/placement"
path: "/api-ref/build/html/index.html"

View File

@ -12,3 +12,4 @@
- codegenerator-openapi-image-tips-with-api-ref
- codegenerator-openapi-load-balancing-tips-with-api-ref
- codegenerator-openapi-network-tips-with-api-ref
- codegenerator-openapi-placement-tips-with-api-ref