Skip to content

Commit a5a236e

Browse files
committed
Merge branch 'main' into spanner-v2-owlbot-updates
2 parents a23f355 + eab6523 commit a5a236e

File tree

6,758 files changed

+201860
-259113
lines changed

Some content is hidden

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

6,758 files changed

+201860
-259113
lines changed

.github/run-package-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ FAILED_FILE=$(mktemp -d)/failed
4545
for DIR in ${DIRS}; do {
4646
cp ${DIR}/composer.json ${DIR}/composer-local.json
4747
# Update composer to use local packages
48-
for i in CommonProtos,common-protos,4.0 BigQuery,cloud-bigquery Core,cloud-core Logging,cloud-logging PubSub,cloud-pubsub Storage,cloud-storage ShoppingCommonProtos,shopping-common-protos GeoCommonProtos,geo-common-protos,0.1; do
48+
for i in CommonProtos,common-protos,4.100 BigQuery,cloud-bigquery Core,cloud-core Logging,cloud-logging PubSub,cloud-pubsub Storage,cloud-storage ShoppingCommonProtos,shopping-common-protos GeoCommonProtos,geo-common-protos,0.1; do
4949
IFS=","; set -- $i;
5050
if grep -q "\"google/$2\":" ${DIR}/composer.json; then
5151
# determine local package version
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
# Github action job to test core java library features on
15+
# downstream client libraries before they are released.
16+
on:
17+
push:
18+
branches:
19+
- main
20+
paths:
21+
- 'Bigtable/**'
22+
- '.github/workflows/conformance-tests-bigtable-emulator.yaml'
23+
pull_request:
24+
paths:
25+
- 'Bigtable/**'
26+
- '.github/workflows/conformance-tests-bigtable-emulator.yaml'
27+
workflow_dispatch:
28+
name: Run Bigtable Conformance Tests With Emulator
29+
jobs:
30+
conformance:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout code
34+
uses: actions/checkout@v4
35+
36+
- name: Setup PHP
37+
uses: shivammathur/setup-php@v2
38+
with:
39+
php-version: '8.1'
40+
extensions: grpc
41+
42+
- name: Checkout Bigtable conformance tests
43+
uses: actions/checkout@v4
44+
with:
45+
repository: googleapis/cloud-bigtable-clients-test
46+
ref: main
47+
path: cloud-bigtable-clients-test
48+
49+
- uses: actions/setup-go@v5
50+
with:
51+
go-version: '>=1.20.2'
52+
53+
- name: Install Road Runner PHP
54+
run: |
55+
wget https://github.com/roadrunner-server/roadrunner/releases/download/v2024.3.1/roadrunner-2024.3.1-linux-amd64.deb
56+
sudo dpkg -i roadrunner-2024.3.1-linux-amd64.deb
57+
58+
- run: bash Bigtable/tests/Conformance/proxy/conformance.sh

.github/workflows/conformance-tests-storage-emulator.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ on:
44
- main
55
paths:
66
- 'Storage/**'
7-
- '.github/workflows/emulator-conformance-tests-storage.yaml'
7+
- '.github/workflows/conformance-tests-storage-emulator.yaml'
88
pull_request:
99
paths:
1010
- 'Storage/**'
11-
- '.github/workflows/emulator-conformance-tests-storage.yaml'
11+
- '.github/workflows/conformance-tests-storage-emulator.yaml'
1212
name: Run Storage Retry Conformance Tests With Emulator
1313
jobs:
1414
test:
1515
runs-on: ubuntu-20.04
1616

1717
services:
1818
emulator:
19-
image: gcr.io/cloud-devrel-public-resources/storage-testbench:v0.49.0
19+
image: gcr.io/cloud-devrel-public-resources/storage-testbench:v0.52.0
2020
ports:
2121
- 9000:9000
2222

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: extract
2727
uses: shrink/actions-docker-extract@v2
2828
with:
29-
image: "phpdoc/phpdoc:3.4.1"
29+
image: "phpdoc/phpdoc:3.5.3"
3030
path: "/opt/phpdoc/."
3131
- name: Symlink phpDocumentor
3232
run: ln -s $(pwd)/${{ steps.extract.outputs.destination }}/bin/phpdoc /usr/local/bin/phpdoc

.github/workflows/lint.yaml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
permissions:
99
contents: read
1010
jobs:
11-
style:
11+
style_phpcs:
1212
runs-on: ubuntu-latest
1313
name: PHP Style Check
1414
steps:
@@ -21,6 +21,33 @@ jobs:
2121
run: composer global require "squizlabs/php_codesniffer:3.*"
2222
- name: Run PHPCS Code Style Checker
2323
run: ~/.composer/vendor/bin/phpcs --standard=phpcs-ruleset.xml -p
24+
25+
style_csfixer:
26+
name: PHP CS Fixer
27+
uses: GoogleCloudPlatform/php-tools/.github/workflows/code-standards.yml@main
28+
with:
29+
config: GoogleCloudPlatform/php-tools/.php-cs-fixer.default.php@main
30+
exclude-patterns: |
31+
[
32+
"#.*/src/V[0-9]+#",
33+
"#.*/src/.*/V[0-9]+#",
34+
"#.*/(tests|samples|metadata)#",
35+
"vendor",
36+
"dev",
37+
"docs",
38+
"AccessContextManager/src/Type",
39+
"Asset/external",
40+
"BigQueryDataExchange/src/Common",
41+
"CommonProtos",
42+
"Core/src/Testing",
43+
"GSuiteAddOns/external",
44+
"OsLogin/src/Common",
45+
"LongRunning/src/ApiCore/LongRunning",
46+
"LongRunning/src/LongRunning",
47+
"Translate/src/Connection",
48+
"Translate/src/TranslateClient.php"
49+
]
50+
2451
staticanalysis:
2552
runs-on: ubuntu-latest
2653
name: PHPStan Static Analysis

.github/workflows/system-tests-pubsub-emulator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323

24-
- run: ./.github/emulator/start-emulator.sh pubsub 413.0.0-emulators
24+
- run: ./.github/emulator/start-emulator.sh pubsub
2525

2626
- name: Setup PHP
2727
uses: shivammathur/setup-php@v2

.github/workflows/system-tests-spanner-emulator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
services:
2020
emulator:
21-
image: gcr.io/cloud-spanner-emulator/emulator:1.5.25
21+
image: gcr.io/cloud-spanner-emulator/emulator:1.5.28
2222
ports:
2323
- 9010:9010
2424
- 9020:9020

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
platform: [ubuntu-latest, windows-latest]
15-
php: [ "8.0", "8.1", "8.2", "8.3" ]
15+
php: [ "8.0", "8.1", "8.2", "8.3", "8.4" ]
1616
extensions: ["grpc-1.54.0"]
1717
type: ["Unit Test"]
1818
include:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ keys/
1717
.testing
1818
.split
1919
__pycache__
20+
.vscode/

.kokoro/docs/docker/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ cachetools==5.4.0 \
88
--hash=sha256:3ae3b49a3d5e28a77a0be2b37dbcb89005058959cb2323858c2657c4a8cab474 \
99
--hash=sha256:b8adc2e7c07f105ced7bc56dbb6dfbe7c4a00acce20e2227b3f355be89bc6827
1010
# via google-auth
11-
certifi==2024.7.4 \
12-
--hash=sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b \
13-
--hash=sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90
11+
certifi==2025.1.31 \
12+
--hash=sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651 \
13+
--hash=sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe
1414
# via requests
1515
charset-normalizer==2.1.1 \
1616
--hash=sha256:5a3d016c7c547f69d6f81fb0db9449ce888b418b5b9952cc5e6e66843e9dd845 \
@@ -45,9 +45,9 @@ google-cloud-core==2.4.1 \
4545
--hash=sha256:9b7749272a812bde58fff28868d0c5e2f585b82f37e09a1f6ed2d4d10f134073 \
4646
--hash=sha256:a9e6a4422b9ac5c29f79a0ede9485473338e2ce78d91f2370c01e730eab22e61
4747
# via google-cloud-storage
48-
google-cloud-storage==2.18.0 \
49-
--hash=sha256:0aa3f7c57f3632f81b455d91558d2b27ada96eee2de3aaa17f689db1470d9578 \
50-
--hash=sha256:e8e1a9577952143c3fca8163005ecfadd2d70ec080fa158a8b305000e2c22fbb
48+
google-cloud-storage==3.0.0 \
49+
--hash=sha256:2accb3e828e584888beff1165e5f3ac61aa9088965eb0165794a82d8c7f95297 \
50+
--hash=sha256:f85fd059650d2dbb0ac158a9a6b304b66143b35ed2419afec2905ca522eb2c6a
5151
# via gcp-docuploader
5252
google-crc32c==1.5.0 \
5353
--hash=sha256:024894d9d3cfbc5943f8f230e23950cd4906b2fe004c72e29b209420a1e6b05a \

0 commit comments

Comments
 (0)