-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test in Ruby 2.7 * Turn off GC.stress for 'require' in Ruby 2.7 * Backport 2c8364b to compatibility_tests/v3.0.0
- Loading branch information
Showing
11 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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="ruby27" | ||
./kokoro/linux/build_and_run_docker.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/linux/ruby27/build.sh" | ||
timeout_mins: 120 | ||
|
||
action { | ||
define_artifacts { | ||
regex: "**/sponge_log.xml" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/linux/ruby27/build.sh" | ||
timeout_mins: 120 | ||
|
||
action { | ||
define_artifacts { | ||
regex: "**/sponge_log.xml" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
# | ||
# Build file to set up and run tests | ||
|
||
# Change to repo root | ||
cd $(dirname $0)/../../.. | ||
|
||
# Prepare worker environment to run tests | ||
source kokoro/macos/prepare_build_macos_rc | ||
|
||
./tests.sh ruby27 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/macos/ruby27/build.sh" | ||
timeout_mins: 1440 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/macos/ruby27/build.sh" | ||
timeout_mins: 1440 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -919,6 +919,7 @@ Usage: $0 { cpp | | |
ruby24 | | ||
ruby25 | | ||
ruby26 | | ||
ruby27 | | ||
jruby | | ||
ruby_all | | ||
php5.5 | | ||
|