summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-01-23 11:50:01 +0000
committerRamesh Murugan Iyer <ramesh.murugan.iyer@est.tech>2023-01-25 14:32:51 +0000
commit0700486a08b2bc08589f7e6b0be8338d6bbb4efa (patch)
tree01672a1fb035e629f1723b6b7de6f8a28218bfdb /README.md
parent0132d7a9ea3ad03ed0350a7d89694420a4d8221c (diff)
Add robot framework helm chart for CSIT
Steps to run policy csit in kubernetes is updated in the README.md Issue-ID: POLICY-4532 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I116658dfafd4e70bd256173f046da72af6803eaa
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7126bf53..7658c6c3 100644
--- a/README.md
+++ b/README.md
@@ -11,4 +11,17 @@ the OS base for policy images.
Helm directory is added to include the helm chart for policy-models-simulators.
To spin the kubernetes pod up:
1. Execute the below commands:
- helm upgrade -i <release_name> policy-models-simulator \ No newline at end of file
+ helm upgrade -i <release_name> policy-models-simulator
+
+
+Running Policy CSIT in kubernetes:
+ To run CSIT in kubernetes, docker/csit/run-k8s-csit.sh script can be invoked with the arguments {install} {project_name}
+ When the project name is not supplied, the script only installs the policy helm charts and doesn't execute any robot tests.
+ To teardown the kubernetes cluster, the same script can be invoked with the argument {uninstall}
+
+Steps involved in running CSIT in kubernetes:
+ 1. The script verifies microk8s based kubernetes cluster is running in the system and deploys kubernetes if required.
+ 2. Deploys policy helm charts under the default namespace.
+ 3. Builds docker image of the robot framework and deploys robot framework helm chart in the default namespace.
+ 4. Invokes the respective robot test file for the project supplied by the user.
+ The test execution results can be viewed from the logs of policy-csit-robot pod. \ No newline at end of file