Skip to content

Commit

Permalink
chore: move non-cloud package to staging bucket (#85)
Browse files Browse the repository at this point in the history
* 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 <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
dandhlee and gcf-owl-bot[bot] authored Jun 21, 2021
1 parent dbfff2c commit 3c0c360
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/google-analytics-data/.kokoro/docs/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
13 changes: 11 additions & 2 deletions packages/google-analytics-data/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -58,4 +60,11 @@
"""``^[a-zA-Z0-9_]$``""",
)

s.shell.run(["nox", "-s", "blacken"], hide_output=False)
# 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)

0 comments on commit 3c0c360

Please sign in to comment.