Add bits to support stable/queens
Add missing bits to support stable/queens branch in TripleO; Some adjustments might be done later but this is a first iteration. Change-Id: I4a369389fbecf6890a75ffaaf695f391cd6b7e2d Closes-Bug: #1750311
This commit is contained in:
parent
3c93795b9c
commit
5bf07a20c2
|
@ -577,9 +577,11 @@ fi
|
||||||
if [ "$UNDERCLOUD_MAJOR_UPGRADE" == 1 ] ; then
|
if [ "$UNDERCLOUD_MAJOR_UPGRADE" == 1 ] ; then
|
||||||
# Reset or unset STABLE_RELEASE so that we upgrade to the next major
|
# Reset or unset STABLE_RELEASE so that we upgrade to the next major
|
||||||
# version
|
# version
|
||||||
if [ "$STABLE_RELEASE" = "pike" ]; then
|
if [ "$STABLE_RELEASE" = "queens" ]; then
|
||||||
# TODO: switch STABLE_RELEASE to queens when released
|
# TODO: switch STABLE_RELEASE to rocky when released
|
||||||
export STABLE_RELEASE=""
|
export STABLE_RELEASE=""
|
||||||
|
elif [ "$STABLE_RELEASE" = "pike" ]; then
|
||||||
|
export STABLE_RELEASE="queens"
|
||||||
elif [ "$STABLE_RELEASE" = "ocata" ]; then
|
elif [ "$STABLE_RELEASE" = "ocata" ]; then
|
||||||
export STABLE_RELEASE="pike"
|
export STABLE_RELEASE="pike"
|
||||||
elif [ "$STABLE_RELEASE" = "mitaka" ]; then
|
elif [ "$STABLE_RELEASE" = "mitaka" ]; then
|
||||||
|
|
|
@ -59,6 +59,11 @@ cron {"mirror-images-master":
|
||||||
hour => "2",
|
hour => "2",
|
||||||
minute => "0"
|
minute => "0"
|
||||||
}
|
}
|
||||||
|
cron {"mirror-images-queens":
|
||||||
|
command => "timeout 60m /opt/stack/tripleo-ci/scripts/mirror-server/mirror-images.sh queens | tee /var/log/images_update-queens.log",
|
||||||
|
hour => "2",
|
||||||
|
minute => "0"
|
||||||
|
}
|
||||||
cron {"mirror-images-pike":
|
cron {"mirror-images-pike":
|
||||||
command => "timeout 60m /opt/stack/tripleo-ci/scripts/mirror-server/mirror-images.sh pike | tee /var/log/images_update-pike.log",
|
command => "timeout 60m /opt/stack/tripleo-ci/scripts/mirror-server/mirror-images.sh pike | tee /var/log/images_update-pike.log",
|
||||||
hour => "2",
|
hour => "2",
|
||||||
|
|
|
@ -5,7 +5,7 @@ function previous_release_from {
|
||||||
case "$RELEASE" in
|
case "$RELEASE" in
|
||||||
''|master)
|
''|master)
|
||||||
# NOTE: we need to update this when we cut a stable branch
|
# NOTE: we need to update this when we cut a stable branch
|
||||||
echo "pike"
|
echo "queens"
|
||||||
;;
|
;;
|
||||||
queens)
|
queens)
|
||||||
echo "pike"
|
echo "pike"
|
||||||
|
|
|
@ -499,7 +499,7 @@ function delorean_build {
|
||||||
GITHASH=$(git rev-parse HEAD)
|
GITHASH=$(git rev-parse HEAD)
|
||||||
|
|
||||||
# Set the branches delorean reads to the same git hash as PROJ has left for us
|
# Set the branches delorean reads to the same git hash as PROJ has left for us
|
||||||
for BRANCH in master origin/master stable/mitaka origin/stable/mitaka stable/newton origin/stable/newton stable/ocata origin/stable/ocata stable/pike origin/stable/pike; do
|
for BRANCH in master origin/master stable/mitaka origin/stable/mitaka stable/newton origin/stable/newton stable/ocata origin/stable/ocata stable/pike origin/stable/pike stable/queens origin/stable/queens; do
|
||||||
git checkout -b $BRANCH || git checkout $BRANCH
|
git checkout -b $BRANCH || git checkout $BRANCH
|
||||||
git reset --hard $GITHASH
|
git reset --hard $GITHASH
|
||||||
done
|
done
|
||||||
|
|
|
@ -260,7 +260,7 @@ else
|
||||||
# multinode bootstrap script
|
# multinode bootstrap script
|
||||||
export DO_BOOTSTRAP_SUBNODES=${DO_BOOTSTRAP_SUBNODES:-1}
|
export DO_BOOTSTRAP_SUBNODES=${DO_BOOTSTRAP_SUBNODES:-1}
|
||||||
export BOOTSTRAP_SUBNODES_MINIMAL=0
|
export BOOTSTRAP_SUBNODES_MINIMAL=0
|
||||||
if [[ -z $STABLE_RELEASE || "$STABLE_RELEASE" = "ocata" || "$STABLE_RELEASE" = "pike" ]]; then
|
if [[ -z $STABLE_RELEASE || "$STABLE_RELEASE" != "newton" ]]; then
|
||||||
BOOTSTRAP_SUBNODES_MINIMAL=1
|
BOOTSTRAP_SUBNODES_MINIMAL=1
|
||||||
fi
|
fi
|
||||||
echo_vars_to_deploy_env_oooq
|
echo_vars_to_deploy_env_oooq
|
||||||
|
|
|
@ -197,7 +197,9 @@ for JOB_TYPE_PART in $(sed 's/-/ /g' <<< "${TOCI_JOBTYPE:-}") ; do
|
||||||
if [ $TOCI_JOBTYPE == 'undercloud-upgrades' ] ; then
|
if [ $TOCI_JOBTYPE == 'undercloud-upgrades' ] ; then
|
||||||
# We want to start by installing an Undercloud
|
# We want to start by installing an Undercloud
|
||||||
# from the previous stable release.
|
# from the previous stable release.
|
||||||
if [ "$STABLE_RELEASE" = "pike" ]; then
|
if [ "$STABLE_RELEASE" = "queens" ]; then
|
||||||
|
STABLE_RELEASE=pike
|
||||||
|
elif [ "$STABLE_RELEASE" = "pike" ]; then
|
||||||
STABLE_RELEASE=ocata
|
STABLE_RELEASE=ocata
|
||||||
elif [ "$STABLE_RELEASE" = "ocata" ]; then
|
elif [ "$STABLE_RELEASE" = "ocata" ]; then
|
||||||
STABLE_RELEASE=newton
|
STABLE_RELEASE=newton
|
||||||
|
|
Loading…
Reference in New Issue