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