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

docs(v1): fix relative URLs in documentation #119

Merged
merged 6 commits into from Apr 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 12 additions & 2 deletions .kokoro/common.sh
Expand Up @@ -13,18 +13,28 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# set -eo pipefail

function retry_with_backoff {
attempts_left=$1
sleep_seconds=$2
shift 2
command=$@


# store current flag state
flags=$-

# allow a failures to continue
set +e
echo "${command}"
${command}
exit_code=$?

# restore "e" flag
if [[ ${flags} =~ e ]]
then set -e
else set +e
fi

if [[ $exit_code == 0 ]]
then
return 0
Expand Down
15 changes: 15 additions & 0 deletions .kokoro/nightly/integration.cfg
Expand Up @@ -6,11 +6,26 @@ env_vars: {
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

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

env_vars: {
key: "GCLOUD_PROJECT"
value: "gcloud-devel"
}

env_vars: {
key: "ENABLE_BUILD_COP"
value: "true"
}

env_vars: {
key: "GOOGLE_APPLICATION_CREDENTIALS"
value: "keystore/73713_java_it_service_account"
}

before_action {
fetch_keystore {
keystore_resource {
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -32,19 +32,19 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file

```

[//]: # ({x-version-update-start:google-cloud-container:released})

If you are using Maven without BOM, add this to your dependencies:

```xml
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-container</artifactId>
<version>1.0.1</version>
<version>1.0.0</version>
</dependency>

```

[//]: # ({x-version-update-start:google-cloud-container:released})

If you are using Gradle, add this to your dependencies
```Groovy
compile 'com.google.cloud:google-cloud-container:1.0.1'
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -1461,7 +1461,7 @@ public void getCluster(
* Creates a cluster, consisting of the specified number and type of Google
* Compute Engine instances.
* By default, the cluster is created in the project's
* [default network](/compute/docs/networks-and-firewalls#networks).
* [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
* One firewall is added for the cluster. After cluster creation,
* the Kubelet creates routes for each node to allow the containers
* on that node to communicate with all other instances in the
Expand Down Expand Up @@ -2106,7 +2106,7 @@ public void getCluster(
* Creates a cluster, consisting of the specified number and type of Google
* Compute Engine instances.
* By default, the cluster is created in the project's
* [default network](/compute/docs/networks-and-firewalls#networks).
* [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
* One firewall is added for the cluster. After cluster creation,
* the Kubelet creates routes for each node to allow the containers
* on that node to communicate with all other instances in the
Expand Down Expand Up @@ -2634,7 +2634,7 @@ public com.google.container.v1.Cluster getCluster(
* Creates a cluster, consisting of the specified number and type of Google
* Compute Engine instances.
* By default, the cluster is created in the project's
* [default network](/compute/docs/networks-and-firewalls#networks).
* [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
* One firewall is added for the cluster. After cluster creation,
* the Kubelet creates routes for each node to allow the containers
* on that node to communicate with all other instances in the
Expand Down Expand Up @@ -3057,7 +3057,7 @@ protected ClusterManagerFutureStub build(
* Creates a cluster, consisting of the specified number and type of Google
* Compute Engine instances.
* By default, the cluster is created in the project's
* [default network](/compute/docs/networks-and-firewalls#networks).
* [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
* One firewall is added for the cluster. After cluster creation,
* the Kubelet creates routes for each node to allow the containers
* on that node to communicate with all other instances in the
Expand Down
Expand Up @@ -140,7 +140,7 @@ public long getAcceleratorCount() {
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](/compute/docs/gpus)
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
Expand All @@ -163,7 +163,7 @@ public java.lang.String getAcceleratorType() {
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](/compute/docs/gpus)
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
Expand Down Expand Up @@ -570,7 +570,7 @@ public Builder clearAcceleratorCount() {
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](/compute/docs/gpus)
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
Expand All @@ -593,7 +593,7 @@ public java.lang.String getAcceleratorType() {
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](/compute/docs/gpus)
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
Expand All @@ -616,7 +616,7 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() {
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](/compute/docs/gpus)
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
Expand All @@ -638,7 +638,7 @@ public Builder setAcceleratorType(java.lang.String value) {
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](/compute/docs/gpus)
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
Expand All @@ -656,7 +656,7 @@ public Builder clearAcceleratorType() {
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](/compute/docs/gpus)
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
Expand Down
Expand Up @@ -41,7 +41,7 @@ public interface AcceleratorConfigOrBuilder
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](/compute/docs/gpus)
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
Expand All @@ -54,7 +54,7 @@ public interface AcceleratorConfigOrBuilder
*
* <pre>
* The accelerator type resource name. List of supported accelerators
* [here](/compute/docs/gpus)
* [here](https://cloud.google.com/compute/docs/gpus)
* </pre>
*
* <code>string accelerator_type = 2;</code>
Expand Down
Expand Up @@ -195,7 +195,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
* <pre>
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
Expand All @@ -220,7 +220,7 @@ public java.lang.String getZone() {
*
* <pre>
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
Expand Down Expand Up @@ -832,7 +832,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
* <pre>
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
Expand All @@ -857,7 +857,7 @@ public java.lang.String getZone() {
*
* <pre>
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
Expand All @@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getZoneBytes() {
*
* <pre>
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
Expand All @@ -906,7 +906,7 @@ public Builder setZone(java.lang.String value) {
*
* <pre>
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
Expand All @@ -926,7 +926,7 @@ public Builder clearZone() {
*
* <pre>
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
Expand Down
Expand Up @@ -59,7 +59,7 @@ public interface CancelOperationRequestOrBuilder
*
* <pre>
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
Expand All @@ -74,7 +74,7 @@ public interface CancelOperationRequestOrBuilder
*
* <pre>
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
Expand Down