Skip to content
Permalink
Browse files
feat: initial generation
  • Loading branch information
chingor13 committed Mar 13, 2020
0 parents commit 2426c7f14b3eee51f1e6f174c255553db1677d4b
Showing with 41,518 additions and 0 deletions.
  1. +51 −0 .github/ISSUE_TEMPLATE/bug_report.md
  2. +21 −0 .github/ISSUE_TEMPLATE/feature_request.md
  3. +7 −0 .github/ISSUE_TEMPLATE/support_request.md
  4. +1 −0 .github/PULL_REQUEST_TEMPLATE.md
  5. +2 −0 .github/release-please.yml
  6. +15 −0 .gitignore
  7. +3 −0 .kokoro/build.bat
  8. +108 −0 .kokoro/build.sh
  9. +38 −0 .kokoro/coerce_logs.sh
  10. +13 −0 .kokoro/common.cfg
  11. +25 −0 .kokoro/continuous/common.cfg
  12. +12 −0 .kokoro/continuous/dependencies.cfg
  13. +7 −0 .kokoro/continuous/integration.cfg
  14. +7 −0 .kokoro/continuous/java11.cfg
  15. +7 −0 .kokoro/continuous/java7.cfg
  16. +3 −0 .kokoro/continuous/java8-osx.cfg
  17. +3 −0 .kokoro/continuous/java8-win.cfg
  18. +12 −0 .kokoro/continuous/java8.cfg
  19. +13 −0 .kokoro/continuous/lint.cfg
  20. +53 −0 .kokoro/continuous/propose_release.cfg
  21. +29 −0 .kokoro/continuous/propose_release.sh
  22. +31 −0 .kokoro/continuous/samples.cfg
  23. +31 −0 .kokoro/dependencies.sh
  24. +38 −0 .kokoro/linkage-monitor.sh
  25. +25 −0 .kokoro/nightly/common.cfg
  26. +12 −0 .kokoro/nightly/dependencies.cfg
  27. +21 −0 .kokoro/nightly/integration.cfg
  28. +7 −0 .kokoro/nightly/java11.cfg
  29. +7 −0 .kokoro/nightly/java7.cfg
  30. +3 −0 .kokoro/nightly/java8-osx.cfg
  31. +3 −0 .kokoro/nightly/java8-win.cfg
  32. +12 −0 .kokoro/nightly/java8.cfg
  33. +13 −0 .kokoro/nightly/lint.cfg
  34. +36 −0 .kokoro/nightly/samples.cfg
  35. +13 −0 .kokoro/presubmit/clirr.cfg
  36. +34 −0 .kokoro/presubmit/common.cfg
  37. +12 −0 .kokoro/presubmit/dependencies.cfg
  38. +31 −0 .kokoro/presubmit/integration.cfg
  39. +7 −0 .kokoro/presubmit/java11.cfg
  40. +7 −0 .kokoro/presubmit/java7.cfg
  41. +3 −0 .kokoro/presubmit/java8-osx.cfg
  42. +3 −0 .kokoro/presubmit/java8-win.cfg
  43. +12 −0 .kokoro/presubmit/java8.cfg
  44. +12 −0 .kokoro/presubmit/linkage-monitor.cfg
  45. +13 −0 .kokoro/presubmit/lint.cfg
  46. +31 −0 .kokoro/presubmit/samples.cfg
  47. +53 −0 .kokoro/release/bump_snapshot.cfg
  48. +30 −0 .kokoro/release/bump_snapshot.sh
  49. +49 −0 .kokoro/release/common.cfg
  50. +50 −0 .kokoro/release/common.sh
  51. +6 −0 .kokoro/release/drop.cfg
  52. +32 −0 .kokoro/release/drop.sh
  53. +6 −0 .kokoro/release/promote.cfg
  54. +34 −0 .kokoro/release/promote.sh
  55. +19 −0 .kokoro/release/publish_javadoc.cfg
  56. +55 −0 .kokoro/release/publish_javadoc.sh
  57. +6 −0 .kokoro/release/snapshot.cfg
  58. +33 −0 .kokoro/release/snapshot.sh
  59. +44 −0 .kokoro/release/stage.cfg
  60. +42 −0 .kokoro/release/stage.sh
  61. +24 −0 .kokoro/trampoline.sh
  62. +14 −0 .repo-metadata.json
  63. +93 −0 CODE_OF_CONDUCT.md
  64. +130 −0 CONTRIBUTING.md
  65. +202 −0 LICENSE
  66. +163 −0 README.md
  67. +4 −0 codecov.yaml
  68. +93 −0 google-cloud-servicedirectory-bom/pom.xml
  69. +105 −0 google-cloud-servicedirectory/pom.xml
  70. +227 −0 ...servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceClient.java
  71. +181 −0 ...rvicedirectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceSettings.java
  72. +2,107 −0 ...edirectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceClient.java
  73. +373 −0 ...irectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceSettings.java
  74. +71 −0 ...-cloud-servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/package-info.java
  75. +115 −0 ...rc/main/java/com/google/cloud/servicedirectory/v1beta1/stub/GrpcLookupServiceCallableFactory.java
  76. +156 −0 ...directory/src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/GrpcLookupServiceStub.java
  77. +115 −0 ...n/java/com/google/cloud/servicedirectory/v1beta1/stub/GrpcRegistrationServiceCallableFactory.java
  78. +738 −0 ...ory/src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/GrpcRegistrationServiceStub.java
  79. +41 −0 ...vicedirectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/LookupServiceStub.java
  80. +274 −0 ...ctory/src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/LookupServiceStubSettings.java
  81. +153 −0 ...rectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/RegistrationServiceStub.java
  82. +889 −0 ...src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/RegistrationServiceStubSettings.java
  83. +121 −0 ...icedirectory/src/test/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceClientTest.java
  84. +57 −0 ...d-servicedirectory/src/test/java/com/google/cloud/servicedirectory/v1beta1/MockLookupService.java
  85. +73 −0 ...rvicedirectory/src/test/java/com/google/cloud/servicedirectory/v1beta1/MockLookupServiceImpl.java
  86. +57 −0 ...icedirectory/src/test/java/com/google/cloud/servicedirectory/v1beta1/MockRegistrationService.java
  87. +330 −0 ...irectory/src/test/java/com/google/cloud/servicedirectory/v1beta1/MockRegistrationServiceImpl.java
  88. +895 −0 ...ectory/src/test/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceClientTest.java
  89. +60 −0 grpc-google-cloud-servicedirectory-v1beta1/pom.xml
  90. +363 −0 ...edirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceGrpc.java
  91. +2,397 −0 ...tory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceGrpc.java
  92. +15 −0 java.header
  93. +10 −0 license-checks.xml
  94. +262 −0 pom.xml
  95. +37 −0 proto-google-cloud-servicedirectory-v1beta1/pom.xml
  96. +1,175 −0 ...ectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/CreateEndpointRequest.java
  97. +132 −0 ...beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/CreateEndpointRequestOrBuilder.java
  98. +1,182 −0 ...ctory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/CreateNamespaceRequest.java
  99. +134 −0 ...eta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/CreateNamespaceRequestOrBuilder.java
  100. +1,174 −0 ...rectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/CreateServiceRequest.java
  101. +132 −0 ...1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/CreateServiceRequestOrBuilder.java
  102. +656 −0 ...ectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/DeleteEndpointRequest.java
  103. +54 −0 ...beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/DeleteEndpointRequestOrBuilder.java
  104. +656 −0 ...ctory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/DeleteNamespaceRequest.java
  105. +54 −0 ...eta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/DeleteNamespaceRequestOrBuilder.java
  106. +655 −0 ...rectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/DeleteServiceRequest.java
  107. +54 −0 ...1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/DeleteServiceRequestOrBuilder.java
  108. +1,317 −0 ...ud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/Endpoint.java
  109. +277 −0 ...ervicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/EndpointName.java
  110. +173 −0 ...edirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/EndpointOrBuilder.java
  111. +104 −0 ...rvicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/EndpointProto.java
  112. +656 −0 ...directory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/GetEndpointRequest.java
  113. +54 −0 ...-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/GetEndpointRequestOrBuilder.java
  114. +653 −0 ...irectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/GetNamespaceRequest.java
  115. +54 −0 ...v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/GetNamespaceRequestOrBuilder.java
  116. +653 −0 ...edirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/GetServiceRequest.java
  117. +54 −0 ...y-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/GetServiceRequestOrBuilder.java
  118. +1,442 −0 ...rectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListEndpointsRequest.java
  119. +190 −0 ...1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListEndpointsRequestOrBuilder.java
  120. +1,147 −0 ...ectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListEndpointsResponse.java
  121. +104 −0 ...beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListEndpointsResponseOrBuilder.java
  122. +1,471 −0 ...ectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListNamespacesRequest.java
  123. +198 −0 ...beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListNamespacesRequestOrBuilder.java
  124. +1,148 −0 ...ctory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListNamespacesResponse.java
  125. +104 −0 ...eta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListNamespacesResponseOrBuilder.java
  126. +1,426 −0 ...irectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListServicesRequest.java
  127. +186 −0 ...v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListServicesRequestOrBuilder.java
  128. +1,142 −0 ...rectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListServicesResponse.java
  129. +104 −0 ...1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListServicesResponseOrBuilder.java
  130. +182 −0 ...ervicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/LocationName.java
  131. +117 −0 ...directory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceProto.java
  132. +981 −0 ...d-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/Namespace.java
  133. +211 −0 ...rvicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/NamespaceName.java
  134. +116 −0 ...directory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/NamespaceOrBuilder.java
  135. +102 −0 ...vicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/NamespaceProto.java
  136. +479 −0 ...ory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceProto.java
  137. +1,036 −0 ...ectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ResolveServiceRequest.java
  138. +124 −0 ...beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ResolveServiceRequestOrBuilder.java
  139. +652 −0 ...ctory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ResolveServiceResponse.java
  140. +40 −0 ...eta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ResolveServiceResponseOrBuilder.java
  141. +1,568 −0 ...oud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/Service.java
  142. +242 −0 ...servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ServiceName.java
  143. +188 −0 ...cedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ServiceOrBuilder.java
  144. +108 −0 ...ervicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ServiceProto.java
  145. +1,045 −0 ...ectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/UpdateEndpointRequest.java
  146. +104 −0 ...beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/UpdateEndpointRequestOrBuilder.java
  147. +1,045 −0 ...ctory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/UpdateNamespaceRequest.java
  148. +104 −0 ...eta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/UpdateNamespaceRequestOrBuilder.java
  149. +1,044 −0 ...rectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/UpdateServiceRequest.java
  150. +104 −0 ...1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/UpdateServiceRequestOrBuilder.java
  151. +60 −0 ...loud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/endpoint.proto
  152. +87 −0 ...ervicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/lookup_service.proto
  153. +46 −0 ...oud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/namespace.proto
  154. +566 −0 ...directory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/registration_service.proto
  155. +53 −0 ...cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/service.proto
  156. +78 −0 renovate.json
  157. +31 −0 synth.metadata
  158. +33 −0 synth.py
  159. +6 −0 versions.txt
