API client generation: Add verify-api-clients step to drone (#99987)

* add verify-api-clients step to drone

* change to check the verify step fails

* ignore conf dir

* rerun make drone

* undo change to make step fail
This commit is contained in:
Ashley Harrison
2025-02-04 09:13:44 +00:00
committed by GitHub
parent 443cb092b4
commit c94b8b78ae
5 changed files with 60 additions and 5 deletions
+3 -3
View File
@@ -168,10 +168,10 @@ function processDirectory(sourceDir: string, outputDir: string) {
}
const sourceDirs = [
path.resolve(__dirname, '../pkg/tests/apis/openapi_snapshots'),
path.resolve(__dirname, '../pkg/extensions/apiserver/tests/openapi_snapshots'),
path.resolve(import.meta.dirname, '../pkg/tests/apis/openapi_snapshots'),
path.resolve(import.meta.dirname, '../pkg/extensions/apiserver/tests/openapi_snapshots'),
];
const outputDir = path.resolve(__dirname, '../data/openapi');
const outputDir = path.resolve(import.meta.dirname, '../data/openapi');
for (const sourceDir of sourceDirs) {
processDirectory(sourceDir, outputDir);