Hardcode gerrit branch of horizon for rocky
Related-prod: PRODX-979
Change-Id: I2dbf4ac1432c8d884c69edeb96f3023b07b08ad9
diff --git a/pre-build.sh b/pre-build.sh
index 2d6ea95..5963c26 100644
--- a/pre-build.sh
+++ b/pre-build.sh
@@ -8,8 +8,7 @@
GERRIT_NAME=${GERRIT_NAME:-$(git remote -v | sed -n -e 's|^origin[[:space:]]\+\([[:alpha:]]\+\)://\([a-z0-9\-]\+\)@\([a-z.:0-9]\+\)/.*(fetch)$|\2|p')}
GERRIT_HOST_PORT=${GERRIT_HOST_PORT:-$(git remote -v | sed -n -e 's|^origin[[:space:]]\+\([[:alpha:]]\+\)://\([a-z0-9\-]\+\)@\([a-z.:0-9]\+\)/.*(fetch)$|\3|p')}
HORIZON_LIB_REPO="${GERRIT_SCHEME}://${GERRIT_NAME}@${GERRIT_HOST_PORT}/packaging/sources/horizon"
-GERRIT_BRANCH=${GERRIT_BRANCH:-mcp/xenial/rocky}
git clone ${HORIZON_LIB_REPO}
-cd horizon/ ; git checkout ${GERRIT_BRANCH}
+cd horizon/ ; git checkout mcp/xenial/rocky