blob: 8224f2838f81becc85f49587e23cfc6567e0caff [file] [log] [blame]
steps:
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
args:
- gcloud
- functions
- deploy
- staging-lookup-service-binhosts
- --entry-point=lookup_service_binhosts
- --env-vars-file=cloudbuild/.env.staging.yaml
- --gen2
- --region=us-central1
- --runtime=python38
- --service-account=staging-binhost-lookup-service@chromeos-prebuilts.iam.gserviceaccount.com
- --source=cloud_functions/.
- --trigger-http
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
args:
- gcloud
- functions
- deploy
- staging-update-service-binhost-data
- --egress-settings=private-ranges-only
- --entry-point=update_service
- --env-vars-file=cloudbuild/.env.staging.yaml
- --gen2
- --ingress-settings=internal-only
- --region=us-central1
- --retry
- --runtime=python38
- --service-account=staging-binhost-lookup-service@chromeos-prebuilts.iam.gserviceaccount.com
- --source=cloud_functions/.
- --trigger-topic=staging-update_binhost_data
- --vpc-connector=staging-prebuilts-conn
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
args:
- gcloud
- functions
- deploy
- staging-update-service-snapshot-data
- --egress-settings=private-ranges-only
- --entry-point=update_service
- --env-vars-file=cloudbuild/.env.staging.yaml
- --gen2
- --ingress-settings=internal-only
- --region=us-central1
- --retry
- --runtime=python38
- --service-account=staging-binhost-lookup-service@chromeos-prebuilts.iam.gserviceaccount.com
- --source=cloud_functions/.
- --trigger-topic=staging-update_snapshot_data
- --vpc-connector=staging-prebuilts-conn