Last active
February 22, 2019 02:23
-
-
Save ibrunotome/fba486a897fb4921b7bce2e874982e1e to your computer and use it in GitHub Desktop.
Cloud Build example settings for a Nuxt.js application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: 'gcr.io/cloud-builders/gsutil' | |
args: | |
- cp | |
- ${_PRODUCTION_CONFIG} | |
- config/production.json | |
- name: 'gcr.io/cloud-builders/npm' | |
args: | |
- install | |
- name: 'gcr.io/cloud-builders/npm' | |
args: | |
- run | |
- lint | |
- name: 'gcr.io/cloud-builders/npm' | |
args: | |
- run | |
- test | |
- name: 'gcr.io/cloud-builders/npm' | |
args: | |
- run | |
- build | |
- name: 'gcr.io/cloud-builders/npm' | |
args: | |
- run | |
- generate | |
- name: 'gcr.io/cloud-builders/gsutil' | |
args: | |
- cp | |
- ${_APP_YAML_CONFIG} | |
- app.yaml | |
- name: 'gcr.io/cloud-builders/gcloud' | |
args: | |
- app | |
- deploy | |
- --no-promote | |
timeout: '600s' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment