From 302e755d9057bae16d9b1548bbec4f18560a897a Mon Sep 17 00:00:00 2001 From: Or Shoval Date: Wed, 14 Jun 2023 15:24:03 +0300 Subject: [PATCH] pman: Update info about BYPASS_PMAN_CHANGE_CHECK Signed-off-by: Or Shoval --- KUBEVIRTCI_LOCAL_TESTING.md | 4 ++++ cluster-provision/k8s/provision.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/KUBEVIRTCI_LOCAL_TESTING.md b/KUBEVIRTCI_LOCAL_TESTING.md index ba3622955b..16dd5cd787 100644 --- a/KUBEVIRTCI_LOCAL_TESTING.md +++ b/KUBEVIRTCI_LOCAL_TESTING.md @@ -24,6 +24,10 @@ cd $KUBEVIRTCI_DIR (cd cluster-provision/k8s/1.25; ../provision.sh) ``` +Note: +If you see "INFO: skipping provision of x.yz because according provision-manager it hadn't changed" +please use `export BYPASS_PMAN_CHANGE_CHECK=true` to bypass provision-manager changes check and force provision. + ### prepare for using the new provisioned cluster ```bash diff --git a/cluster-provision/k8s/provision.sh b/cluster-provision/k8s/provision.sh index 1eb7fc5b9c..a13916931f 100755 --- a/cluster-provision/k8s/provision.sh +++ b/cluster-provision/k8s/provision.sh @@ -23,6 +23,7 @@ if [[ $BYPASS_PMAN_CHANGE_CHECK == false ]]; then result=$(echo $json | jq --arg v "$provision_dir" '.[$v]') if [[ $result == false ]]; then echo "INFO: skipping provision of $provision_dir because according provision-manager it hadn't changed" + echo "INFO: use 'export BYPASS_PMAN_CHANGE_CHECK=true' to force provision" exit 0 fi fi