Skip to content

Commit 3f7bced

Browse files
authored
Upgrade to gen2 cloud functions (#164)
1 parent 038b8cc commit 3f7bced

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cloudbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ steps:
22
- name: 'gcr.io/cloud-builders/gcloud'
33
args: [
44
'functions', 'deploy', 'linehaul-ingestor',
5+
'--gen2',
56
'--trigger-resource', 'linehaul-logs',
67
'--trigger-event', 'google.storage.object.finalize',
78
'--runtime', 'python311',
@@ -13,6 +14,7 @@ steps:
1314
- name: 'gcr.io/cloud-builders/gcloud'
1415
args: [
1516
'functions', 'deploy', 'linehaul-publisher',
17+
'--gen2',
1618
'--trigger-topic', 'linehaul-publisher-topic',
1719
'--runtime', 'python311',
1820
'--source', '.',

0 commit comments

Comments
 (0)