Code Review
/
functest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5866593
)
Allow defining CI_LOOP via env
67/39667/1
author
Cédric Ollivier
<cedric.ollivier@orange.com>
Sun, 20 Aug 2017 07:25:32 +0000
(09:25 +0200)
committer
Cédric Ollivier
<cedric.ollivier@orange.com>
Sun, 20 Aug 2017 10:22:29 +0000
(12:22 +0200)
CI_LOOP is more human-readable than BUILD_TAG and could be set by env.
Weekly is still the default value even if it can be considered than
daily is more relevant.
Change-Id: Ia8e370fe0f967ba2c83d0212f8e045d815b4ddb3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/utils/env.py
patch
|
blob
|
history
diff --git
a/functest/utils/env.py
b/functest/utils/env.py
index
2fb766d
..
d7b396e
100644
(file)
--- a/
functest/utils/env.py
+++ b/
functest/utils/env.py
@@
-32,7
+32,8
@@
class Environment(object):
if k not in os.environ:
self.__setattr__(k, v)
self._set_ci_run()
- self._set_ci_loop()
+ if 'CI_LOOP' not in os.environ:
+ self._set_ci_loop()
def _set_ci_run(self):
if self.BUILD_TAG: