Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 5de1123

Browse files
committed
feat: regenerate initial version
feat: regenerate initial version
1 parent 70fae93 commit 5de1123

File tree

80 files changed

+18907
-894
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+18907
-894
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Thanks for stopping by to let us know something could be better!
1010

1111
Please run down the following list and make sure you've tried the usual "quick fixes":
1212

13-
- Search the issues already opened: https://github.com/googleapis/cloudbuild/issues
13+
- Search the issues already opened: https://github.com/googleapis/java-cloudbuild/issues
1414
- Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform
1515

1616
If you are still having issues, please include as much information as possible:
@@ -48,4 +48,4 @@ Any relevant stacktrace here.
4848

4949
Following these steps guarantees the quickest resolution possible.
5050

51-
Thanks!
51+
Thanks!

.github/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
releaseType: java-yoshi

.gitignore

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,32 @@
1-
# Maven
2-
target/
1+
.gitignore
32

4-
# Eclipse
5-
.classpath
3+
# Packages
4+
dist
5+
bin
6+
var
7+
sdist
8+
target
9+
10+
# Unit test / coverage reports
11+
.coverage
12+
.tox
13+
nosetests.xml
14+
15+
# Translations
16+
*.mo
17+
18+
# Mr Developer
19+
.mr.developer.cfg
620
.project
21+
.pydevproject
22+
*.iml
23+
.idea
724
.settings
25+
.DS_Store
26+
.classpath
827

9-
# Intellij
10-
*.iml
11-
.idea/
28+
# Built documentation
29+
docs/
1230

13-
# python utilities
31+
# Python utilities
1432
*.pyc
15-
__pycache__

.kokoro/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ case ${JOB_TYPE} in
3939
test)
4040
mvn test -B
4141
bash ${KOKORO_GFILE_DIR}/codecov.sh
42+
bash .kokoro/coerce_logs.sh
4243
;;
4344
lint)
4445
mvn com.coveo:fmt-maven-plugin:check
@@ -48,6 +49,7 @@ javadoc)
4849
;;
4950
integration)
5051
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -fae verify
52+
bash .kokoro/coerce_logs.sh
5153
;;
5254
*)
5355
;;

.kokoro/coerce_logs.sh

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/bash
2+
# Copyright 2019 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+
16+
# This script finds and moves sponge logs so that they can be found by placer
17+
# and are not flagged as flaky by sponge.
18+
19+
set -eo pipefail
20+
21+
## Get the directory of the build script
22+
scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
23+
## cd to the parent directory, i.e. the root of the git repo
24+
cd ${scriptDir}/..
25+
26+
job=$(basename ${KOKORO_JOB_NAME})
27+
28+
echo "coercing sponge logs..."
29+
for xml in `find . -name *-sponge_log.xml`
30+
do
31+
echo "processing ${xml}"
32+
class=$(basename ${xml} | cut -d- -f2)
33+
dir=$(dirname ${xml})/${job}/${class}
34+
text=$(dirname ${xml})/${class}-sponge_log.txt
35+
mkdir -p ${dir}
36+
mv ${xml} ${dir}/sponge_log.xml
37+
mv ${text} ${dir}/sponge_log.txt
38+
done

.kokoro/continuous/common.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
action {
55
define_artifacts {
66
regex: "**/*sponge_log.xml"
7+
regex: "**/*sponge_log.txt"
78
}
89
}
910

.kokoro/nightly/common.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
action {
55
define_artifacts {
66
regex: "**/*sponge_log.xml"
7+
regex: "**/*sponge_log.txt"
78
}
89
}
910

.kokoro/presubmit/common.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
action {
55
define_artifacts {
66
regex: "**/*sponge_log.xml"
7+
regex: "**/*sponge_log.txt"
78
}
89
}
910

.kokoro/release/snapshot.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ source $(dirname "$0")/common.sh
1919
MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml
2020
pushd $(dirname "$0")/../../
2121

22+
# ensure we're trying to push a snapshot (no-result returns non-zero exit code)
23+
grep SNAPSHOT versions.txt
24+
2225
setup_environment_secrets
2326
create_settings_xml_file "settings.xml"
2427

@@ -27,4 +30,4 @@ mvn clean install deploy -B \
2730
-DperformRelease=true \
2831
-Dgpg.executable=gpg \
2932
-Dgpg.passphrase=${GPG_PASSPHRASE} \
30-
-Dgpg.homedir=${GPG_HOMEDIR}
33+
-Dgpg.homedir=${GPG_HOMEDIR}

.kokoro/release/stage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ create_settings_xml_file "settings.xml"
2828

2929
mvn clean install deploy -B \
3030
--settings ${MAVEN_SETTINGS_FILE} \
31+
-DskipTests=true \
3132
-DperformRelease=true \
3233
-Dgpg.executable=gpg \
3334
-Dgpg.passphrase=${GPG_PASSPHRASE} \

0 commit comments

Comments
 (0)