summaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/eteHelm-k8s.sh
diff options
context:
space:
mode:
authorguillaume.lambert <guillaume.lambert@orange.com>2022-05-28 21:12:47 +0200
committerFiachra Corcoran <fiachra.corcoran@est.tech>2022-07-06 16:00:31 +0000
commitab71c57205ef0c84050ea1b8f08e46213db470c2 (patch)
tree850f96522cbd1eacb2b0718988b46425d0faf373 /kubernetes/robot/eteHelm-k8s.sh
parentb4a66f9df15d8b10a31cf531ea6e8bf0bf1dd37a (diff)
[COMMON] Replace kubectl calls to bash by sh
TODO: add a proper detection in CI scripts Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Iad9bc6d5f4dcca89ce225e5ce8ac1a421b364427
Diffstat (limited to 'kubernetes/robot/eteHelm-k8s.sh')
-rwxr-xr-xkubernetes/robot/eteHelm-k8s.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/robot/eteHelm-k8s.sh b/kubernetes/robot/eteHelm-k8s.sh
index 1b31c16e81..90bfa11c13 100755
--- a/kubernetes/robot/eteHelm-k8s.sh
+++ b/kubernetes/robot/eteHelm-k8s.sh
@@ -50,7 +50,7 @@ if [ "${!#}" = "execscript" ]; then
done
fi
-export GLOBAL_BUILD_NUMBER=$(kubectl --namespace $NAMESPACE exec ${POD} -- bash -c "ls -1q /share/logs/ | wc -l")
+export GLOBAL_BUILD_NUMBER=$(kubectl --namespace $NAMESPACE exec ${POD} -- sh -c "ls -1q /share/logs/ | wc -l")
OUTPUT_FOLDER=$(printf %04d $GLOBAL_BUILD_NUMBER)_ete_helmlist
DISPLAY_NUM=$(($GLOBAL_BUILD_NUMBER + 90))