@@ -0,0 +1,51 @@
---
name: Bug report
about: Create a report to help us improve

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

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

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

If you are still having issues, please include as much information as possible:

#### Environment details

1. Specify the API at the beginning of the title. For example, "BigQuery: ...").
General, Core, and Other are also allowed as types
2. OS type and version:
3. Java version:
4. servicedirectory version(s):

#### Steps to reproduce

1. ?
2. ?

#### Code example

```java
// example
```

#### Stack trace
```
Any relevant stacktrace here.
```

#### External references such as API reference guides

- ?

#### Any additional information below


Following these steps guarantees the quickest resolution possible.

Thanks!
@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for this library

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
What the problem is. Example: I'm always frustrated when [...]

**Describe the solution you'd like**
What you want to happen.

**Describe alternatives you've considered**
Any alternative solutions or features you've considered.

**Additional context**
Any other context or screenshots about the feature request.
@@ -0,0 +1,7 @@
---
name: Support request
about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.

---

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
@@ -0,0 +1 @@
Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for context and/or discussion)
@@ -0,0 +1,2 @@
releaseType: java-yoshi
bumpMinorPreMajor: true
@@ -0,0 +1,15 @@
# Maven
target/

# Eclipse
.classpath
.project
.settings

# Intellij
*.iml
.idea/

