Modify path for knictl binary in GCP CI Job 04/3804/1
authorRicardo Noriega <rnoriega@redhat.com>
Wed, 21 Oct 2020 10:14:56 +0000 (12:14 +0200)
committerRicardo Noriega <rnoriega@redhat.com>
Wed, 21 Oct 2020 10:14:56 +0000 (12:14 +0200)
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: Ie8b5c5e368ad9281ebcc48c49b74b1ee167d3cb2

ci/kni_deploy_gcp.sh

index 30fd498..4b9245c 100755 (executable)
@@ -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