API CI job 'build-and-validate' throws dubious ownership error #1036
Labels
area/api
Enhancement or issue related to the api/devfile specification
area/ci
kind/bug
Something isn't working
severity/blocker
Issues that prevent developers from working
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area ci
/area api
Bug Summary
Describe the bug:
The CI job 'build-and-validate' fails on the step 'Check typescript model generation' due to an error which happens when trying to run the openapi-generator from https://github.com/kubernetes-client/gen. This error seems to be caused by unresolved issues between newer versions of git and GitHub runners: actions/runner-images#6775 (comment).
Here is a list of issues which provides more detail on this:
set-safe-directory: true
is not sufficient for submodules actions/checkout#915To Reproduce:
Create a PR under devfile/api and let the job 'build-and-validate' run. Output of such a case can be seen here: https://github.com/devfile/api/actions/runs/4196247484/jobs/7276947737
Expected behavior
/source/openapi-generator /
should be able to execute as expected.Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Additional context
Any workaround?
None.
Suggestion on how to fix the bug
The commit revision for kubernetes-client/gen under build/typescript-model/generate.sh#L9 to reflect the changes introduced in kubernetes-client/gen#237 which fixes this issue.
Target Date: 03-10-2023
The text was updated successfully, but these errors were encountered: