path = os.path.join(args.artifacts_dir, "finished.json")
logging.info("Creating %s", path)
with open(path, "w") as hf:
json.dump(finished, hf)
def _get_pr_gcs_dir(bucket):
Return the GCS directory for this PR.
pull_number = os.getenv("PULL_NUMBER")
After Change
"metadata": {},
}
return json.dumps(finished)
def get_gcs_dir(bucket):
Return the GCS directory for this job.
pull_number = os.getenv("PULL_NUMBER")