From 7d054f7c9d7f702fd8cf90c01f030094cf7f1ad3 Mon Sep 17 00:00:00 2001 From: Rodrigo Delduca <46259+skhaz@users.noreply.github.com> Date: Fri, 17 Nov 2023 12:10:49 -0300 Subject: [PATCH] Work in progress --- .github/workflows/deploy.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 05a0ce5..5431a8c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -51,25 +51,25 @@ jobs: apiVersion: serving.knative.dev/v1 kind: Service metadata: - name: $SERVICE_NAME + name: "$SERVICE_NAME" labels: - cloud.googleapis.com/location: $REGION + cloud.googleapis.com/location: "$REGION" annotations: - run.googleapis.com/execution-environment: gen2 + run.googleapis.com/execution-environment: "gen2" run.googleapis.com/startup-cpu-boost: "true" - autoscaling.knative.dev/maxScale: 16 + autoscaling.knative.dev/maxScale: "16" spec: template: spec: - containerConcurrency: 120 - timeoutSeconds: 60 + containerConcurrency: "120" + timeoutSeconds: "60" containers: - - image: $REGISTRY/$SERVICE_NAME:$GITHUB_SHA - name: play + - image: "$REGISTRY/$SERVICE_NAME:$GITHUB_SHA" + name: "play" resources: limits: - cpu: 4000m - memory: 8Gi + cpu: "4000m" + memory: "8Gi" EOF gcloud run services replace service.yaml