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:
dd168d1
)
Remove obsolote env var IS_CI_RUN
77/52077/1
author
Cédric Ollivier
<cedric.ollivier@orange.com>
Tue, 13 Feb 2018 07:12:46 +0000
(08:12 +0100)
committer
Cédric Ollivier
<cedric.ollivier@orange.com>
Tue, 13 Feb 2018 07:12:46 +0000
(08:12 +0100)
Change-Id: I284e0ec97792620db08005a617f584b81a1eae63
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
aaa5bea
..
110164b
100644
(file)
--- a/
functest/utils/env.py
+++ b/
functest/utils/env.py
@@
-32,16
+32,9
@@
class Environment(object): # pylint: disable=too-few-public-methods
for key, value in six.iteritems(self.default_envs):
if key not in os.environ:
setattr(self, key, value)
- self._set_ci_run()
if 'CI_LOOP' not in os.environ:
self._set_ci_loop()
- def _set_ci_run(self):
- if getattr(self, "BUILD_TAG"):
- setattr(self, "IS_CI_RUN", True)
- else:
- setattr(self, "IS_CI_RUN", False)
-
def _set_ci_loop(self):
if (getattr(self, "BUILD_TAG") and
re.search("daily", getattr(self, "BUILD_TAG"))):