From b5975c109aeb3d4f77d662e7b7222b87c653c69d Mon Sep 17 00:00:00 2001 From: Feng Xiao Date: Wed, 11 Jul 2018 16:34:58 -0700 Subject: [PATCH] Add kokoro bazel configs for 3.6.x branch. --- kokoro/linux/bazel/build.sh | 12 ++++++++++++ kokoro/linux/bazel/continuous.cfg | 5 +++++ kokoro/linux/bazel/presubmit.cfg | 5 +++++ 3 files changed, 22 insertions(+) create mode 100755 kokoro/linux/bazel/build.sh create mode 100644 kokoro/linux/bazel/continuous.cfg create mode 100644 kokoro/linux/bazel/presubmit.cfg diff --git a/kokoro/linux/bazel/build.sh b/kokoro/linux/bazel/build.sh new file mode 100755 index 0000000000..e0c1ee42d3 --- /dev/null +++ b/kokoro/linux/bazel/build.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# +# Build file to set up and run tests + +# Change to repo root +cd $(dirname $0)/../../.. + +git submodule update --init --recursive +bazel test :protobuf_test + +cd examples +bazel build :all diff --git a/kokoro/linux/bazel/continuous.cfg b/kokoro/linux/bazel/continuous.cfg new file mode 100644 index 0000000000..13cfef1583 --- /dev/null +++ b/kokoro/linux/bazel/continuous.cfg @@ -0,0 +1,5 @@ +# Config file for running tests in Kokoro + +# Location of the build script in repository +build_file: "protobuf/kokoro/linux/bazel/build.sh" +timeout_mins: 15 diff --git a/kokoro/linux/bazel/presubmit.cfg b/kokoro/linux/bazel/presubmit.cfg new file mode 100644 index 0000000000..13cfef1583 --- /dev/null +++ b/kokoro/linux/bazel/presubmit.cfg @@ -0,0 +1,5 @@ +# Config file for running tests in Kokoro + +# Location of the build script in repository +build_file: "protobuf/kokoro/linux/bazel/build.sh" +timeout_mins: 15