Skip to content

Commit

Permalink
cloud: Force gen1 Cloud Functions
Browse files Browse the repository at this point in the history
  • Loading branch information
spbnick committed Sep 12, 2024
1 parent c44e097 commit e0c4784
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kcidb/cloud/function.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ function function_deploy() {
declare -r project="$1"; shift
declare -r prefix="$1"; shift
declare -r name="$1"; shift
# TODO Upgrade to gen2
sections_run_explicit "$sections" \
"functions.$name" deploy \
mute gcloud functions deploy --quiet --project="$project" \
--region="$FUNCTION_REGION" \
--docker-registry=artifact-registry \
--runtime python39 \
--no-gen2 \
--source "$source" "${prefix}${name}" \
--entry-point "kcidb_${name}" \
"$@"
Expand Down

0 comments on commit e0c4784

Please sign in to comment.