Skip to content

Commit

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

* chore: update branch to staging

* 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 834b0f1 commit 4ebe91d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/google-area120-tables/.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-area120-tables/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=98, microgenerator=True)
s.move(
templated_files, excludes=[".coveragerc"]
templated_files, excludes=[
".coveragerc"
]
) # the microgenerator has a good coveragerc file

# fix coverage target
Expand All @@ -51,4 +53,11 @@
'''"--cov=google/area120",''',
)

# 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 4ebe91d

Please sign in to comment.