remove "requirements" mode from propose_update.sh

We do not automatically propose updates to projects' requirements, so
we don't need this branch of logic any more.

Depends-On: https://review.openstack.org/555402/
Change-Id: I511ead56a6a6efecde25ce6b118256aa0560023a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-03-28 09:11:57 -04:00 committed by Clark Boylan
parent c0c2d44c08
commit e7d25bb989
1 changed files with 1 additions and 12 deletions

View File

@ -21,18 +21,7 @@ if [ -z "$OWN_PROJECT" ] ; then
exit 1
fi
if [ "$OWN_PROJECT" == "requirements" ] ; then
INITIAL_COMMIT_MSG="Updated from global requirements"
TOPIC="openstack/requirements"
PROJECTS=$(cat projects.txt)
VENV=$(mktemp -d)
trap "rm -rf $VENV" EXIT
virtualenv $VENV
$VENV/bin/pip install -e .
function update {
$VENV/bin/update-requirements $1
}
elif [ "$OWN_PROJECT" == "openstack-manuals" ] ; then
if [ "$OWN_PROJECT" == "openstack-manuals" ] ; then
INITIAL_COMMIT_MSG="Updated from openstack-manuals"
TOPIC="openstack/openstack-manuals"
PROJECTS=$(cat projects.txt)