Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def write_configs(self):
""" Generates the configurations need for pipes """
utils.banner("Generating Configs")
if not self.gitlab_token_path:
raise SystemExit('Must provide private token file as well.')
self.configs = configs.process_git_configs(
git_short=self.git_short,
token_file=self.gitlab_token_path)
configs.write_variables(app_configs=self.configs,
out_file=self.raw_path,
git_short=self.git_short)
def write_configs(self):
""" Generates the configurations need for pipes """
utils.banner("Generating Configs")
if not self.gitlab_token_path:
raise SystemExit('Must provide private token file as well.')
self.configs = configs.process_git_configs(
git_short=self.git_short,
token_file=self.gitlab_token_path)
configs.write_variables(app_configs=self.configs,
out_file=self.raw_path,
git_short=self.git_short)
def write_configs(self):
"""Generate the configurations needed for pipes."""
utils.banner("Generating Configs")
if not self.runway_dir:
app_configs = configs.process_git_configs(git_short=self.git_short)
else:
app_configs = configs.process_runway_configs(runway_dir=self.runway_dir)
self.configs = configs.write_variables(
app_configs=app_configs, out_file=self.raw_path, git_short=self.git_short)
def write_configs(self):
"""Generate the configurations needed for pipes."""
utils.banner("Generating Configs")
if not self.runway_dir:
app_configs = configs.process_git_configs(git_short=self.git_short)
else:
app_configs = configs.process_runway_configs(runway_dir=self.runway_dir)
self.configs = configs.write_variables(
app_configs=app_configs, out_file=self.raw_path, git_short=self.git_short)