summaryrefslogtreecommitdiffstats
path: root/ci/k8.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/k8.sh')
-rwxr-xr-xci/k8.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/ci/k8.sh b/ci/k8.sh
index 551c4a27..51b2f571 100755
--- a/ci/k8.sh
+++ b/ci/k8.sh
@@ -1,11 +1,10 @@
#!/bin/bash
set -ex
+
+opnfvfeature=$1
+
juju run-action kubernetes-worker/0 microbot replicas=3
-sleep 30
juju config kubernetes-master enable-dashboard-addons=true || true
juju expose kubernetes-worker || true
-
-juju ssh kubernetes-master/0 "/snap/bin/kubectl cluster-info"
-juju ssh kubernetes-master/0 "/snap/bin/kubectl get nodes"
-juju ssh kubernetes-master/0 "/snap/bin/kubectl get pods --all-namespaces"
-juju ssh kubernetes-master/0 "/snap/bin/kubectl get services,endpoints,ingress --all-namespaces"
+juju scp -- -r kubernetes kubernetes-master/0:
+juju ssh kubernetes-master/0 "/bin/bash kubernetes/post-install.sh $opnfvfeature"