File tree Expand file tree Collapse file tree 3 files changed +60
-0
lines changed
Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Copyright 2021 Google LLC
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+
17+ set -eu
18+
19+ source " $( dirname " $0 " ) /../../lib/init.sh"
20+ source module ci/cloudbuild/builds/lib/bazel.sh
21+ source module ci/cloudbuild/builds/lib/integration.sh
22+
23+ export CC=clang
24+ export CXX=clang++
25+
26+ mapfile -t args < <( bazel::common_args)
27+ bazel test " ${args[@]} " --test_tag_filters=-integration-test google/cloud/storage/...
28+
29+ mapfile -t integration_args < <( integration::args)
30+ # "media" says to use the hybrid gRPC/REST client. For more details see
31+ # https://github.com/googleapis/google-cloud-cpp/issues/6268
32+ GOOGLE_CLOUD_CPP_STORAGE_GRPC_CONFIG=media # Uses the gRPC data plane
33+ io::log_h2 " Running Storage integration tests (with emulator)"
34+ google/cloud/storage/ci/run_integration_tests_emulator_bazel.sh \
35+ bazel test " ${args[@]} " " ${integration_args[@]} "
Original file line number Diff line number Diff line change 1+ filename : ci/cloudbuild/cloudbuild.yaml
2+ github :
3+ name : google-cloud-cpp
4+ owner : googleapis
5+ push :
6+ branch : ^(master|main|v\d+\..*)$
7+ name : gcs-grpc-ci
8+ substitutions :
9+ _BUILD_NAME : gcs-grpc
10+ _DISTRO : fedora
11+ tags :
12+ - ci
Original file line number Diff line number Diff line change 1+ filename : ci/cloudbuild/cloudbuild.yaml
2+ github :
3+ name : google-cloud-cpp
4+ owner : googleapis
5+ pullRequest :
6+ branch : ^(master|main|v\d+\..*)$
7+ commentControl : COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
8+ name : gcs-grpc-pr
9+ substitutions :
10+ _BUILD_NAME : gcs-grpc
11+ _DISTRO : fedora
12+ tags :
13+ - pr
You can’t perform that action at this time.
0 commit comments