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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user