kepler icon indicating copy to clipboard operation
kepler copied to clipboard

microshift as an environment for integration test

Open SamYuan1990 opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. add microshift as micro of openshift as integration test env

Describe the solution you'd like considering github action providing agent as ubuntu, should try command below to see if we are able to use microshift as a k8s cluster for integration test. https://github.com/thinkahead/microshift/blob/main/install-ubuntu22.04.sh

Describe alternatives you've considered n/A

Additional context n/A

SamYuan1990 avatar Sep 14 '22 11:09 SamYuan1990

cc @sallyom

rootfs avatar Sep 14 '22 17:09 rootfs

@rootfs ,@sallyom , may I know

  • when will this think a head back to https://github.com/openshift/microshift
  • is there any sample to upload local docker image to microshift so that in PR we can upload PR build to microshift for test?

SamYuan1990 avatar Sep 15 '22 14:09 SamYuan1990

I do know that @sallyom was attempting to begin the work on integrating the OCP CI framework into this repository. She may also be able to comment if the ability still exists to run MicroShift completely containerized which would allow for us to successfully use it with Ubuntu. If not we may be able to fork the MicroShift testing framework for this project as well to deploy microshift and then the Kepler objects

cooktheryan avatar Sep 26 '22 13:09 cooktheryan

the manifests/openshift are working now AFAIK, see here https://github.com/sustainable-computing-io/kepler/blob/main/manifests/openshift/README.md

I will report back wrt running on MicroShift - haven't tried that - however, if you have an OpenShift cluster you can deploy with the above README

sallyom avatar Sep 26 '22 13:09 sallyom

the manifests/openshift are working now AFAIK, see here https://github.com/sustainable-computing-io/kepler/blob/main/manifests/openshift/README.md

I will report back wrt running on MicroShift - haven't tried that - however, if you have an OpenShift cluster you can deploy with the above README

do you know if we are able to make OpenShift running in github action(github hosted agent) ?

SamYuan1990 avatar Sep 27 '22 13:09 SamYuan1990

@sallyom / @rootfs , would you like ref to https://github.com/sustainable-computing-io/KeplerK8SAction/pull/8 implements microshift support in our customer github action? then we can reuse microshift as k8s cluster in our CI for all projects. (kepler, operator, helm etc...)

SamYuan1990 avatar Dec 20 '22 13:12 SamYuan1990

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 17 '23 13:05 stale[bot]

@rootfs ,@sallyom any updates for this one? are we able to enable microshift in github action?

SamYuan1990 avatar May 17 '23 13:05 SamYuan1990

any update on this?

marceloamaral avatar May 18 '23 05:05 marceloamaral

Not sure about the GitHub action for Microshift but I have recently used Microshift for CI purposes and I use the default github-runners and run Microshift in a container as I had an issue in the past deploying Micorshift straight on Ubuntu and there is an open issue as well related to this. If this doesn't work then we can definitely explore the container option as well. In my experience, it works fine. Just have some extra steps😅

vprashar2929 avatar Jun 05 '23 15:06 vprashar2929

Not sure about the GitHub action for Microshift but I have recently used Microshift for CI purposes and I use the default github-runners and run Microshift in a container as I had an issue in the past deploying Micorshift straight on Ubuntu and there is an open issue as well related to this. If this doesn't work then we can definitely explore the container option as well. In my experience, it works fine. Just have some extra steps😅

yeah... as https://github.com/sustainable-computing-io/kepler/issues/182#issuecomment-1259524816 hence I suppose currently some of major question:

  1. are we going to handle this ticket in 0.6 release?
  2. are we need make a further design for this? assign to @rootfs, and let's wait further information.

SamYuan1990 avatar Jun 05 '23 15:06 SamYuan1990

this is finished by @vprashar2929

rootfs avatar Jul 26 '23 20:07 rootfs