Skip to content

Commit

Permalink
Merge pull request #152 from cybozu-go/use-gen1
Browse files Browse the repository at this point in the history
Use Cloud Function gen1
  • Loading branch information
chez-shanpu authored Sep 20, 2024
2 parents f3636fe + 30be963 commit c82396a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.dctest
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ delete-compute-service-account:

deploy-function:
gcloud --quiet functions deploy $(FUNCTION_NAME) \
--no-gen2 \
--project $(GCP_PROJECT) \
--region $(REGION) \
--entry-point AutoDCTestEntryPoint \
Expand Down
2 changes: 2 additions & 0 deletions Makefile.instancedel
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ delete-service-account:
# ref: https://cloud.google.com/functions/docs/securing/managing-access-iam#allowing_unauthenticated_http_function_invocation
deploy-extend-function:
gcloud --quiet functions deploy extend \
--no-gen2 \
--project $(GCP_PROJECT) \
--region $(REGION) \
--entry-point ExtendEntryPoint \
Expand All @@ -73,6 +74,7 @@ deploy-extend-function:

deploy-shutdown-function:
gcloud --quiet functions deploy shutdown \
--no-gen2 \
--project $(GCP_PROJECT) \
--region $(REGION) \
--entry-point ShutdownEntryPoint \
Expand Down
1 change: 1 addition & 0 deletions Makefile.slack
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ delete-service-account:

deploy-function:
gcloud --quiet functions deploy $(FUNCTION_NAME) \
--no-gen2 \
--project $(GCP_PROJECT) \
--region $(REGION) \
--entry-point SlackNotifierEntryPoint \
Expand Down

0 comments on commit c82396a

Please sign in to comment.