-
Notifications
You must be signed in to change notification settings - Fork 8
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
As a developer I would like to be able to test my Openshift specific yaml inside GitHub actions using crc #16
Comments
We like this idea and will investigate it. I think it's likely we run into resource issues; CRC has high RAM and disk space requirements compared to kind or minikube. |
Heared some unofficial talk about making crc to be able to run on 6 Gb memory and the GitHub actions runner provides 7Gb of memory. So might have to wait a bit to make it feasible. I think one of the biggest issues is to make it start fast enough. But there might be some ninja ways that the crc team can help out to get some pre-loaded container images on it to save start time or something similar. |
Hi @NissesSenap Have you seen this action? https://github.com/manusa/actions-setup-openshift |
I am tempted to move this one as blocked. Do we really have many options here right now, or are we relying on CRC going down on their requirements before we can implement this on our side. |
Yes, we need it to allow itself to run on 2 CPU and < 7GB RAM. More like 6GB RAM because we have to leave some RAM to do other work. |
Lets update the doc to describe the requirements for this on a self-hosted runner. |
We do have an issue to track that work already: #49 Given that, not sure this is even worth keeping open because afaik, there are no plans to make CRC small enough that it would ever work for running on GitHub infra. |
Hmmm, I wonder if MicroShift might be a good prospect for a GH action in the (hopefully) near future? |
Today there are github actions to start a kind cluster https://github.com/marketplace/actions/kind-kubernetes-in-docker-action as a github action.
Instead of starting a kind environment I would like to have openshift crc or something similar running inside a github action so I can test my open-source OCP specific yaml without having to have a OCP cluster running somewhere else.
The text was updated successfully, but these errors were encountered: