-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi Team,
here a possible addition I'd like you to comment/evaluate.
Update the Makefile to support a MIN_INSTANCES parameter in the deploy target. This will allow to control the minimum number of instances when deploying manually.
Thank you!
Update Makefile (make deploy)
Add logic to conditionally include the --min-instances flag if the MIN_INSTANCES variable is provided.
Usage Example:
make deploy MIN_INSTANCES=1
# ...
deploy:
PROJECT_ID=$$(gcloud config get-value project) && \
PROJECT_NUMBER=$$(gcloud projects describe $$PROJECT_ID --format="value(projectNumber)") && \
gcloud beta run deploy my-a2a-erp-agent \
# ...
$(if $(MIN_INSTANCES),--min-instances=$(MIN_INSTANCES)) \
# ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request