Ignore trailing projects from RC1
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
This commit is contained in:
parent
484bd13ac5
commit
57d91b0b13
@ -1125,11 +1125,11 @@ R-3 week (RC1 deadline)
|
||||
--model cycle-with-intermediary \
|
||||
--type horizon-plugin --type other --type service --type tempest-plugin
|
||||
|
||||
- cycle-with-rc deliverables that have not done a RC1 yet, for which
|
||||
a release should be proposed from HEAD, and include stable branch
|
||||
creation. You can list those using::
|
||||
- cycle-with-rc that are not trailing deliverables and that have not done
|
||||
a RC1 yet, for which a release should be proposed from HEAD, and include
|
||||
stable branch creation. You can list those using::
|
||||
|
||||
tox -e venv -- list-deliverables --missing-rc --model cycle-with-rc
|
||||
tools/list_rc1.sh
|
||||
|
||||
- Generate patches by using ``process_auto_releases``.
|
||||
|
||||
|
31
tools/list_rc1.sh
Executable file
31
tools/list_rc1.sh
Executable file
@ -0,0 +1,31 @@
|
||||
#!/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}"
|
Loading…
x
Reference in New Issue
Block a user