Delete Kokoro non-Linux Bazel tests in favor of GHA.

These have already been migrated, this just deleted dead code

PiperOrigin-RevId: 506712851
pull/11784/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent 322df1b2ea
commit 0e81135b0b
  1. 17
      kokoro/macos/cpp/build.sh
  2. 27
      kokoro/macos/cpp/common.cfg
  3. 1
      kokoro/macos/cpp/continuous.cfg
  4. 1
      kokoro/macos/cpp/presubmit.cfg
  5. 19
      kokoro/windows/bazel/build.bat
  6. 27
      kokoro/windows/bazel/common.cfg
  7. 1
      kokoro/windows/bazel/continuous.cfg
  8. 1
      kokoro/windows/bazel/presubmit.cfg

@ -1,17 +0,0 @@
#!/bin/bash
#
# Build file to set up and run tests
set -eux
set -o pipefail
# Run from the project root directory.
cd $(dirname $0)/../../..
# Prepare worker environment to run tests
source kokoro/macos/prepare_build_macos_rc
#
# Run build
#
bazel test $(kokoro/common/bazel_flags.sh) //src/...

@ -1,27 +0,0 @@
# Config file for running tests in Kokoro
# Location of the build script in repository
build_file: "protobuf/kokoro/macos/cpp/build.sh"
timeout_mins: 1440
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 77103
keyname: "kokoro_gcp_service"
}
}
}
bazel_setting {
project_id: "protobuf-build"
bes_backend_address: "buildeventservice.googleapis.com"
foundry_backend_address: "remotebuildexecution.googleapis.com"
upsalite_frontend_address: "https://source.cloud.google.com"
local_execution: true
# Need to be same as the fetch_keystore entry in the previous step.
auth_credential: {
keystore_config_id: 77103
keyname: "kokoro_gcp_service"
}
}

@ -1 +0,0 @@
# Keep this file empty! Use common.cfg instead.

@ -1 +0,0 @@
# Keep this file empty! Use common.cfg instead.

@ -1,19 +0,0 @@
@rem enter repo root
cd /d %~dp0\..\..\..
call kokoro\windows\prepare_build_win64.bat || goto :error
@rem Build libraries first.
bazel %BAZEL_STARTUP% build //:protoc //:protobuf //:protobuf_lite %BAZEL_FLAGS% || goto :error
@rem Run C++ tests.
@rem TODO(b/241484899) Enable conformance tests on windows.
bazel %BAZEL_STARTUP% test %BAZEL_FLAGS% ^
--test_tag_filters=-conformance --build_tag_filters=-conformance ^
//src/... @com_google_protobuf_examples//... || goto :error
goto :EOF
:error
echo Failed!
exit /b 1

@ -1,27 +0,0 @@
# Config file for running tests in Kokoro
# Location of the build script in repository
build_file: "protobuf/kokoro/windows/bazel/build.bat"
timeout_mins: 1440
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 77103
keyname: "kokoro_gcp_service"
}
}
}
bazel_setting {
project_id: "protobuf-build"
bes_backend_address: "buildeventservice.googleapis.com"
foundry_backend_address: "remotebuildexecution.googleapis.com"
upsalite_frontend_address: "https://source.cloud.google.com"
local_execution: true
# Need to be same as the fetch_keystore entry in the previous step.
auth_credential: {
keystore_config_id: 77103
keyname: "kokoro_gcp_service"
}
}

@ -1 +0,0 @@
# Keep this file empty! Use common.cfg instead.

@ -1 +0,0 @@
# Keep this file empty! Use common.cfg instead.
Loading…
Cancel
Save