Adding a README explaining how to run the live tests.
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/bd093237 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/bd093237 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/bd093237 Branch: refs/heads/master Commit: bd093237497626309a4b6ceed0aeda80e2fb9c15 Parents: 220194e Author: Nirmal Fernando <[email protected]> Authored: Mon Nov 3 15:04:17 2014 +0100 Committer: Nirmal Fernando <[email protected]> Committed: Mon Nov 3 15:04:17 2014 +0100 ---------------------------------------------------------------------- .../README.md | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/bd093237/components/org.apache.stratos.kubernetes.client/README.md ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.kubernetes.client/README.md b/components/org.apache.stratos.kubernetes.client/README.md new file mode 100644 index 0000000..14e0167 --- /dev/null +++ b/components/org.apache.stratos.kubernetes.client/README.md @@ -0,0 +1,24 @@ +Running Live Tests +================== + +Google Kubernetes Java Client component supports running live tests against a Kubernetes API server. + +Pre-requisites +============== + +* Set up a Kubernetes Master node and make sure the API server is running. Please refer to Stratos documentation as to how you could build a setup. Say your Kubernetes API endpoint is ```http://192.168.1.100:8080/api/v1beta1/``` +* Please pull a preferred docker image into the Master node. Say your preferred docker image is ```gurpartap/redis```. + +How to run the tests +==================== + +* Navigate into the folder where you have cloned Stratos. +* Navigate to the Kubernetes Client component; + + ```cd components/org.apache.stratos.kubernetes.client``` +* Run the live test profile; + + ```mvn clean install -Plive -Dkubernetes.api.endpoint=http://192.168.1.100:8080/api/v1beta1/ -Ddocker.image=gurpartap/redis``` + + +NOTE: Please note that these are the default values and if your setup is equivalent to this, you can simply run ```mvn clean install -Plive```
