From: Ricardo Noriega Date: Wed, 21 Oct 2020 10:14:56 +0000 (+0200) Subject: Modify path for knictl binary in GCP CI Job X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F3804%2F1;p=kni%2Finstaller.git Modify path for knictl binary in GCP CI Job Signed-off-by: Ricardo Noriega Change-Id: Ie8b5c5e368ad9281ebcc48c49b74b1ee167d3cb2 --- diff --git a/ci/kni_deploy_gcp.sh b/ci/kni_deploy_gcp.sh index 30fd498..4b9245c 100755 --- a/ci/kni_deploy_gcp.sh +++ b/ci/kni_deploy_gcp.sh @@ -42,8 +42,8 @@ sed -i "s#- git::https://gerrit.akraino.org/r/kni/${GIT_CHECKOUT_DIR}.git/#- fil # start the workflow sudo rm -rf /$HOME/.kni/${SITE_NAME} || true -./knictl fetch_requirements file://${BLUEPRINT_PATH}/sites/${SITE_NAME} 2>&1 | tee ${WORKSPACE}/gcp_requirements.log -./knictl prepare_manifests ${SITE_NAME} 2>&1 | tee ${WORKSPACE}/gcp_manifests.log +./bin/knictl fetch_requirements file://${BLUEPRINT_PATH}/sites/${SITE_NAME} 2>&1 | tee ${WORKSPACE}/gcp_requirements.log +./bin/knictl prepare_manifests ${SITE_NAME} 2>&1 | tee ${WORKSPACE}/gcp_manifests.log # now run the cluster source $HOME/.kni/${SITE_NAME}/profile.env @@ -61,7 +61,7 @@ if [ $STATUS -ne 0 ]; then fi echo "Cluster successfully deployed! Start applying workloads" -./knictl apply_workloads ${SITE_NAME} 2>&1 | tee ${WORKSPACE}/gcp_workloads.go +./bin/knictl apply_workloads ${SITE_NAME} 2>&1 | tee ${WORKSPACE}/gcp_workloads.go STATUS=$? if [ $STATUS -ne 0 ]; then