11 'NODE_NAME': 'unknown_pod',
13 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha',
14 'DEPLOY_TYPE': 'virt',
15 'INSTALLER_TYPE': None,
18 'OS_ENDPOINT_TYPE': None,
20 'CONFIG_FUNCTEST_YAML': pkg_resources.resource_filename(
21 'functest', 'ci/config_functest.yaml'),
26 class Environment(object):
29 for k, v in six.iteritems(os.environ):
30 self.__setattr__(k, v)
31 for k, v in six.iteritems(default_envs):
32 if k not in os.environ:
33 self.__setattr__(k, v)
37 def _set_ci_run(self):
41 self.IS_CI_RUN = False
43 def _set_ci_loop(self):
44 if self.BUILD_TAG and re.search("daily", self.BUILD_TAG):
45 self.CI_LOOP = "daily"
47 self.CI_LOOP = "weekly"