Skip to content

Commit

Permalink
Update CI test cluster version to 1.16 (#1316)
Browse files Browse the repository at this point in the history
* Update CI cluster version to 1.16

* Add retry strategy

* Remove backoff
  • Loading branch information
andreyvelich committed Sep 1, 2020
1 parent 2ceed7d commit 0b7a5f2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/scripts/v1alpha3/create-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ gcloud --project ${PROJECT} beta container clusters create ${CLUSTER_NAME} \
--zone ${ZONE} \
--machine-type=n1-standard-8 \
--num-nodes=6 \
--cluster-version 1.14
--cluster-version 1.16
echo "Configuring kubectl"
gcloud --project ${PROJECT} container clusters get-credentials ${CLUSTER_NAME} \
--zone ${ZONE}
2 changes: 1 addition & 1 deletion test/scripts/v1beta1/create-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ gcloud --project ${PROJECT} beta container clusters create ${CLUSTER_NAME} \
--zone ${ZONE} \
--machine-type=n1-standard-8 \
--num-nodes=6 \
--cluster-version 1.14
--cluster-version 1.16
echo "Configuring kubectl"
gcloud --project ${PROJECT} container clusters get-credentials ${CLUSTER_NAME} \
--zone ${ZONE}
4 changes: 4 additions & 0 deletions test/workflows/components/workflows-v1alpha3.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
// command: List to pass as the container command.
buildTemplate(step_name, image, command):: {
name: step_name,
retryStrategy: {
limit: 3,
retryPolicy: "Always",
},
container: {
command: command,
image: image,
Expand Down
4 changes: 4 additions & 0 deletions test/workflows/components/workflows-v1beta1.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
// command: List to pass as the container command.
buildTemplate(step_name, image, command):: {
name: step_name,
retryStrategy: {
limit: 3,
retryPolicy: "Always",
},
container: {
command: command,
image: image,
Expand Down

0 comments on commit 0b7a5f2

Please sign in to comment.