From 2c0faca0380050b697b7d7fe6589102fa8a0cb5d Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 28 Jun 2017 09:13:04 -0400 Subject: [PATCH] Add devstack-version script This will help in collecting information about the devstack version being used. Change-Id: I23a8ca023bda6d097051cd57ae45401806451ad5 --- functions | 15 +++++++++++++++ stack.sh | 14 +++++++++++++- stackrc | 1 + 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/functions b/functions index e056c3fba2..738040d7bc 100644 --- a/functions +++ b/functions @@ -751,6 +751,21 @@ function get_random_port { } +function write_devstack_version { + pushd $TOP_DIR + local git_version="" + git_version=$(git log --format="%H %s %ci" -1) + cat - > /tmp/devstack-version <&3 exec 2>&3 diff --git a/stackrc b/stackrc index 50f7c89ba3..5da9a2abec 100644 --- a/stackrc +++ b/stackrc @@ -272,6 +272,7 @@ REQUIREMENTS_DIR=$DEST/requirements # Setting the variable to 'ALL' will activate the download for all # libraries. +DEVSTACK_SERIES="pike" ############## #