Skip to content

Commit e4b2b00

Browse files
chore(python): Block pushing non-cloud libraries to Cloud RAD (#360)
* chore(python): omit google/__init__.py in coverage Source-Link: googleapis/synthtool@694118b Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:ec49167c606648a063d1222220b48119c912562849a0528f35bfb592a9f72737 * fix replacement in owlbot.py * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 2ecfc52 commit e4b2b00

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

packages/sqlalchemy-bigquery/.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
[run]
1919
branch = True
2020
omit =
21+
google/__init__.py
2122
sqlalchemy_bigquery/requirements.py
2223

2324
[report]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
3-
digest: sha256:58f73ba196b5414782605236dd0712a73541b44ff2ff4d3a36ec41092dd6fa5b
3+
digest: sha256:ec49167c606648a063d1222220b48119c912562849a0528f35bfb592a9f72737

packages/sqlalchemy-bigquery/.kokoro/docs/common.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ env_vars: {
3030

3131
env_vars: {
3232
key: "V2_STAGING_BUCKET"
33-
value: "docs-staging-v2"
33+
# Push non-cloud library docs to `docs-staging-v2-staging` instead of the
34+
# Cloud RAD bucket `docs-staging-v2`
35+
value: "docs-staging-v2-staging"
3436
}
3537

3638
# It will upload the docker image after successful builds.

packages/sqlalchemy-bigquery/owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
)
6464

6565
s.replace(
66-
["noxfile.py"], "google/cloud", "sqlalchemy_bigquery",
66+
["noxfile.py"], "--cov=google", "--cov=sqlalchemy_bigquery",
6767
)
6868

6969
def place_before(path, text, *before_text, escape=None):

0 commit comments

Comments
 (0)