Skip to content

Commit a4c4e62

Browse files
committed
Merge remote-tracking branch 'origin' into prepare-for-v3.0.0
2 parents a147785 + 81b496f commit a4c4e62

File tree

2,136 files changed

+112980
-5093
lines changed

Some content is hidden

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

2,136 files changed

+112980
-5093
lines changed

.bazelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ build --experimental_convenience_symlinks=ignore
4242
# We mirror critical tarballs from several sources in case the canonical source
4343
# is temporarily unavailable, e.g., github.com being down. This option and flag
4444
# automatically rewrites the URLs.
45-
build --experimental_downloader_config=bazel/downloader.cfg
45+
# TODO(#15549) - re-enable once the downloader config is fixed.
46+
# build --experimental_downloader_config=bazel/downloader.cfg
4647

4748
# It is frustrating when long-running builds/tests fail, but it is even more
4849
# frustrating when they fail and don't give any output. So, remove the limit.

.gemini/styleguide.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
This repository mostly follows the Google C++ style guide found at
2+
https://google.github.io/styleguide/cppguide.html.
3+
4+
This repository differs from the Google C++ style guide in the following ways:
5+
6+
- supports C++14 as its minimum C++ standard version.
7+
- lists local includes first, then system includes.
8+
- uses std::mutex instead of absl::mutex.
9+
- uses google::cloud::future and google::cloud::promise instead of std::future
10+
and std::promise.
11+
- uses google::cloud::Status and google::cloud::StatusOr instead of absl::Status
12+
and absl::StatusOr.
13+
- prefers to factor out duplicated code if it appears 3 or more times in
14+
non-test files.
15+
- encourages duplication of salient setup and expectations in test cases to
16+
increase readability.
17+
18+
Do not make comments of suggestions on ordering of includes as a script formats
19+
them how we want.

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2626
- name: Checkout vcpkg
27-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2828
with:
2929
path: "build/vcpkg"
3030
repository: "microsoft/vcpkg"

.github/workflows/external-account-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id-token: write
2727

2828
steps:
29-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
29+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3030
with:
3131
ref: ${{ inputs.checkout-ref }}
3232
- id: auth

.github/workflows/macos-bazel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
targets:
3838
- //google/cloud/storage/...
3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5
4141
with:
4242
ref: ${{ inputs.checkout-ref }}
4343
- uses: google-github-actions/auth@v2

.github/workflows/macos-cmake.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- exclude-from-full-trick: ${{ ! inputs.full-matrix }}
6060
shard: Other
6161
steps:
62-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
62+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
6363
with:
6464
ref: ${{ inputs.checkout-ref }}
6565
- uses: google-github-actions/auth@v2
@@ -261,9 +261,26 @@ jobs:
261261
run: |
262262
# Remove the older CMake version
263263
brew unlink cmake
264+
265+
# Create a temporary local tap
266+
cd "${{runner.temp}}"
267+
mkdir -p user/homebrew-tap/Formula
268+
cd user/homebrew-tap
269+
git init
270+
264271
# Download the Homebrew formula for CMake==3.27.2
265272
curl -fsSL -o cmake.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/fd21fcf239bcd0231c9fed5719403ec128151af4/Formula/cmake.rb
266-
brew install cmake.rb
273+
mv cmake.rb ./Formula/
274+
275+
git add .
276+
git commit -m "Add CMake formula"
277+
278+
# Tap the local repository
279+
brew tap user/homebrew-tap "${{runner.temp}}/user/homebrew-tap"
280+
281+
# Uninstall existing CMake and install CMake from the local tap
282+
brew uninstall cmake
283+
brew install --build-from-source user/homebrew-tap/cmake
267284
- name: Download and Install sccache
268285
if: ${{ inputs.sccache-mode != 'DISABLED' }}
269286
working-directory: "${{runner.temp}}"

