Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pman: Update info about BYPASS_PMAN_CHANGE_CHECK #1030

Merged
merged 1 commit into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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