From ba7591f4be9563cc63e1407b41a4974b17c3a330 Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Mon, 19 Nov 2018 10:46:06 -0800 Subject: [PATCH 1/2] Update cloudbuild.yaml --- functions/ci_cd/cloudbuild.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/ci_cd/cloudbuild.yaml b/functions/ci_cd/cloudbuild.yaml index 41de4c6c77..abf93a8bf3 100644 --- a/functions/ci_cd/cloudbuild.yaml +++ b/functions/ci_cd/cloudbuild.yaml @@ -6,5 +6,5 @@ steps: args: ['test'] dir: 'functions/autodeploy' - name: 'gcr.io/cloud-builders/gcloud' - args: ['beta', 'functions', 'deploy', '[YOUR_FUNCTION_NAME]', '[YOUR_FUNCTION_TRIGGER]'] - dir: 'functions/autodeploy' \ No newline at end of file + args: ['beta', 'functions', 'deploy', '[YOUR_DEPLOYED_FUNCTION_NAME]', '[YOUR_FUNCTION_TRIGGER]', '--runtime', '[YOUR_RUNTIME]', '--entry-point', '[YOUR_FUNCTION_NAME_IN_CODE]'] + dir: 'functions/autodeploy' From 0ee143d76e59adc0c180678b576cbb087b778b6a Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Thu, 13 Dec 2018 17:44:29 -0800 Subject: [PATCH 2/2] Remove beta --- functions/ci_cd/cloudbuild.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/ci_cd/cloudbuild.yaml b/functions/ci_cd/cloudbuild.yaml index abf93a8bf3..e6c3fc0f15 100644 --- a/functions/ci_cd/cloudbuild.yaml +++ b/functions/ci_cd/cloudbuild.yaml @@ -6,5 +6,5 @@ steps: args: ['test'] dir: 'functions/autodeploy' - name: 'gcr.io/cloud-builders/gcloud' - args: ['beta', 'functions', 'deploy', '[YOUR_DEPLOYED_FUNCTION_NAME]', '[YOUR_FUNCTION_TRIGGER]', '--runtime', '[YOUR_RUNTIME]', '--entry-point', '[YOUR_FUNCTION_NAME_IN_CODE]'] + args: ['functions', 'deploy', '[YOUR_DEPLOYED_FUNCTION_NAME]', '[YOUR_FUNCTION_TRIGGER]', '--runtime', '[YOUR_RUNTIME]', '--entry-point', '[YOUR_FUNCTION_NAME_IN_CODE]'] dir: 'functions/autodeploy'