# python utilities
*.pyc
__pycache__
@@ -0,0 +1,3 @@
:: See documentation in type-shell-output.bat

"C:\Program Files\Git\bin\bash.exe" github/java-servicedirectory/.kokoro/build.sh
@@ -0,0 +1,108 @@
#!/bin/bash
# Copyright 2019 Google LLC
#
# 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.

set -eo pipefail

## Get the directory of the build script
scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
## cd to the parent directory, i.e. the root of the git repo
cd ${scriptDir}/..

# Print out Java version
java -version
echo ${JOB_TYPE}

mvn install -B -V \
-DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
-Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true \
-T 1C

# if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it
if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then
export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS})
fi

RETURN_CODE=0
set +e

case ${JOB_TYPE} in
test)
mvn test -B -Dclirr.skip=true -Denforcer.skip=true
RETURN_CODE=$?
;;
lint)
mvn \
-Penable-samples \
com.coveo:fmt-maven-plugin:check
RETURN_CODE=$?
;;
javadoc)
mvn javadoc:javadoc javadoc:test-javadoc
RETURN_CODE=$?
;;
integration)
mvn -B ${INTEGRATION_TEST_ARGS} \
-Penable-integration-tests \
-DtrimStackTrace=false \
-Dclirr.skip=true \
-Denforcer.skip=true \
-fae \
verify
RETURN_CODE=$?
;;
samples)
if [[ -f samples/pom.xml ]]
then
pushd samples
mvn -B \
-Penable-samples \
-DtrimStackTrace=false \
-Dclirr.skip=true \
-Denforcer.skip=true \
-fae \
verify
RETURN_CODE=$?
popd
else
echo "no sample pom.xml found - skipping sample tests"
fi
;;
clirr)
mvn -B -Denforcer.skip=true clirr:check
RETURN_CODE=$?
;;
*)
;;
esac

