From 94602e26678fd1a8fa3bda37b3b1d980967be2d6 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Thu, 9 Apr 2020 10:12:23 -0400 Subject: [PATCH] cosalib/gcp: remove compat code for callers providing --bucket gs://* This is a revert of f2f6f65. The downstream pipeline has been changed to provide `gs://` in the bucket argument so we're good now. --- src/cosalib/gcp.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/cosalib/gcp.py b/src/cosalib/gcp.py index 56809c6a3c..f24c7b1123 100644 --- a/src/cosalib/gcp.py +++ b/src/cosalib/gcp.py @@ -39,11 +39,6 @@ def gcp_run_ore(build, args): if args.project is None: raise Exception(arg_exp_str.format("project", "GCP_PROJECT")) - # compat for RHCOS pipeline - remove after cloud-gcp.groovy is updated - # to pass --bucket without prepending `gs://` - if not args.bucket.startswith('gs://'): - args.bucket = f"gs://{args.bucket}" - ore_args = ['ore'] if args.log_level == "DEBUG": ore_args.extend(['--log-level', "DEBUG"])