Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Cloud Function gen1 #152

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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