Skip to content

Commit

Permalink
chore: move non-cloud package to staging bucket (#83)
Browse files Browse the repository at this point in the history
* chore: move non-cloud package to staging bucket

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md

* chore: update owlbot.py

* chore: update Kokoro config

* 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 bca32cd commit 1850a7c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/google-analytics-admin/.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
11 changes: 10 additions & 1 deletion packages/google-analytics-admin/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,21 @@
# ----------------------------------------------------------------------------
templated_files = common.py_library(cov_level=98, microgenerator=True)
s.move(
templated_files, excludes=[".coveragerc"]
templated_files, excludes=[
".coveragerc"
]
) # the microgenerator has a good coveragerc file

# fix coverage statement
s.replace("noxfile.py",
'''["']--cov=google/cloud["'],''',
'''"--cov=google.analytics",''')

# 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 1850a7c

Please sign in to comment.