Uncomment cluster push
This commit is contained in:
parent
e5f1f9c535
commit
a9d8b08e3d
1 changed files with 9 additions and 11 deletions
|
@ -16,22 +16,20 @@ steps:
|
|||
args:
|
||||
- '-c'
|
||||
- |
|
||||
env
|
||||
echo "-----------------"
|
||||
tools/insert_git_commit_link.sh
|
||||
env:
|
||||
- "COMMIT_SHA=$COMMIT_SHA"
|
||||
- "SHORT_SHA=$SHORT_SHA"
|
||||
|
||||
# steps:
|
||||
# - id: 'Deploy application to cluster'
|
||||
# name: 'gcr.io/k8s-skaffold/skaffold:v0.18.0'
|
||||
# entrypoint: 'bash'
|
||||
# args:
|
||||
# - '-c'
|
||||
# - |
|
||||
# gcloud container clusters get-credentials --zone=$_ZONE $_CLUSTER
|
||||
# skaffold run -f=skaffold.yaml --default-repo=gcr.io/$PROJECT_ID
|
||||
steps:
|
||||
- id: 'Deploy application to cluster'
|
||||
name: 'gcr.io/k8s-skaffold/skaffold:v0.18.0'
|
||||
entrypoint: 'bash'
|
||||
args:
|
||||
- '-c'
|
||||
- |
|
||||
gcloud container clusters get-credentials --zone=$_ZONE $_CLUSTER
|
||||
skaffold run -f=skaffold.yaml --default-repo=gcr.io/$PROJECT_ID
|
||||
|
||||
# Add more power, and more time, for heavy Skaffold build
|
||||
timeout: '3600s'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue