Browse Source

Use the TESTING_BRANCH env var for constraints

The TESTING_BRANCH environment variable is provided by the
run_tests.sh script and is derived from the .gitreview file.

This ensures that once the master branch becomes a stable
branch, the constraints from the stable branch in the
integrated repository will automatically get used once the
.gitreview file is updated.

To ensure that the required environment variables are present
we export them appropriately in run_tests.sh and modify the
tox configuration to pass them into the tox test.

Change-Id: I26166d6bcd2eefc1c25f3e2ed7c96005a78a4a8f
Needed-By: https://review.openstack.org/579371
Jesse Pretorius 8 months ago
parent
commit
742b0e5744
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      tox.ini

+ 4
- 1
tox.ini View File

@@ -11,14 +11,17 @@ install_command =
11 11
 commands =
12 12
     /usr/bin/find . -type f -name "*.pyc" -delete
13 13
 passenv =
14
+    COMMON_TESTS_PATH
14 15
     HOME
15
-    USER
16 16
     http_proxy
17 17
     HTTP_PROXY
18 18
     https_proxy
19 19
     HTTPS_PROXY
20 20
     no_proxy
21 21
     NO_PROXY
22
+    TESTING_BRANCH
23
+    TESTING_HOME
24
+    USER
22 25
 whitelist_externals =
23 26
     bash
24 27
 setenv =

Loading…
Cancel
Save