...
1#!/bin/bash
2
3# Copyright 2018 Google LLC.
4# Use of this source code is governed by a BSD-style
5# license that can be found in the LICENSE file.
6
7set -eo pipefail
8# Always run the cleanup script, regardless of the success of bouncing into
9# the container.
10function cleanup() {
11 chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh
12 ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh
13 echo "cleanup";
14}
15trap cleanup EXIT
16$(dirname $0)/populate-secrets.sh # Secret Manager secrets.
17python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py"
View as plain text