From 6bbe5a25de1a6b6033cd4db4ffc5ad7e177e0a5d Mon Sep 17 00:00:00 2001 From: Ricardo Noriega Date: Wed, 21 Oct 2020 12:14:56 +0200 Subject: [PATCH] Modify path for knictl binary in GCP CI Job Signed-off-by: Ricardo Noriega Change-Id: Ie8b5c5e368ad9281ebcc48c49b74b1ee167d3cb2 --- ci/kni_deploy_gcp.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.16.6