57d91b0b13
Some traiing projects follow the cycle-with-rc model however our doc and our tools doesn't differentiate them during RC1. These project doesn't have to be released during RC1. These changes adapt our process accordingly. Change-Id: I44040bc040f19a75c468d385395323fe0a1f459a
32 lines
983 B
Bash
Executable File
32 lines
983 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Convenience wrapper to show cycle-with-rc non trailing deliverables that
|
|
# have not done a RC1 yet, for which a release should be proposed from HEAD,
|
|
# and include stable branch creation.
|
|
|
|
TOOLSDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
BASEDIR=$(dirname $TOOLSDIR)
|
|
source $TOOLSDIR/functions
|
|
|
|
if [[ -z "$VIRTUAL_ENV" ]]; then
|
|
if [[ ! -d $BASEDIR/.tox/venv ]]; then
|
|
(cd $BASEDIR && tox -e venv --notest)
|
|
fi
|
|
source $BASEDIR/.tox/venv/bin/activate
|
|
fi
|
|
|
|
# Figure out the current series from the releases directory.
|
|
current_series=$(python -c 'import openstack_releases.defaults; \
|
|
print(openstack_releases.defaults.RELEASE)')
|
|
if [ -z "$current_series" ]; then
|
|
echo "Could not determine the current release series."
|
|
exit 1
|
|
fi
|
|
|
|
trailing_projects=$(list-deliverables \
|
|
--missing-rc \
|
|
--model cycle-with-rc \
|
|
--type trailing)
|
|
list-deliverables --missing-rc --model cycle-with-rc | \
|
|
grep -v "${trailing_projects}"
|