ADD: added new version of protobuf
This commit is contained in:
18
libs/protobuf/kokoro/linux/jruby93/build.sh
Executable file
18
libs/protobuf/kokoro/linux/jruby93/build.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This is the top-level script we give to Kokoro as the entry point for
|
||||
# running the "pull request" project:
|
||||
#
|
||||
# This script selects a specific Dockerfile (for building a Docker image) and
|
||||
# a script to run inside that image. Then we delegate to the general
|
||||
# build_and_run_docker.sh script.
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
export DOCKERHUB_ORGANIZATION=protobuftesting
|
||||
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/ruby
|
||||
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh
|
||||
export OUTPUT_DIR=testoutput
|
||||
export TEST_SET="jruby93"
|
||||
./kokoro/linux/build_and_run_docker.sh
|
||||
@@ -1,26 +0,0 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/linux/bazel.sh"
|
||||
timeout_mins: 120
|
||||
|
||||
env_vars {
|
||||
key: "CONTAINER_IMAGE"
|
||||
value: "gcr.io/protobuf-build/ruby/linux:jruby-9.3.4.0-64e8944e4f18d7d6c9649112a8a93be57e693cd8"
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "BAZEL_TARGETS"
|
||||
value: "//ruby/..."
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "BAZEL_EXTRA_FLAGS"
|
||||
value: "--define=ruby_platform=java"
|
||||
}
|
||||
|
||||
action {
|
||||
define_artifacts {
|
||||
regex: "**/sponge_log.*"
|
||||
}
|
||||
}
|
||||
@@ -1 +1,11 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/linux/jruby93/build.sh"
|
||||
timeout_mins: 120
|
||||
|
||||
action {
|
||||
define_artifacts {
|
||||
regex: "**/sponge_log.xml"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1,11 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/linux/jruby93/build.sh"
|
||||
timeout_mins: 120
|
||||
|
||||
action {
|
||||
define_artifacts {
|
||||
regex: "**/sponge_log.xml"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user