osb-starter-pack icon indicating copy to clipboard operation
osb-starter-pack copied to clipboard

CI should verify that this project can be successfully deployed

Open pmorie opened this issue 7 years ago • 5 comments

Ideally, there would be jobs that checked:

  • Deployment using helm
  • Deployment using openshift templates

pmorie avatar Feb 23 '18 18:02 pmorie

My suggestion for this setup would be to use minikube and TravisCI and just use client-go & co. to check if the Deployment was created. We use that setup in our Habitat operator and seemed to have worked great so far.

I am not sure this would work for openshift?

lilic avatar Feb 26 '18 13:02 lilic

Would minikube just use a driverless config and setup the cluster directly on travis?

carolynvs avatar Feb 26 '18 15:02 carolynvs

It depends on what we're going to use for CI. It's too bad there isn't a cloud-native CI that will let you test stuff in a kube they create for you...

For openshift, we can just use oc cluster up --service-catalog=true and go from there.

On Mon, Feb 26, 2018 at 10:46 AM, Carolyn Van Slyck < [email protected]> wrote:

Would minikube just use a driverless config and setup the cluster directly on travis?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pmorie/osb-starter-pack/issues/61#issuecomment-368546155, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWXmPCAEm-U6JqYtAclfB0kusBF2gh7ks5tYtHIgaJpZM4SRRti .

pmorie avatar Feb 26 '18 15:02 pmorie

It's too bad there isn't a cloud-native CI that will let you test stuff in a kube they create for you...

That would make my life so much easier. Please take my money. 💰

carolynvs avatar Feb 26 '18 15:02 carolynvs

Would minikube just use a driverless config and setup the cluster directly on travis?

Example setup https://github.com/LiliC/travis-minikube of what I was thinking. More details explained here.

lilic avatar Feb 26 '18 15:02 lilic