Skip to content

Commit

Permalink
Upgrade to gen2 cloud functions (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
di authored Mar 25, 2024
1 parent 038b8cc commit 3f7bced
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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', '.',
Expand Down

0 comments on commit 3f7bced

Please sign in to comment.