...
1#!/bin/bash
2
3# Copyright 2022 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
7# Fail on any error
8set -eo pipefail
9
10export GITHUB_ACCESS_TOKEN=$(cat $KOKORO_KEYSTORE_DIR/73713_yoshi-automation-github-key)
11
12# Display commands being run
13set -x
14
15# cd to project dir on Kokoro instance
16cd github/google-api-go-client
17export DISCOVERY_DIR=$(pwd)
18git config --global --add safe.directory $PWD
19
20cd internal/kokoro/discogen
21go run google.golang.org/api/internal/kokoro/discogen
View as plain text