Skip to content

Commit

Permalink
chore: move non-Cloud package to staging bucket (#92)
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

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
dandhlee and gcf-owl-bot[bot] authored Jul 28, 2021
1 parent e2f2ebb commit 5002434
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/grafeas/.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
9 changes: 8 additions & 1 deletion packages/grafeas/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,11 @@ def test_get_occurrence""",
"--cov=grafeas",
)

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 5002434

Please sign in to comment.