You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/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.
|
|
|
|
|
|
|
|
# Fail on error
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Change to repo root
|
|
|
|
cd $(dirname $0)/../../..
|
|
|
|
|
|
|
|
export DOCKERHUB_ORGANIZATION=protobuftesting
|
|
|
|
# The image of the Dockerfile sha1 is fetched from the organization
|
|
|
|
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/java_stretch
|
|
|
|
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh
|
|
|
|
export OUTPUT_DIR=testoutput
|
|
|
|
export TEST_SET="java_jdk17"
|
|
|
|
./kokoro/linux/build_and_run_docker.sh
|