From 3f7bced245d217285c6edee6c89bd3b7b32c3bc1 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Mon, 25 Mar 2024 17:37:33 -0400 Subject: [PATCH] Upgrade to gen2 cloud functions (#164) --- cloudbuild.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index ad974f3..5eeed85 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -2,6 +2,7 @@ steps: - name: 'gcr.io/cloud-builders/gcloud' args: [ 'functions', 'deploy', 'linehaul-ingestor', + '--gen2', '--trigger-resource', 'linehaul-logs', '--trigger-event', 'google.storage.object.finalize', '--runtime', 'python311', @@ -13,6 +14,7 @@ steps: - name: 'gcr.io/cloud-builders/gcloud' args: [ 'functions', 'deploy', 'linehaul-publisher', + '--gen2', '--trigger-topic', 'linehaul-publisher-topic', '--runtime', 'python311', '--source', '.',