Actions
Bug #21073
closedUpdate api doc tool chain
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
it is currently broken in 6.1 too:
[2022-05-07T00:17:30.670Z] + make [2022-05-07T00:17:30.672Z] rm -rf build target [2022-05-07T00:17:30.672Z] # Prepare all sources in build/ dir [2022-05-07T00:17:30.672Z] mkdir -p build target/webapp [2022-05-07T00:17:30.672Z] cp -r ../webapp/sources/api-doc build/webapp [2022-05-07T00:17:30.672Z] mkdir -p build/webapp/assets [2022-05-07T00:17:30.672Z] cp -r assets/. build/webapp/assets [2022-05-07T00:17:30.672Z] ./build.py webapp build target [2022-05-07T00:17:31.296Z] /usr/local/lib/node_modules/@redocly/openapi-cli/lib/utils.js:45 [2022-05-07T00:17:31.297Z] return config.apiDefinitions[aliasOrPath] || aliasOrPath; [2022-05-07T00:17:31.297Z] ^ [2022-05-07T00:17:31.297Z] [2022-05-07T00:17:31.297Z] TypeError: Cannot read properties of undefined (reading 'build/webapp/openapi.yml') [2022-05-07T00:17:31.297Z] at getAliasOrPath (/usr/local/lib/node_modules/@redocly/openapi-cli/lib/utils.js:45:33) [2022-05-07T00:17:31.297Z] at /usr/local/lib/node_modules/@redocly/openapi-cli/lib/utils.js:52:19 [2022-05-07T00:17:31.297Z] at Generator.next (<anonymous>) [2022-05-07T00:17:31.297Z] at /usr/local/lib/node_modules/@redocly/openapi-cli/lib/utils.js:8:71 [2022-05-07T00:17:31.297Z] at new Promise (<anonymous>) [2022-05-07T00:17:31.297Z] at __awaiter (/usr/local/lib/node_modules/@redocly/openapi-cli/lib/utils.js:4:12) [2022-05-07T00:17:31.297Z] at /usr/local/lib/node_modules/@redocly/openapi-cli/lib/utils.js:49:61 [2022-05-07T00:17:31.297Z] at Array.map (<anonymous>) [2022-05-07T00:17:31.297Z] at /usr/local/lib/node_modules/@redocly/openapi-cli/lib/utils.js:49:40 [2022-05-07T00:17:31.297Z] at Generator.next (<anonymous>) [2022-05-07T00:17:31.297Z] Building version 12 from build/webapp/openapi.src.yml [2022-05-07T00:17:31.297Z] Built build/webapp/openapi.yml [2022-05-07T00:17:31.297Z] Could not build target/webapp/12/openapi.yml [2022-05-07T00:17:31.297Z] make: *** [Makefile:11: webapp] Error 1 script returned exit code 2
Updated by Alexis Mousset over 2 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset over 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/4260
Updated by Alexis Mousset over 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|d4b46c8c55d9fdf38aec107cb0b07f67eb0a56b0.
Updated by Vincent MEMBRÉ over 2 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
Actions