eye-on-surveillance / sawt

https://sawt.eyeonsurveillance.org/
MIT License
16 stars 10 forks source link

Issue with deploying to google cloud functions in latest push #261

Open ayyubibrahimi opened 2 months ago

ayyubibrahimi commented 2 months ago
56s
Run gcloud functions deploy getanswer-staging \
API [cloudresourcemanager.googleapis.com] not enabled on project [4965282[1](https://github.com/eye-on-surveillance/sawt/actions/runs/10757888370/job/29832477439#step:7:1)2384].
 Would you like to enable and retry (this will take a few minutes)? (y/N)?  
ERROR: (gcloud.functions.deploy) [***@appspot.gserviceaccount.com] does not have permission to access projects instance [***] (or it may not exist): Cloud Resource Manager API has not been used in project 496528212384 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=496528212384 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry. This command is authenticated as ***@appspot.gserviceaccount.com using the credentials in /home/runner/work/sawt/sawt/gha-creds-bf5cd[27](https://github.com/eye-on-surveillance/sawt/actions/runs/10757888370/job/29832477439#step:7:28)640ea9894.json, specified by the [auth/credential_file_override] property.
- '@type': type.googleapis.com/google.rpc.Help
  links:
  - description: Google developers console API activation
    url: https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=496528212384
- '@type': type.googleapis.com/google.rpc.ErrorInfo
  domain: googleapis.com
  metadata:
    consumer: projects/496528212384
    service: cloudresourcemanager.googleapis.com
  reason: SERVICE_DISABLED
Error: Process completed with exit code 1.