Skip to content

OS incompatibility for devfile registry testing workflow #991

@michael-valdron

Description

@michael-valdron

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.

Metadata

Metadata

Labels

area/ciarea/registryDevfile registry for stacks and infrastructurekind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions