buildscripts: initial kokoro config for auto releasing artifacts (#4391)

The script does nothing at the moment other than set up the kokoro
job.
This commit is contained in:
zpencer 2018-04-25 14:12:06 -07:00 committed by GitHub
parent 7cd2f5c3c0
commit 218e944e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# Config file for internal CI
# Location of the continuous shell script in repository.
build_file: "grpc-java/buildscripts/kokoro/release_artifacts.sh"
timeout_mins: 60
action {
define_artifacts {
regex: ["**/mvn-artifacts/**"]
}
}

View File

@ -0,0 +1,10 @@
#!/bin/bash
set -veux -o pipefail
if [[ -f /VERSION ]]; then
cat /VERSION
fi
readonly GRPC_JAVA_DIR=$(cd $(dirname $0)/../.. && pwd)
# A place holder at the moment