Updates to dockerfile after verification on client offline environment
- updated toolset
- additional dockerfile for rally-offline (wip)
- si-tests fw files updates to use local repos
- si-env.sh script with env vars for offline use
Related-PROD: PROD-36128
Change-Id: I16b9236e68e6358c16865ce8ed7f226610e82512
diff --git a/k8s/rally-files/init-rally-kube.sh b/k8s/rally-files/init-rally-kube.sh
new file mode 100644
index 0000000..955f8d5
--- /dev/null
+++ b/k8s/rally-files/init-rally-kube.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+cd /artifacts
+
+# Configure kubernetes
+# Check and prepare kubespec file
+if [ ! -f /artifacts/kubespec_generated.yaml ]; then
+ sudo bash /opt/res-files/k8s/rally-files/gen_kubespec.sh /artifacts/mos-kubeconf.yaml
+fi
+# Create kubernetes env
+rally env create --name kubernetes --spec /artifacts/kubespec_generated.yaml
+rally env check