Skip to content

Commit

Permalink
enable continuous deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ccyang314 committed Jun 27, 2020
1 parent 1d49f6d commit dbce1fd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
runtime: nodejs
env: flex

# This sample incurs costs to run on the App Engine flexible environment.
# The settings below are to reduce costs during testing and are not appropriate
# for production use. For more information, see:
# https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 1
disk_size_gb: 10
File renamed without changes.
10 changes: 10 additions & 0 deletions gcp/clouddeploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
steps:
- name: node
entrypoint: npm
args: ['install']
- name: node
entrypoint: npm
args: ['test']
- name: "gcr.io/cloud-builders/gcloud"
args: ["app", "deploy"]
timeout: "600s"

0 comments on commit dbce1fd

Please sign in to comment.