if [ "${REPORT_COVERAGE}" == "true" ]
then
bash ${KOKORO_GFILE_DIR}/codecov.sh
fi

# fix output location of logs
bash .kokoro/coerce_logs.sh

if [[ "${ENABLE_BUILD_COP}" == "true" ]]
then
chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop
${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-servicedirectory
fi

echo "exiting with ${RETURN_CODE}"
exit ${RETURN_CODE}
@@ -0,0 +1,38 @@
#!/bin/bash
# Copyright 2019 Google LLC
#
# 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.

# This script finds and moves sponge logs so that they can be found by placer
# and are not flagged as flaky by sponge.

set -eo pipefail

## Get the directory of the build script
scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
## cd to the parent directory, i.e. the root of the git repo
cd ${scriptDir}/..

job=$(basename ${KOKORO_JOB_NAME})

echo "coercing sponge logs..."
for xml in `find . -name *-sponge_log.xml`
do
echo "processing ${xml}"
class=$(basename ${xml} | cut -d- -f2)
dir=$(dirname ${xml})/${job}/${class}
text=$(dirname ${xml})/${class}-sponge_log.txt
mkdir -p ${dir}
mv ${xml} ${dir}/sponge_log.xml
mv ${text} ${dir}/sponge_log.txt
done
@@ -0,0 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# All builds use the trampoline script to run in docker.
build_file: "java-servicedirectory/.kokoro/trampoline.sh"

# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-servicedirectory/.kokoro/build.sh"
}
@@ -0,0 +1,25 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Build logs will be here
action {
define_artifacts {
regex: "**/*sponge_log.xml"
regex: "**/*sponge_log.txt"
}
}

# Download trampoline resources.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "java-servicedirectory/.kokoro/trampoline.sh"

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-servicedirectory/.kokoro/build.sh"
}

env_vars: {
key: "JOB_TYPE"
value: "test"
}
@@ -0,0 +1,12 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-servicedirectory/.kokoro/dependencies.sh"
}
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java11"
}
@@ -0,0 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java7"
}
@@ -0,0 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-servicedirectory/.kokoro/build.sh"
@@ -0,0 +1,3 @@
# Format: //devtools/kokoro/config/proto/build.proto

build_file: "java-servicedirectory/.kokoro/build.bat"
@@ -0,0 +1,12 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "REPORT_COVERAGE"
value: "true"
}
@@ -0,0 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.

env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "JOB_TYPE"
value: "lint"
}

0 comments on commit 2426c7f

Please sign in to comment.