aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorckl <ckl@google.com>2022-04-08 10:40:54 -0700
committerCopybara-Service <copybara-worker@google.com>2022-04-08 10:41:40 -0700
commitcb814f1e1b69caf6211046bee083a730625a3cf9 (patch)
treed393a8ce9b8ff70f9d3f74f54879348b61f1e249
parentfc145cd30624f3ebff2e36363944890bb9be9738 (diff)
downloadtink-emu-33-release.tar.gz
Update cd command to work in both tink and tink-release CI contexts. PiperOrigin-RevId: 440400905
-rwxr-xr-xkokoro/continuous-release.sh27
-rwxr-xr-xkokoro/run_tests.sh2
2 files changed, 1 insertions, 28 deletions
diff --git a/kokoro/continuous-release.sh b/kokoro/continuous-release.sh
deleted file mode 100755
index 58548e2b1..000000000
--- a/kokoro/continuous-release.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-# Copyright 2017 Google Inc.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-####################################################################################
-
-# Fail on any error.
-set -e
-
-# Display commands to stderr.
-set -x
-
-# Change to the root directory of the repository.
-cd git*/tink-release
-
-source ./kokoro/run_tests.sh
diff --git a/kokoro/run_tests.sh b/kokoro/run_tests.sh
index dd42f37cd..a24fc987e 100755
--- a/kokoro/run_tests.sh
+++ b/kokoro/run_tests.sh
@@ -205,7 +205,7 @@ test_maven_packages() {
main() {
# Initialization for Kokoro environments.
if [[ -n "${KOKORO_ROOT}" ]]; then
- cd "${KOKORO_ARTIFACTS_DIR}"/git*/tink
+ cd "${KOKORO_ARTIFACTS_DIR}"/git*/tink*
use_bazel.sh $(cat .bazelversion)