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

Commit 4951555

Browse files
docs(v1): fix relative URLs in documentation (#119)
* chore: release 1.0.1 (#101) 0de71bc commit 0de71bc Author: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Date: Tue Apr 7 18:10:21 2020 +0000 chore: release 1.0.1 (#101) 🤖 I have created a release \*beep\* \*boop\* --- ### [1.0.1](https://www.github.com/googleapis/java-container/compare/v1.0.0...v1.0.1) (2020-04-07) ### Dependencies * update core dependencies ([#99](https://www.github.com/googleapis/java-container/issues/99)) ([2b4af5b](https://www.github.com/googleapis/java-container/commit/2b4af5b6b9204cede271095d5e677d432ef6c9fc)) * update dependency com.google.api:api-common to v1.9.0 ([#106](https://www.github.com/googleapis/java-container/issues/106)) ([3953dd4](https://www.github.com/googleapis/java-container/commit/3953dd4d13236219c45b48bd3ed2f6760c73273d)) * update dependency com.google.cloud:google-cloud-core to v1.93.1 ([#80](https://www.github.com/googleapis/java-container/issues/80)) ([00fee0a](https://www.github.com/googleapis/java-container/commit/00fee0aca2e6cc5c23fa96be968daa759bd46631)) * update dependency com.google.cloud:google-cloud-core to v1.93.4 ([#113](https://www.github.com/googleapis/java-container/issues/113)) ([086d78e](https://www.github.com/googleapis/java-container/commit/086d78e62879de5991af8789f3597b1754918b6a)) * update dependency org.threeten:threetenbp to v1.4.2 ([#95](https://www.github.com/googleapis/java-container/issues/95)) ([e5746bb](https://www.github.com/googleapis/java-container/commit/e5746bb4194716f2e6229f8c1bf36f64d8fd8953)) * update dependency org.threeten:threetenbp to v1.4.3 ([#111](https://www.github.com/googleapis/java-container/issues/111)) ([1f34ca1](https://www.github.com/googleapis/java-container/commit/1f34ca1b5ec5f31728c0537ef91106678efb8dbd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). * chore: set Ruby namespace in proto options googleapis/googleapis@27daba5 commit 27daba50281357b676e1ba882422ebeab4ce4f92 Author: Google APIs <noreply@google.com> Date: Tue Apr 7 13:23:55 2020 -0700 chore: set Ruby namespace in proto options PiperOrigin-RevId: 305327500 * docs: change relative URLs to absolute URLs to fix broken links. googleapis/googleapis@d398d68 commit d398d687aad9eab4c6ceee9cd5e012fa61f7e28c Author: Google APIs <noreply@google.com> Date: Wed Apr 8 09:48:52 2020 -0700 docs: change relative URLs to absolute URLs to fix broken links. PiperOrigin-RevId: 305496764 * build(java): fix retry_with_backoff when -e option set (#475) googleapis/synthtool@bd69a2a commit bd69a2aa7b70875f3c988e269706b22fefbef40e Author: Jeff Ching <chingor@google.com> Date: Wed Apr 8 14:01:08 2020 -0700 build(java): fix retry_with_backoff when -e option set (#475) * build(java): fix nightly integration test config to run integrations (#465) googleapis/synthtool@c7e0e51 commit c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25 Author: Jeff Ching <chingor@google.com> Date: Wed Apr 8 14:06:04 2020 -0700 build(java): fix nightly integration test config to run integrations (#465) This was only running the units. * chore(java): release-please only updates non maven versions in README (#476) googleapis/synthtool@7f8e62a commit 7f8e62aa3edd225f76347a16f92e400661fdfb52 Author: Jeff Ching <chingor@google.com> Date: Wed Apr 8 14:14:25 2020 -0700 chore(java): release-please only updates non maven versions in README (#476) Prevent release-please and synthtool from fighting over the released library version. Synthtool updates the install snippets from the samples pom.xml files so the bots fight if they are temporarily out of sync after a release.
1 parent bfed70d commit 4951555

File tree

84 files changed

+667
-629
lines changed

Some content is hidden

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

84 files changed

+667
-629
lines changed

.kokoro/common.sh

+12-2
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,28 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
# set -eo pipefail
17-
1816
function retry_with_backoff {
1917
attempts_left=$1
2018
sleep_seconds=$2
2119
shift 2
2220
command=$@
2321

22+
23+
# store current flag state
24+
flags=$-
25+
26+
# allow a failures to continue
27+
set +e
2428
echo "${command}"
2529
${command}
2630
exit_code=$?
2731

32+
# restore "e" flag
33+
if [[ ${flags} =~ e ]]
34+
then set -e
35+
else set +e
36+
fi
37+
2838
if [[ $exit_code == 0 ]]
2939
then
3040
return 0

.kokoro/nightly/integration.cfg

+15
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,26 @@ env_vars: {
66
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
77
}
88

9+
env_vars: {
10+
key: "JOB_TYPE"
11+
value: "integration"
12+
}
13+
14+
env_vars: {
15+
key: "GCLOUD_PROJECT"
16+
value: "gcloud-devel"
17+
}
18+
919
env_vars: {
1020
key: "ENABLE_BUILD_COP"
1121
value: "true"
1222
}
1323

24+
env_vars: {
25+
key: "GOOGLE_APPLICATION_CREDENTIALS"
26+
value: "keystore/73713_java_it_service_account"
27+
}
28+
1429
before_action {
1530
fetch_keystore {
1631
keystore_resource {

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
3232

3333
```
3434

35-
[//]: # ({x-version-update-start:google-cloud-container:released})
36-
3735
If you are using Maven without BOM, add this to your dependencies:
3836

3937
```xml
4038
<dependency>
4139
<groupId>com.google.cloud</groupId>
4240
<artifactId>google-cloud-container</artifactId>
43-
<version>1.0.1</version>
41+
<version>1.0.0</version>
4442
</dependency>
4543

4644
```
4745

46+
[//]: # ({x-version-update-start:google-cloud-container:released})
47+
4848
If you are using Gradle, add this to your dependencies
4949
```Groovy
5050
compile 'com.google.cloud:google-cloud-container:1.0.1'

google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java

+61-59
Large diffs are not rendered by default.

grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ public void getCluster(
14611461
* Creates a cluster, consisting of the specified number and type of Google
14621462
* Compute Engine instances.
14631463
* By default, the cluster is created in the project's
1464-
* [default network](/compute/docs/networks-and-firewalls#networks).
1464+
* [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
14651465
* One firewall is added for the cluster. After cluster creation,
14661466
* the Kubelet creates routes for each node to allow the containers
14671467
* on that node to communicate with all other instances in the
@@ -2106,7 +2106,7 @@ public void getCluster(
21062106
* Creates a cluster, consisting of the specified number and type of Google
21072107
* Compute Engine instances.
21082108
* By default, the cluster is created in the project's
2109-
* [default network](/compute/docs/networks-and-firewalls#networks).
2109+
* [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
21102110
* One firewall is added for the cluster. After cluster creation,
21112111
* the Kubelet creates routes for each node to allow the containers
21122112
* on that node to communicate with all other instances in the
@@ -2634,7 +2634,7 @@ public com.google.container.v1.Cluster getCluster(
26342634
* Creates a cluster, consisting of the specified number and type of Google
26352635
* Compute Engine instances.
26362636
* By default, the cluster is created in the project's
2637-
* [default network](/compute/docs/networks-and-firewalls#networks).
2637+
* [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
26382638
* One firewall is added for the cluster. After cluster creation,
26392639
* the Kubelet creates routes for each node to allow the containers
26402640
* on that node to communicate with all other instances in the
@@ -3057,7 +3057,7 @@ protected ClusterManagerFutureStub build(
30573057
* Creates a cluster, consisting of the specified number and type of Google
30583058
* Compute Engine instances.
30593059
* By default, the cluster is created in the project's
3060-
* [default network](/compute/docs/networks-and-firewalls#networks).
3060+
* [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
30613061
* One firewall is added for the cluster. After cluster creation,
30623062
* the Kubelet creates routes for each node to allow the containers
30633063
* on that node to communicate with all other instances in the

proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public long getAcceleratorCount() {
140140
*
141141
* <pre>
142142
* The accelerator type resource name. List of supported accelerators
143-
* [here](/compute/docs/gpus)
143+
* [here](https://cloud.google.com/compute/docs/gpus)
144144
* </pre>
145145
*
146146
* <code>string accelerator_type = 2;</code>
@@ -163,7 +163,7 @@ public java.lang.String getAcceleratorType() {
163163
*
164164
* <pre>
165165
* The accelerator type resource name. List of supported accelerators
166-
* [here](/compute/docs/gpus)
166+
* [here](https://cloud.google.com/compute/docs/gpus)
167167
* </pre>
168168
*
169169
* <code>string accelerator_type = 2;</code>
@@ -570,7 +570,7 @@ public Builder clearAcceleratorCount() {
570570
*
571571
* <pre>
572572
* The accelerator type resource name. List of supported accelerators
573-
* [here](/compute/docs/gpus)
573+
* [here](https://cloud.google.com/compute/docs/gpus)
574574
* </pre>
575575
*
576576
* <code>string accelerator_type = 2;</code>
@@ -593,7 +593,7 @@ public java.lang.String getAcceleratorType() {
593593
*
594594
* <pre>
595595
* The accelerator type resource name. List of supported accelerators
596-
* [here](/compute/docs/gpus)
596+
* [here](https://cloud.google.com/compute/docs/gpus)
597597
* </pre>
598598
*
599599
* <code>string accelerator_type = 2;</code>
@@ -616,7 +616,7 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() {
616616
*
617617
* <pre>
618618
* The accelerator type resource name. List of supported accelerators
619-
* [here](/compute/docs/gpus)
619+
* [here](https://cloud.google.com/compute/docs/gpus)
620620
* </pre>
621621
*
622622
* <code>string accelerator_type = 2;</code>
@@ -638,7 +638,7 @@ public Builder setAcceleratorType(java.lang.String value) {
638638
*
639639
* <pre>
640640
* The accelerator type resource name. List of supported accelerators
641-
* [here](/compute/docs/gpus)
641+
* [here](https://cloud.google.com/compute/docs/gpus)
642642
* </pre>
643643
*
644644
* <code>string accelerator_type = 2;</code>
@@ -656,7 +656,7 @@ public Builder clearAcceleratorType() {
656656
*
657657
* <pre>
658658
* The accelerator type resource name. List of supported accelerators
659-
* [here](/compute/docs/gpus)
659+
* [here](https://cloud.google.com/compute/docs/gpus)
660660
* </pre>
661661
*
662662
* <code>string accelerator_type = 2;</code>

proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public interface AcceleratorConfigOrBuilder
4141
*
4242
* <pre>
4343
* The accelerator type resource name. List of supported accelerators
44-
* [here](/compute/docs/gpus)
44+
* [here](https://cloud.google.com/compute/docs/gpus)
4545
* </pre>
4646
*
4747
* <code>string accelerator_type = 2;</code>
@@ -54,7 +54,7 @@ public interface AcceleratorConfigOrBuilder
5454
*
5555
* <pre>
5656
* The accelerator type resource name. List of supported accelerators
57-
* [here](/compute/docs/gpus)
57+
* [here](https://cloud.google.com/compute/docs/gpus)
5858
* </pre>
5959
*
6060
* <code>string accelerator_type = 2;</code>

proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
195195
*
196196
* <pre>
197197
* Deprecated. The name of the Google Compute Engine
198-
* [zone](/compute/docs/zones#available) in which the operation resides.
198+
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
199199
* This field has been deprecated and replaced by the name field.
200200
* </pre>
201201
*
@@ -220,7 +220,7 @@ public java.lang.String getZone() {
220220
*
221221
* <pre>
222222
* Deprecated. The name of the Google Compute Engine
223-
* [zone](/compute/docs/zones#available) in which the operation resides.
223+
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
224224
* This field has been deprecated and replaced by the name field.
225225
* </pre>
226226
*
@@ -832,7 +832,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
832832
*
833833
* <pre>
834834
* Deprecated. The name of the Google Compute Engine
835-
* [zone](/compute/docs/zones#available) in which the operation resides.
835+
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
836836
* This field has been deprecated and replaced by the name field.
837837
* </pre>
838838
*
@@ -857,7 +857,7 @@ public java.lang.String getZone() {
857857
*
858858
* <pre>
859859
* Deprecated. The name of the Google Compute Engine
860-
* [zone](/compute/docs/zones#available) in which the operation resides.
860+
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
861861
* This field has been deprecated and replaced by the name field.
862862
* </pre>
863863
*
@@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getZoneBytes() {
882882
*
883883
* <pre>
884884
* Deprecated. The name of the Google Compute Engine
885-
* [zone](/compute/docs/zones#available) in which the operation resides.
885+
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
886886
* This field has been deprecated and replaced by the name field.
887887
* </pre>
888888
*
@@ -906,7 +906,7 @@ public Builder setZone(java.lang.String value) {
906906
*
907907
* <pre>
908908
* Deprecated. The name of the Google Compute Engine
909-
* [zone](/compute/docs/zones#available) in which the operation resides.
909+
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
910910
* This field has been deprecated and replaced by the name field.
911911
* </pre>
912912
*
@@ -926,7 +926,7 @@ public Builder clearZone() {
926926
*
927927
* <pre>
928928
* Deprecated. The name of the Google Compute Engine
929-
* [zone](/compute/docs/zones#available) in which the operation resides.
929+
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
930930
* This field has been deprecated and replaced by the name field.
931931
* </pre>
932932
*

proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public interface CancelOperationRequestOrBuilder
5959
*
6060
* <pre>
6161
* Deprecated. The name of the Google Compute Engine
62-
* [zone](/compute/docs/zones#available) in which the operation resides.
62+
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
6363
* This field has been deprecated and replaced by the name field.
6464
* </pre>
6565
*
@@ -74,7 +74,7 @@ public interface CancelOperationRequestOrBuilder
7474
*
7575
* <pre>
7676
* Deprecated. The name of the Google Compute Engine
77-
* [zone](/compute/docs/zones#available) in which the operation resides.
77+
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
7878
* This field has been deprecated and replaced by the name field.
7979
* </pre>
8080
*

0 commit comments

Comments
 (0)