in plugins/v1/repository_gcs/plugin.py [0:0]
def create_keystore(install_root, keystore_binary, env):
logger = logging.getLogger(LOGGER_NAME)
keystore_create_command = "{keystore} --silent create".format(keystore=keystore_binary)
return_code = process.run_subprocess_with_logging(
keystore_create_command,
env=env
)
if return_code != 0:
logger.error("%s has exited with code [%d]", keystore_create_command, return_code)
raise exceptions.SystemSetupError(
"Could not initialize a keystore. Please see the log for details.")