Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
continuous/ | H | 25-Apr-2025 | - | 174 | 121 | |
nightly/ | H | 25-Apr-2025 | - | 194 | 151 | |
presubmit/ | H | 25-Apr-2025 | - | 304 | 238 | |
release/ | H | 25-Apr-2025 | - | 548 | 320 | |
build.bat | H A D | 25-Apr-2025 | 801 | 19 | 17 | |
build.sh | H A D | 25-Apr-2025 | 3.6 KiB | 136 | 97 | |
coerce_logs.sh | H A D | 25-Apr-2025 | 1.2 KiB | 38 | 14 | |
common.cfg | H A D | 25-Apr-2025 | 466 | 14 | 10 | |
common.sh | H A D | 25-Apr-2025 | 1.5 KiB | 60 | 30 | |
dependencies.sh | H A D | 25-Apr-2025 | 1.7 KiB | 60 | 27 | |
downstream-client-library-check.sh | H A D | 25-Apr-2025 | 2.8 KiB | 101 | 56 | |
populate-secrets.sh | H A D | 25-Apr-2025 | 1.5 KiB | 44 | 23 | |
readme.sh | H A D | 25-Apr-2025 | 1.5 KiB | 46 | 19 | |
requirements.in | H A D | 25-Apr-2025 | 139 | 6 | 6 | |
requirements.txt | H A D | 25-Apr-2025 | 33.4 KiB | 492 | 490 | |
trampoline.sh | H A D | 25-Apr-2025 | 967 | 27 | 9 |
readme.sh
1#!/bin/bash 2# Copyright 2020 Google LLC 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15 16set -eo pipefail 17 18cd ${KOKORO_ARTIFACTS_DIR}/github/google-auth-library-java 19 20# Disable buffering, so that the logs stream through. 21export PYTHONUNBUFFERED=1 22 23# Kokoro exposes this as a file, but the scripts expect just a plain variable. 24export GITHUB_TOKEN=$(cat ${KOKORO_KEYSTORE_DIR}/73713_yoshi-automation-github-key) 25 26# Setup git credentials 27echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials 28git config --global credential.helper 'store --file ~/.git-credentials' 29 30python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool 31 32set +e 33python3.6 -m autosynth.synth \ 34 --repository=googleapis/google-auth-library-java \ 35 --synth-file-name=.github/readme/synth.py \ 36 --metadata-path=.github/readme/synth.metadata \ 37 --pr-title="chore: regenerate README" \ 38 --branch-suffix="readme" 39 40# autosynth returns 28 to signal there are no changes 41RETURN_CODE=$? 42if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]] 43then 44 exit ${RETURN_CODE} 45fi 46