mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
split hosting and functions pipelines
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"projects": {
|
||||
|
||||
"default":"antler-vc"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,30 +20,3 @@ steps:
|
||||
entrypoint: yarn
|
||||
args: ["deploy"]
|
||||
dir: "www"
|
||||
|
||||
- name: gcr.io/cloud-builders/gcloud
|
||||
args:
|
||||
- kms
|
||||
- decrypt
|
||||
- --ciphertext-file=cloud_functions/functions/.env.enc
|
||||
- --plaintext-file=cloud_functions/functions/.env
|
||||
- --location=global
|
||||
- --keyring=antler-vc
|
||||
- --key=cloudbuild-env
|
||||
- name: gcr.io/cloud-builders/gcloud
|
||||
args:
|
||||
- kms
|
||||
- decrypt
|
||||
- --ciphertext-file=cloud_functions/functions/firebase-credentials.json.enc
|
||||
- --plaintext-file=cloud_functions/functions/firebase-credentials.json
|
||||
- --location=global
|
||||
- --keyring=antler-vc
|
||||
- --key=cloudbuild-env
|
||||
- name: node:10.15.1
|
||||
entrypoint: yarn
|
||||
args: ["install"]
|
||||
dir: "cloud_functions/functions"
|
||||
- name: node:10.15.1
|
||||
entrypoint: yarn
|
||||
args: ["deploy"]
|
||||
dir: "cloud_functions/functions"
|
||||
|
||||
27
cloudbuildfunctions.yaml
Normal file
27
cloudbuildfunctions.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
steps:
|
||||
- name: gcr.io/cloud-builders/gcloud
|
||||
args:
|
||||
- kms
|
||||
- decrypt
|
||||
- --ciphertext-file=cloud_functions/functions/.env.enc
|
||||
- --plaintext-file=cloud_functions/functions/.env
|
||||
- --location=global
|
||||
- --keyring=antler-vc
|
||||
- --key=cloudbuild-env
|
||||
- name: gcr.io/cloud-builders/gcloud
|
||||
args:
|
||||
- kms
|
||||
- decrypt
|
||||
- --ciphertext-file=cloud_functions/functions/firebase-credentials.json.enc
|
||||
- --plaintext-file=cloud_functions/functions/firebase-credentials.json
|
||||
- --location=global
|
||||
- --keyring=antler-vc
|
||||
- --key=cloudbuild-env
|
||||
- name: node:10.15.1
|
||||
entrypoint: yarn
|
||||
args: ["install"]
|
||||
dir: "cloud_functions/functions"
|
||||
- name: node:10.15.1
|
||||
entrypoint: yarn
|
||||
args: ["deploy"]
|
||||
dir: "cloud_functions/functions"
|
||||
Reference in New Issue
Block a user