Skip to content

Commit

Permalink
pman: Update info about BYPASS_PMAN_CHANGE_CHECK (#1030)
Browse files Browse the repository at this point in the history
Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval authored Jun 22, 2023
1 parent 0c6367c commit 0d63ec2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions KUBEVIRTCI_LOCAL_TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions cluster-provision/k8s/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d63ec2

Please sign in to comment.