Skip to content

Commit

Permalink
Swapping to topic triggering.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbg3 committed Oct 6, 2021
1 parent fdca566 commit aa8a01d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
- --runtime=python37
- --memory=256MB
- --source=.
- --trigger-http
- --trigger-topic=gcp-role-audit-trigger
- --service-account=gcp-role-audit@up-eit-ce-production.iam.gserviceaccount.com
- --timeout=540
- --entry-point=main_http
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
def main_http(request):
def main_http(event, context):
import owner_report_native

if __name__ == '__main__':
Expand Down

0 comments on commit aa8a01d

Please sign in to comment.