Skip to content

Commit

Permalink
retire the linux grpc_portability_build_only in favor of bazelified t…
Browse files Browse the repository at this point in the history
…ests
  • Loading branch information
jtattermusch committed Sep 18, 2023
1 parent a5965b6 commit c5f8c00
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
7 changes: 1 addition & 6 deletions tools/internal_ci/linux/grpc_portability_build_only.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
# Config file for the internal CI (in protobuf text format)

# Location of the continuous shell script in repository.
build_file: "grpc/tools/internal_ci/linux/grpc_run_tests_matrix.sh"
build_file: "grpc/tools/internal_ci/linux/grpc_portability_build_only.sh"
timeout_mins: 180
action {
define_artifacts {
regex: "**/*sponge_log.*"
regex: "github/grpc/reports/**"
}
}

env_vars {
key: "RUN_TESTS_FLAGS"
value: "-f portability linux c++ --inner_jobs 32 -j 1 --internal_ci --build_only"
}
28 changes: 28 additions & 0 deletions tools/internal_ci/linux/grpc_portability_build_only.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash
# Copyright 2023 The gRPC Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -ex

# avoid slow finalization after the script has exited.
source $(dirname $0)/../../../tools/internal_ci/helper_scripts/move_src_tree_and_respawn_itself_rc

# change to grpc repo root
cd $(dirname $0)/../../..

source tools/internal_ci/helper_scripts/prepare_build_linux_rc

echo "The grpc_portability_build_only job on linux has been deprecated and is now a no-op."
echo "The portability tests in 'build_only' mode are running as bazelified tests under tools/bazelify_tests."
echo "Note that the grpc_portability job still runs on master (but not on PRs)."

0 comments on commit c5f8c00

Please sign in to comment.