Add global-requirements.txt to the mirror list
The openstack/requirements repo is consolidating the requirments lists
into a single file. This patch supports that work.
Change-Id: Ia2ca88c0cf6c3317911d1d396d3779b3df5216a0
diff --git a/jeepyb/cmd/run_mirror.py b/jeepyb/cmd/run_mirror.py
index dfc1800..5ba2efd 100644
--- a/jeepyb/cmd/run_mirror.py
+++ b/jeepyb/cmd/run_mirror.py
@@ -208,7 +208,8 @@
out = self.run_command("git reset --hard %s" % branch)
out = self.run_command("git clean -x -f -d -q")
reqlist = []
- for requires_file in ("requirements.txt",
+ for requires_file in ("global-requirements.txt",
+ "requirements.txt",
"test-requirements.txt",
"tools/pip-requires",
"tools/test-requires"):