Last active
August 31, 2018 11:57
-
-
Save PatrickHeneise/d7174be15a9f23b93698cc2252470be1 to your computer and use it in GitHub Desktop.
cloud config
This file contains 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/gcloud | |
id: decrypt | |
waitFor: ["-"] | |
args: | |
- kms | |
- decrypt | |
- --ciphertext-file=${_ENV}.yaml.enc | |
- --plaintext-file=${_ENV}.yaml | |
- --location=global | |
- --keyring=project | |
- --key=build | |
- name: "gcr.io/cloud-builders/gcloud" | |
waitFor: ["decrypt"] | |
args: | |
- beta | |
- functions | |
- deploy | |
- listings | |
- --source=. | |
- --runtime=nodejs8 | |
- --trigger-http | |
- --region=${_REGION} | |
- --memory=${_MEM} | |
- --env-vars-file=${_ENV}.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment