From 218e944e161013a0d742c875996032eef047dff2 Mon Sep 17 00:00:00 2001 From: zpencer Date: Wed, 25 Apr 2018 14:12:06 -0700 Subject: [PATCH] buildscripts: initial kokoro config for auto releasing artifacts (#4391) The script does nothing at the moment other than set up the kokoro job. --- buildscripts/kokoro/release_artifacts.cfg | 11 +++++++++++ buildscripts/kokoro/release_artifacts.sh | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 buildscripts/kokoro/release_artifacts.cfg create mode 100755 buildscripts/kokoro/release_artifacts.sh diff --git a/buildscripts/kokoro/release_artifacts.cfg b/buildscripts/kokoro/release_artifacts.cfg new file mode 100644 index 0000000000..e2e8313326 --- /dev/null +++ b/buildscripts/kokoro/release_artifacts.cfg @@ -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/**"] + } +} diff --git a/buildscripts/kokoro/release_artifacts.sh b/buildscripts/kokoro/release_artifacts.sh new file mode 100755 index 0000000000..ebd72f6237 --- /dev/null +++ b/buildscripts/kokoro/release_artifacts.sh @@ -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