Move integration tests to k8s

Change-Id: Ia78a484e9f9eea4ace1ef6fa0d8075b872b8f83b
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
diff --git a/tox-integration.ini b/tox-integration.ini
index 539da92..fb005a0 100644
--- a/tox-integration.ini
+++ b/tox-integration.ini
@@ -20,18 +20,34 @@
 [testenv:int]
 whitelist_externals=
     sleep
-    docker-compose
+    helm
     ab
+    echo
+    pkill
+passenv = *
 deps =
-    pytest-xdist
     tavern
 changedir=integration_tests
 commands_pre=
-    docker-compose up --build -d
+    helm install --devel testreceiver -n testreceiver
+    helm install --devel delayreceiver -n delayreceiver
+    helm install --devel a1mediator/ -n a1
+    sleep 10
+    ./portforward.sh
     sleep 2
 commands=
-# helm lint a1mediator/
-    pytest -n 2
+    echo "linting"
+    helm lint a1mediator/
+    echo "running tavern"
+    pytest
+    echo "running ab"
     ab -n 100 -c 10 -u putdata -T application/json http://localhost:10000/ric/policies/control_admission_time
 commands_post=
-    docker-compose down
+    helm delete testreceiver
+    helm del --purge testreceiver
+    helm delete delayreceiver
+    helm del --purge delayreceiver
+    helm delete a1
+    helm del --purge a1
+    pkill -9 kubectl
+    sleep 10