Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

e2e tests - test conversions on running cluster #59

Closed
surajssd opened this issue Jun 22, 2017 · 10 comments
Closed

e2e tests - test conversions on running cluster #59

surajssd opened this issue Jun 22, 2017 · 10 comments

Comments

@surajssd
Copy link
Member

This is again a type of functional test.

From metaissue #24

@pradeepto
Copy link
Member

Linking #77 here for reference. cc @surajssd

@surajssd
Copy link
Member Author

@cdrage @kadel is there a way we can run minikube or single node k8s cluster on travis ?

@cdrage
Copy link
Collaborator

cdrage commented Jul 28, 2017

@surajssd Yes, you can create a single-node cluster using docker containers (no minikube, since that's virtualization).

See: https://github.com/kubernetes/community/blob/master/contributors/devel/local-cluster/docker.md

as well as https://github.com/projectatomic/adb-tests/blob/master/cdrage-atomicapp-ci/functional-tests/providers/kubernetes.sh

I'm working on adding this to Kompose, I could possibly add this to Kedge as well.

@surajssd
Copy link
Member Author

@cdrage minikube has this vm-driver called none, have tried that it runs as root only, so do you know if travis provides root access.

$ minikube start -h
Starts a local kubernetes cluster using VM. This command
...
      --vm-driver string                VM driver is one of: [virtualbox kvm none] (default "virtualbox")
...

@kadel
Copy link
Member

kadel commented Jul 31, 2017

@cdrage minikube has this vm-driver called none, have tried that it runs as root only, so do you know if travis provides root access.

yep, you can run stuff as root on travis

just add

sudo: required

to .travis.yml and that you can use sudo to run it as root`

@cdrage
Copy link
Collaborator

cdrage commented Jul 31, 2017

Hey @surajssd @kadel I added this to kompose kubernetes/kompose#731 which uses https://github.com/kubernetes/minikube/tree/master/deploy/docker by Minikube.

I can open up a PR for this in Kedge as well.

@surajssd
Copy link
Member Author

surajssd commented Aug 1, 2017

@cdrage Yes that will be helpful!

@surajssd surajssd added this to the 0.2.0 milestone Aug 10, 2017
@surajssd
Copy link
Member Author

surajssd commented Sep 1, 2017

This is partially done by #77 because it has enabled the tests to run on local running cluster the work to make it working on CI is still remaining!

@surajssd surajssd reopened this Sep 1, 2017
@cdrage
Copy link
Collaborator

cdrage commented Sep 1, 2017

@surajssd I'll take this up! Will have to add a way to bring up a Kubernetes docker cluster, I'll probably copy scripts from https://github.com/kubernetes/kompose

@cdrage cdrage self-assigned this Sep 1, 2017
@surajssd
Copy link
Member Author

@cdrage I think this done, we can close this one!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants