Skip to content

Commit bb952ce

Browse files
fix: upgrade k8s cluster (#1294)
* fix: upgrade k8s cluster * Empty-Commit * Update cloudbuild.tmpl.yaml --------- Co-authored-by: Roger Martinez <[email protected]>
1 parent d3f6582 commit bb952ce

File tree

7 files changed

+15
-16
lines changed

7 files changed

+15
-16
lines changed

cloudbuild.tmpl.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ steps:
1616
args:
1717
- '-c'
1818
- |
19-
# Builds java apps with dockerfile profile due to jib/skaffold community builder incompatibility
19+
# Builds java apps with dockerfile profile due to jib/skaffold community builder incompatibility
2020
if [ "${_LANG}" = "java" ]
2121
then
2222
skaffold run -p dockerfile -l $BUILD_ID -n $$TEST_NAMESPACE -d $$SKAFFOLD_DEFAULT_REPO
@@ -61,8 +61,7 @@ steps:
6161
args:
6262
- '-c'
6363
- |
64-
set -e
65-
64+
set -e
6665
# Testing connection
6766
chmod +x test_connection.sh
6867
./test_connection.sh -r 20 -i 3 -u http://$(cat _externalIP)
@@ -93,7 +92,7 @@ timeout: 2500s
9392
options:
9493
env:
9594
- CLOUDSDK_COMPUTE_ZONE=us-central1-a
96-
- CLOUDSDK_CONTAINER_CLUSTER=staging
95+
- CLOUDSDK_CONTAINER_CLUSTER=test-cluster
9796
- SKAFFOLD_DEFAULT_REPO=gcr.io/$PROJECT_ID
9897
- TEST_NAMESPACE=test-$BUILD_ID-$_LANG-$_APP
9998
- HELLO_WORLD_SERVICE=${_LANG}-${_APP}-external

dotnet/.ci/dotnet-hello-world.cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ steps:
4646
args:
4747
- '-c'
4848
- |
49-
set -e
49+
set -e
5050
# Testing connection
5151
chmod +x test_connection.sh
5252
./test_connection.sh -r 20 -i 3 -u http://$(cat _externalIP)
@@ -68,7 +68,7 @@ timeout: 2500s
6868
options:
6969
env:
7070
- CLOUDSDK_COMPUTE_ZONE=us-central1-a
71-
- CLOUDSDK_CONTAINER_CLUSTER=staging
71+
- CLOUDSDK_CONTAINER_CLUSTER=test-cluster
7272
- SKAFFOLD_DEFAULT_REPO=gcr.io/$PROJECT_ID
7373
- TEST_NAMESPACE=test-$BUILD_ID-dotnet-hello-world
7474
- HELLO_WORLD_SERVICE=dotnet-hello-world-external

golang/.ci/go-hello-world.cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ steps:
4646
args:
4747
- '-c'
4848
- |
49-
set -e
49+
set -e
5050
# Testing connection
5151
chmod +x test_connection.sh
5252
./test_connection.sh -r 20 -i 3 -u http://$(cat _externalIP)
@@ -68,7 +68,7 @@ timeout: 2500s
6868
options:
6969
env:
7070
- CLOUDSDK_COMPUTE_ZONE=us-central1-a
71-
- CLOUDSDK_CONTAINER_CLUSTER=staging
71+
- CLOUDSDK_CONTAINER_CLUSTER=test-cluster
7272
- SKAFFOLD_DEFAULT_REPO=gcr.io/$PROJECT_ID
7373
- TEST_NAMESPACE=test-$BUILD_ID-go-hello-world
7474
- HELLO_WORLD_SERVICE=go-hello-world-external

java/.ci/java-hello-world.cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ steps:
4646
args:
4747
- '-c'
4848
- |
49-
set -e
49+
set -e
5050
# Testing connection
5151
chmod +x test_connection.sh
5252
./test_connection.sh -r 20 -i 3 -u http://$(cat _externalIP)
@@ -68,7 +68,7 @@ timeout: 2500s
6868
options:
6969
env:
7070
- CLOUDSDK_COMPUTE_ZONE=us-central1-a
71-
- CLOUDSDK_CONTAINER_CLUSTER=staging
71+
- CLOUDSDK_CONTAINER_CLUSTER=test-cluster
7272
- SKAFFOLD_DEFAULT_REPO=gcr.io/$PROJECT_ID
7373
- TEST_NAMESPACE=test-$BUILD_ID-java-hello-world
7474
- HELLO_WORLD_SERVICE=java-hello-world-external

nodejs/.ci/nodejs-hello-world.cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ steps:
4646
args:
4747
- '-c'
4848
- |
49-
set -e
49+
set -e
5050
# Testing connection
5151
chmod +x test_connection.sh
5252
./test_connection.sh -r 20 -i 3 -u http://$(cat _externalIP)
@@ -68,7 +68,7 @@ timeout: 2500s
6868
options:
6969
env:
7070
- CLOUDSDK_COMPUTE_ZONE=us-central1-a
71-
- CLOUDSDK_CONTAINER_CLUSTER=staging
71+
- CLOUDSDK_CONTAINER_CLUSTER=test-cluster
7272
- SKAFFOLD_DEFAULT_REPO=gcr.io/$PROJECT_ID
7373
- TEST_NAMESPACE=test-$BUILD_ID-nodejs-hello-world
7474
- HELLO_WORLD_SERVICE=nodejs-hello-world-external

python/.ci/django-hello-world.cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ steps:
4646
args:
4747
- '-c'
4848
- |
49-
set -e
49+
set -e
5050
# Testing connection
5151
chmod +x test_connection.sh
5252
./test_connection.sh -r 20 -i 3 -u http://$(cat _externalIP)
@@ -68,7 +68,7 @@ timeout: 2500s
6868
options:
6969
env:
7070
- CLOUDSDK_COMPUTE_ZONE=us-central1-a
71-
- CLOUDSDK_CONTAINER_CLUSTER=staging
71+
- CLOUDSDK_CONTAINER_CLUSTER=test-cluster
7272
- SKAFFOLD_DEFAULT_REPO=gcr.io/$PROJECT_ID
7373
- TEST_NAMESPACE=test-$BUILD_ID-django-hello-world
7474
- HELLO_WORLD_SERVICE=django-python-hello-world-external

python/.ci/python-hello-world.cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ steps:
4646
args:
4747
- '-c'
4848
- |
49-
set -e
49+
set -e
5050
# Testing connection
5151
chmod +x test_connection.sh
5252
./test_connection.sh -r 20 -i 3 -u http://$(cat _externalIP)
@@ -68,7 +68,7 @@ timeout: 2500s
6868
options:
6969
env:
7070
- CLOUDSDK_COMPUTE_ZONE=us-central1-a
71-
- CLOUDSDK_CONTAINER_CLUSTER=staging
71+
- CLOUDSDK_CONTAINER_CLUSTER=test-cluster
7272
- SKAFFOLD_DEFAULT_REPO=gcr.io/$PROJECT_ID
7373
- TEST_NAMESPACE=test-$BUILD_ID-python-hello-world
7474
- HELLO_WORLD_SERVICE=python-hello-world-external

0 commit comments

Comments
 (0)