From 01b4e4490898bf7023c7e72bd5b4b2152a278182 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Tue, 10 Nov 2020 13:35:37 +0200 Subject: [PATCH] Update minishift nightly tests (#524) * Update minishift nightly tests Signed-off-by: Anatolii Bazko --- .ci/cico_minishift_nightly.sh | 48 ++++++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/.ci/cico_minishift_nightly.sh b/.ci/cico_minishift_nightly.sh index 501b860a4..5f17ffafc 100755 --- a/.ci/cico_minishift_nightly.sh +++ b/.ci/cico_minishift_nightly.sh @@ -47,6 +47,16 @@ function init() { fi } +installYq() { + YQ=$(command -v yq) || true + if [[ ! -x "${YQ}" ]]; then + pip3 install wheel + pip3 install yq + fi + echo "[INFO] $(yq --version)" + echo "[INFO] $(jq --version)" +} + # Utility to get che events and pod logs from openshift cluster function getOCCheClusterLogs() { mkdir -p /tmp/artifacts-che @@ -67,27 +77,34 @@ function getOCCheClusterLogs() { # Deploy Eclipse Che function run() { - cat >/tmp/che-cr-patch.yaml <