Skip to content

Commit

Permalink
bigfun: gcloud command instead of gcloud alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
paul.marcombes committed Oct 7, 2024
1 parent cc62e3d commit b2bf692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bigfun/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,10 @@ def deploy(self, source_folder, options):
if self.service in os.environ:
# This service image has already been built, let's use it
options["image"] = os.environ[self.service]
return self.exec("gcloud alpha run deploy", options=options)
return self.exec("gcloud run deploy", options=options)

options["source"] = source_folder
result = self.exec("gcloud alpha run deploy", options=options)
result = self.exec("gcloud run deploy", options=options)
os.environ[self.service] = self.exec(
"gcloud run services describe", options={"format": '"value(image)"'}
)
Expand Down

0 comments on commit b2bf692

Please sign in to comment.