Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS incompatibility for devfile registry testing workflow #991

Closed
michael-valdron opened this issue Nov 22, 2022 · 0 comments · Fixed by devfile/registry-support#150
Closed
Assignees
Labels
area/ci area/registry Devfile registry for stacks and infrastructure kind/bug Something isn't working

Comments

@michael-valdron
Copy link
Member

michael-valdron commented Nov 22, 2022

Which area this feature is related to?

/kind bug

Which area this bug is related to?

/area ci
/area registry

What versions of software are you using?

Go project

Operating System and version: ubuntu-latest on GitHub (currently Ubuntu 22.04)

Go Pkg Version: 1.17

Node.js project

Operating System and version: N/A

Node.js version: N/A

Yarn version: N/A

Project.json: N/A

Web browser

Operating System and version: N/A

Browser name and version: N/A

Bug Summary

Describe the bug: Test automation for devfile registry under registry-support is failing due to OS incompatibility with the latest Ubuntu version.

To Reproduce: Re-run Test Devfile Registry

Expected behavior

Testing should run successfully.

Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable

Run manusa/[email protected]
Error: Unsupported OS, action only works in Ubuntu 18 or 20
Error: Unsupported OS, action only works in Ubuntu 18 or 20
    at checkOperatingSystem (/home/runner/work/_actions/manusa/actions-setup-minikube/v2.4.2/src/check-environment.js:20:11)
    at checkEnvironment (/home/runner/work/_actions/manusa/actions-setup-minikube/v2.4.2/src/check-environment.js:25:3)
    at run (/home/runner/work/_actions/manusa/actions-setup-minikube/v2.4.2/src/index.js:12:3)
    at Object.<anonymous> (/home/runner/work/_actions/manusa/actions-setup-minikube/v2.4.2/src/index.js:20:1)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47
Error: Unsupported OS, action only works in Ubuntu 18 or 20

Additional context

Any workaround?

None.

Suggestion on how to fix the bug

Either https://github.com/devfile/registry-support/blob/95f857570ad03c08638430204283ed0f954150d5/.github/workflows/ci.yaml#L87 should be changed to ubuntu-20.04 to support current version of manusa/actions-setup-minikube or version of manusa/actions-setup-minikube should be updated to support latest version of Ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci area/registry Devfile registry for stacks and infrastructure kind/bug Something isn't working
Projects
None yet
1 participant