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

Commit

Permalink
Release pending changes. (#212)
Browse files Browse the repository at this point in the history
* Set default input limits for forms (#209)
* Use rudder for deploy related functionality. (#211)
  • Loading branch information
codeviking committed Jun 13, 2019
1 parent b38de1e commit c928f47
Show file tree
Hide file tree
Showing 3 changed files with 3,246 additions and 32 deletions.
34 changes: 3 additions & 31 deletions .skiff/cloudbuild-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,42 +43,14 @@ steps:
'./webapp.jsonnet'
]
dir: '.skiff'
# Extract the deployment definition, which we need in order to query the
# state of the deployment, so that we can block till it's complete.
- id: 'extract-deployment-config'
name: 'gcr.io/ai2-reviz/rudder'
args: [
'get',
'-f', './webapp.json',
'-k', 'deployment',
'-o', './deployment.json'
]
dir: '.skiff'
# Deploy the image to Kubernetes
- id: 'deploy'
name: 'gcr.io/cloud-builders/kubectl'
name: 'gcr.io/ai2-reviz/rudder'
args: [
'apply',
'deploy',
'-f',
'webapp.json'
]
env: [
'CLOUDSDK_COMPUTE_ZONE=us-west1',
'CLOUDSDK_CONTAINER_CLUSTER=skiff-prod'
]
dir: '.skiff'
# Block until the deploy is complete. If this step fails your deployment
# failed.
- id: 'wait-for-deploy'
name: 'gcr.io/cloud-builders/kubectl'
args: [
'rollout', 'status',
'-f', 'deployment.json'
]
env: [
'CLOUDSDK_COMPUTE_ZONE=us-west1',
'CLOUDSDK_CONTAINER_CLUSTER=skiff-prod'
]
dir: '.skiff'
substitutions:
_ENV: staging
Expand All @@ -88,5 +60,5 @@ images: [
]
artifacts:
objects:
location: 'gs://skiff-archive/$REPO_NAME/$_ENV/$COMMIT_SHA'
location: 'gs://skiff-archive/$REPO_NAME/$_ENV/$COMMIT_SHA/$BUILD_ID'
paths: ['.skiff/webapp.json']
Loading

0 comments on commit c928f47

Please sign in to comment.