- echo "Processing $GERRIT_PROJECT patchset $GERRIT_REFSPEC"
- cd $WORKSPACE
- COMMIT_MESSAGE=$(git show -s --format=%B)
- echo "Not implemented!"
- exit 1
+ # for infra/engine repo, we set INSTALLER_TYPE and DEPLOY_SCENARIO to their defaults
+ echo "Info: Processing $GERRIT_PROJECT patchset $GERRIT_REFSPEC"
+ if [[ "$GERRIT_PROJECT" == "infra/engine" ]]; then
+ echo "Info: Setting INSTALLER_TYPE and DEPLOY_SCENARIO to defaults for project $GERRIT_PROJECT patchset $GERRIT_REFSPEC"
+ export PROVISIONER_TYPE=bifrost
+ export INSTALLER_TYPE=kubespray
+ export DEPLOY_SCENARIO=k8-calico-nofeature
+ write_change_metadata
+ else
+ cd $WORKSPACE
+ COMMIT_MESSAGE=$(git show -s --format=%B)
+ echo "Info: Not implemented!"
+ exit 1
+ fi