Include octavia files when updating branch constraints

Patch I8eba64c886c187c8652f94735ca6153702203d17 added logic to update
the constraints URL for a project specific file, but adding the file
before committing and submitting the changes was missed, resulting in
git review erroring during the rebase step of submitting the review due
to unstaged files.

Change-Id: I4d87546f12c4a866e9c666e83c42ad8d07a637a3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-04-23 15:37:42 -05:00
parent d30035b433
commit 6afe343380
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8

View File

@ -95,6 +95,9 @@ function update_upper_constraints {
fi
if ! git diff --exit-code >/dev/null 2>&1 ; then
git add tox.ini
if [[ -f elements/amphora-agent/source-repository-amphora-agent ]]; then
git add elements/amphora-agent/source-repository-amphora-agent
fi
msg="Update TOX_CONSTRAINTS_FILE for $branch"
body="Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch