Skip to content

Commit dca729b

Browse files
committed
Merge branch 'main' into firestore_pipelines_ga
2 parents 0e723a8 + f38cd44 commit dca729b

File tree

3,584 files changed

+1318131
-21572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,584 files changed

+1318131
-21572
lines changed

.github/CODEOWNERS

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Code owners file.
22
# This file controls who is tagged for review for any given pull request.
3+
#
4+
# To add a new package or team:
5+
# 1. Add the directory path below the default catch-all rule (`*`).
6+
# 2. Append the new team AFTER the default cloud-sdk teams.
7+
# 3. The new team must have "Write" access to google-cloud-python
8+
# See go/cloud-sdk-googleapis#aod for instructions on requesting
9+
# access to modify repo settings.
310

411
# Default owner for all directories not owned by others
512
* @googleapis/cloud-sdk-python-team @googleapis/cloud-sdk-librarian-team
13+
14+
/packages/bigframes/ @googleapis/cloud-sdk-python-team @googleapis/cloud-sdk-librarian-team @googleapis/bigquery-dataframe-team
15+
/packages/bigquery-magics/ @googleapis/cloud-sdk-python-team @googleapis/cloud-sdk-librarian-team @googleapis/bigquery-dataframe-team
16+
/packages/django-google-spanner/ @googleapis/cloud-sdk-python-team @googleapis/cloud-sdk-librarian-team @googleapis/spanner-team
17+
/packages/google-auth/ @googleapis/cloud-sdk-python-team @googleapis/cloud-sdk-librarian-team @googleapis/cloud-sdk-auth-team @googleapis/aion-team
18+
/packages/google-cloud-bigquery*/ @googleapis/cloud-sdk-python-team @googleapis/cloud-sdk-librarian-team @googleapis/bigquery-dataframe-team
19+
/packages/google-cloud-spanner/ @googleapis/cloud-sdk-python-team @googleapis/cloud-sdk-librarian-team @googleapis/spanner-team
20+
/packages/pandas-gbq/ @googleapis/cloud-sdk-python-team @googleapis/cloud-sdk-librarian-team @googleapis/bigquery-dataframe-team
21+
/packages/sqlalchemy-bigquery/ @googleapis/cloud-sdk-python-team @googleapis/cloud-sdk-librarian-team @googleapis/bigquery-dataframe-team
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
on:
2+
pull_request:
3+
paths:
4+
- 'packages/google-cloud-bigtable/**'
5+
- '.github/workflows/bigtable-conformance.yaml'
6+
push:
7+
branches:
8+
- main
9+
paths:
10+
- 'packages/google-cloud-bigtable/**'
11+
- '.github/workflows/bigtable-conformance.yaml'
12+
13+
defaults:
14+
run:
15+
working-directory: packages/google-cloud-bigtable
16+
17+
name: Conformance
18+
jobs:
19+
check_changes:
20+
runs-on: ubuntu-latest
21+
outputs:
22+
run_bigtable: ${{ steps.filter.outputs.bigtable }}
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: dorny/paths-filter@v3
26+
id: filter
27+
with:
28+
filters: |
29+
bigtable:
30+
- 'packages/google-cloud-bigtable/**'
31+
- '.github/workflows/bigtable-conformance.yaml'
32+
33+
system-tests:
34+
needs: check_changes
35+
if: ${{ needs.check_changes.outputs.run_bigtable == 'true' }}
36+
runs-on: ubuntu-latest
37+
strategy:
38+
matrix:
39+
test-version: [ "v0.0.4" ]
40+
py-version: [ 3.13 ]
41+
client-type: [ "async", "sync"]
42+
# None of the clients currently support reverse scans, execute query plan refresh, retry info, or routing cookie
43+
include:
44+
- client-type: "async"
45+
test_args: "-skip \"PlanRefresh|_Reverse|_WithRetryInfo|_WithRoutingCookie\""
46+
- client-type: "sync"
47+
test_args: "-skip \"PlanRefresh|_Reverse|_WithRetryInfo|_WithRoutingCookie|_Generic_MultiStream\""
48+
fail-fast: false
49+
name: "${{ matrix.client-type }} client / python ${{ matrix.py-version }} / test tag ${{ matrix.test-version }}"
50+
steps:
51+
- uses: actions/checkout@v4
52+
name: "Checkout google-cloud-python"
53+
- uses: actions/checkout@v4
54+
name: "Checkout conformance tests"
55+
with:
56+
repository: googleapis/cloud-bigtable-clients-test
57+
ref: ${{ matrix.test-version }}
58+
path: packages/google-cloud-bigtable/cloud-bigtable-clients-test
59+
- uses: actions/setup-python@v5
60+
with:
61+
python-version: ${{ matrix.py-version }}
62+
- uses: actions/setup-go@v5
63+
with:
64+
go-version: '>=1.20.2'
65+
- run: pip install -e .
66+
name: "Install google-cloud-bigtable from HEAD"
67+
- run: go version
68+
- run: scripts/conformance.sh
69+
name: "Run tests"
70+
env:
71+
CLIENT_TYPE: ${{ matrix.client-type }}
72+
PYTHONUNBUFFERED: 1
73+
TEST_ARGS: ${{ matrix.test_args }}
74+
PROXY_PORT: 9999

.github/workflows/gapic-generator-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ jobs:
181181
path: ~/.cache/bazel
182182
# Ensure CACHE_VERSION is defined in the mono-repo secrets!
183183
key: ${{ runner.os }}-bazel-20210105-${{ secrets.CACHE_VERSION }}
184-
restore-keys: |
185-
${{ runner.os }}-bazel-20210105-
186184

187185
- name: Run Bazel Integration Tests
188186
run: |

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "packages/google-crc32c/google_crc32c"]
2+
path = packages/google-crc32c/google_crc32c
3+
url = https://github.com/google/crc32c.git
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Tell Kokoro where to find our fake test log so it doesn't 404
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
build_file: "google-cloud-python/packages/google-crc32c/scripts/manylinux/build.sh"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Tell Kokoro where to find our fake test log so it doesn't 404
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
build_file: "google-cloud-python/packages/google-crc32c/scripts/osx/build.sh"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Tell Kokoro where to find our fake test log so it doesn't 404
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
build_file: "google-cloud-python/packages/google-crc32c/scripts/osx/build.sh"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Tell Kokoro where to find our fake test log so it doesn't 404
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
build_file: "google-cloud-python/packages/google-crc32c/scripts/windows/build.bat"

.kokoro/system.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,19 +89,23 @@ run_package_test() {
8989
}
9090

9191
packages_with_system_tests=(
92+
"bigframes"
9293
"google-auth"
9394
"google-cloud-bigquery-storage"
9495
"google-cloud-bigtable"
9596
"google-cloud-datastore"
9697
"google-cloud-dns"
9798
"google-cloud-error-reporting"
98-
"sqlalchemy-spanner"
9999
"google-cloud-firestore"
100100
"google-cloud-logging"
101+
"google-cloud-ndb"
101102
"google-cloud-pubsub"
103+
"google-cloud-spanner"
104+
"google-cloud-storage"
102105
"google-cloud-testutils"
103-
"sqlalchemy-bigquery"
104106
"pandas-gbq"
107+
"sqlalchemy-bigquery"
108+
"sqlalchemy-spanner"
105109
)
106110

107111
# A file for running system tests

.librarian/config.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,28 @@ libraries:
1212
# `google-django-spanner` is blocked until the presubmits are green.
1313
- id: "google-django-spanner"
1414
release_blocked: true
15+
# TODO(https://github.com/googleapis/google-cloud-python/issues/16487):
16+
# Allow releases for google-cloud-storage once this bug is fixed.
17+
- id: "google-cloud-storage"
18+
release_blocked: true
19+
# TODO(https://github.com/googleapis/google-cloud-python/issues/16494):
20+
# Allow generation for google-cloud-bigtable once this bug is fixed.
21+
- id: "google-cloud-bigtable"
22+
generate_blocked: true
23+
# TODO(https://github.com/googleapis/google-cloud-python/issues/16489):
24+
# Allow releases for bigframes once the bug above is fixed.
25+
- id: "bigframes"
26+
release_blocked: true
27+
# TODO(https://github.com/googleapis/google-cloud-python/issues/16506):
28+
# Allow generation/release for google-cloud-firestore once this bug is fixed.
29+
- id: "google-cloud-firestore"
30+
generate_blocked: true
31+
release_blocked: true
32+
# TODO(https://github.com/googleapis/google-cloud-python/issues/16165):
33+
# Allow generation for google-cloud-dialogflow once this bug is fixed.
34+
- id: "google-cloud-dialogflow"
35+
generate_blocked: true
36+
# TODO(https://github.com/googleapis/google-cloud-python/issues/16520):
37+
# Allow release for google-crc32c once this bug is fixed.
38+
- id: "google-crc32c"
39+
release_blocked: true

0 commit comments

Comments
 (0)