.github/workflows/test-runner.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,8 @@ jobs:
7777
# the additional jobs inherit any secrets needed to use the remote caches and
7878
# receive what version to checkout as an input.
7979
macos-bazel:
80-
# Build the full matrix only on push events to the default branch, or
81-
# when PR gets the has a `gha:full-build` label, or when it had the
82-
# label already and it gets a new commit.
83-
if: |-
84-
${{
85-
github.event_name == 'schedule' ||
86-
github.event_name == 'push' ||
87-
contains(github.event.pull_request.labels.*.name, 'gha:full-build')
88-
}}
80+
# Disabled
81+
if: false
8982
name: macOS-Bazel
9083
needs: [pre-flight]
9184
uses: ./.github/workflows/macos-bazel.yml
@@ -113,6 +106,8 @@ jobs:
113106
execute-integration-tests: true
114107
secrets: inherit
115108
macos-cmake:
109+
# Disabled
110+
if: false
116111
name: macOS-CMake
117112
needs: [pre-flight]
118113
uses: ./.github/workflows/macos-cmake.yml
@@ -132,6 +127,8 @@ jobs:
132127
execute-integration-tests: true
133128
secrets: inherit
134129
windows-cmake:
130+
# Disabled
131+
if: false
135132
name: Windows-CMake
136133
needs: [pre-flight]
137134
uses: ./.github/workflows/windows-cmake.yml
@@ -154,10 +151,10 @@ jobs:
154151
name: Notify-Google-Chat
155152
# Wait until all the other jobs have completed.
156153
needs:
157-
- macos-bazel
158-
- macos-cmake
154+
# macos-bazel is disabled
155+
# macos-cmake is disabled
159156
- windows-bazel
160-
- windows-cmake
157+
# windows-cmake is disabled is disabled
161158
# Run even if the other jobs failed or were skipped.
162159
if: always()
163160
runs-on: ubuntu-latest

.github/workflows/windows-bazel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
targets:
4141
- //google/cloud/storage/...
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v5
4444
with:
4545
ref: ${{ inputs.checkout-ref }}
4646
- uses: google-github-actions/auth@v2

.github/workflows/windows-cmake.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- shard: Core4
6666
build_type: Debug
6767
steps:
68-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
68+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
6969
with:
7070
ref: ${{ inputs.checkout-ref }}
7171
- uses: google-github-actions/auth@v2
@@ -85,11 +85,11 @@ jobs:
8585
shell: bash
8686
run: |
8787
echo "vcpkg-version=$(cat ci/etc/vcpkg-version.txt)" >> "${GITHUB_OUTPUT}"
88-
core1_features=(bigtable)
89-
core2_features=(spanner)
90-
core3_features=(storage)
91-
core4_features=(storage_grpc)
92-
core5_features=(pubsub pubsublite)
88+
core1_features=(bigtable universe_domain)
89+
core2_features=(spanner universe_domain)
90+
core3_features=(storage universe_domain)
91+
core4_features=(storage_grpc universe_domain)
92+
core5_features=(pubsub pubsublite universe_domain)
9393
# These are the libraries with the most "clients". To build the list
9494
# run something like this and create shards:
9595
#
@@ -107,6 +107,7 @@ jobs:
107107
sql
108108
dialogflow_cx
109109
dialogflow_es
110+
universe_domain
110111
)
111112
shard2_features=(
112113
beyondcorp
@@ -119,6 +120,7 @@ jobs:
119120
servicecontrol
120121
speech
121122
support
123+
universe_domain
122124
)
123125
shard3_features=(
124126
securesourcemanager
@@ -164,6 +166,7 @@ jobs:
164166
trace
165167
vision
166168
workflows
169+
universe_domain
167170
)
168171
shard4_features=(
169172
accessapproval
@@ -203,6 +206,7 @@ jobs:
203206
gkebackup
204207
gkeconnect
205208
gkehub
209+
universe_domain
206210
)
207211
shard5_features=(
208212
video
@@ -216,6 +220,7 @@ jobs:
216220
bigquery
217221
bigquerycontrol
218222
resourcemanager
223+
universe_domain
219224
)
220225
if [[ "${{ matrix.shard }}" == "Core1" ]]; then
221226
features="$(printf ",%s" "${core1_features[@]}")"

.typos.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ extend-exclude = [
6060
"docfx/doxygen2toc_test.cc",
6161
# If we're using a post-download patch file for googleapis.
6262
"external/googleapis.patch",
63+
# Mispelled test names in Bigtable conformance tests
64+
"google/cloud/bigtable/ci/run_conformance_tests_proxy_bazel.sh",
6365
]
6466

6567
[default]
@@ -70,5 +72,7 @@ extend-ignore-identifiers-re = [
7072
"NAM4",
7173
# Metadata is mispelled in this proto message name found in
7274
# google/cloud/aiplatform/v1/vizier_service.proto
73-
"CheckTrialEarlyStoppingStateMetatdata"
75+
"CheckTrialEarlyStoppingStateMetatdata",
76+
# google/cloud/cloudsecuritycompliance/v1/deployment.proto
77+
"conrol"
7478
]

0 commit comments

Comments
 (0)