From 3c0c36016e7ff0a6889e2bf0c50066342c8553df Mon Sep 17 00:00:00 2001 From: Dan Lee <71398022+dandhlee@users.noreply.github.com> Date: Mon, 21 Jun 2021 15:23:14 -0400 Subject: [PATCH] chore: move non-cloud package to staging bucket (#85) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: move non-cloud package to staging bucket * chore: update Owlbot.py * chore: update Owlbot.py * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../google-analytics-data/.kokoro/docs/common.cfg | 2 +- packages/google-analytics-data/owlbot.py | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/packages/google-analytics-data/.kokoro/docs/common.cfg b/packages/google-analytics-data/.kokoro/docs/common.cfg index cc08746286c9..55bb9deaf172 100644 --- a/packages/google-analytics-data/.kokoro/docs/common.cfg +++ b/packages/google-analytics-data/.kokoro/docs/common.cfg @@ -30,7 +30,7 @@ env_vars: { env_vars: { key: "V2_STAGING_BUCKET" - value: "docs-staging-v2" + value: "docs-staging-v2-staging" } # It will upload the docker image after successful builds. diff --git a/packages/google-analytics-data/owlbot.py b/packages/google-analytics-data/owlbot.py index 4e47074f6c57..3121640748f6 100644 --- a/packages/google-analytics-data/owlbot.py +++ b/packages/google-analytics-data/owlbot.py @@ -41,7 +41,9 @@ # ---------------------------------------------------------------------------- templated_files = common.py_library(cov_level=99, microgenerator=True) s.move( - templated_files, excludes=[".coveragerc"] + templated_files, excludes=[ + ".coveragerc" + ] ) # the microgenerator has a good coveragerc file # fix coverage target @@ -58,4 +60,11 @@ """``^[a-zA-Z0-9_]$``""", ) -s.shell.run(["nox", "-s", "blacken"], hide_output=False) \ No newline at end of file +# Block pushing non-cloud libraries to Cloud RAD +s.replace( + ".kokoro/docs/common.cfg", + r'value: "docs-staging-v2"', + r'value: "docs-staging-v2-staging"' +) + +s.shell.run(["nox", "-s", "blacken"], hide_output=False)