Description
We are adding variables in the function "addVariablesToProject" in _onboarding module.
We should mark the secrets as masked.
def addVariablesToProject (self, variable_obj): for variable in variable_obj.keys(): qt_gemini_logger.info("Adding CI/CD variable '{0}'".format(variable)) try: self.getProjectHandle().variables.create({'key': variable, 'value': variable_obj[variable]}) # FIXME: define secret variables as masked except (gitlab.GitlabError, gitlab.GitlabCreateError) as e: qt_gemini_logger.warning("Cannot add '{0}'".format(variable)) #FIXME: should we exit from here or should we continue?