grenade/upgrade-oslo
Sean Dague 010a882dad don't uninstall oslo.config
There is a totally crazy sequencing issue that happens by uninstall
oslo.config here, don't do it. It's an incredibly old work around from
before we installed oslo.config as a non editable install.

Change-Id: Ic2364681e51e82e0d7b374728c177a47e04cbd1b
2014-12-02 16:04:11 -05:00

34 lines
729 B
Bash
Executable File

#!/usr/bin/env bash
# ``upgrade-oslo``
# Keep track of the grenade directory
GRENADE_DIR=$(cd $(dirname "$0") && pwd)
# Import common functions
source $GRENADE_DIR/functions
# Determine what system we are running on. This provides ``os_VENDOR``,
# ``os_RELEASE``, ``os_UPDATE``, ``os_PACKAGE``, ``os_CODENAME``
# and ``DISTRO``
GetDistro
# Source params
source $GRENADE_DIR/grenaderc
# For debugging
set -o xtrace
# Upgrade Oslo
# ================
cd $TARGET_DEVSTACK_DIR
source $TARGET_DEVSTACK_DIR/functions
source $TARGET_DEVSTACK_DIR/stackrc
source $TARGET_DEVSTACK_DIR/lib/oslo
# calls upgrade-oslo for specific release
upgrade_project oslo $GRENADE_DIR $BASE_DEVSTACK_BRANCH $TARGET_DEVSTACK_BRANCH
install_oslo