From a8e7e5653d28f7a23b9a4f73084f6883c3ab9ad3 Mon Sep 17 00:00:00 2001 From: EPortman <169073732+EPortman@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:46:56 -0800 Subject: [PATCH] Change cd name (#1641) * cd: update cd name * update clouddeploy name --- services/emailer/devops/gcp/clouddeploy.yaml | 104 +++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 services/emailer/devops/gcp/clouddeploy.yaml diff --git a/services/emailer/devops/gcp/clouddeploy.yaml b/services/emailer/devops/gcp/clouddeploy.yaml new file mode 100644 index 000000000..b81e27f33 --- /dev/null +++ b/services/emailer/devops/gcp/clouddeploy.yaml @@ -0,0 +1,104 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +apiVersion: deploy.cloud.google.com/v1 +kind: Target +metadata: + name: dev +description: Dev Environment +deployParameters: + deploy-env: "development" + deploy-project-id: "a083gt-dev" + service-name: "namex-emailer-dev" + container-name: "namex-emailer-dev" + cloudsql-instances: "" + app-env: "dev" + service-account: "sa-api@a083gt-dev.iam.gserviceaccount.com" +run: + location: projects/a083gt-dev/locations/northamerica-northeast1 +executionConfigs: +- usages: [DEPLOY, RENDER] + artifactStorage: 'gs://c4hnrd-tools_clouddeploy/history' +--- + +apiVersion: deploy.cloud.google.com/v1 +kind: Target +metadata: + name: test +description: Test Environment +deployParameters: + deploy-env: "development" + deploy-project-id: "a083gt-test" + service-name: "namex-emailer-test" + container-name: "namex-emailer-test" + cloudsql-instances: "" + app-env: "test" + service-account: "sa-api@a083gt-test.iam.gserviceaccount.com" +run: + location: projects/a083gt-test/locations/northamerica-northeast1 +executionConfigs: +- usages: [DEPLOY, RENDER] + artifactStorage: 'gs://c4hnrd-tools_clouddeploy/history' +--- + +apiVersion: deploy.cloud.google.com/v1 +kind: Target +metadata: + name: sandbox +description: Sandbox Environment +requireApproval: true +deployParameters: + deploy-env: "production" + deploy-project-id: "a083gt-tools" + service-name: "namex-emailer-sandbox" + container-name: "namex-emailer-sandbox" + cloudsql-instances: "" + app-env: "sandbox" + service-account: "sa-api@a083gt-tools.iam.gserviceaccount.com" + max-scale: "50" + container-concurrency: "20" + container-port: "8080" + resources-cpu: 4000m + resources-memory: 8Gi +run: + location: projects/a083gt-tools/locations/northamerica-northeast1 +executionConfigs: +- usages: [DEPLOY, RENDER] + artifactStorage: 'gs://c4hnrd-tools_clouddeploy/history' +--- + +apiVersion: deploy.cloud.google.com/v1 +kind: Target +metadata: + name: prod +description: Production Environment +requireApproval: true +deployParameters: + deploy-env: "production" + deploy-project-id: "a083gt-prod" + service-name: "namex-emailer-prod" + container-name: "namex-emailer-prod" + cloudsql-instances: "" + app-env: "production" + service-account: "sa-api@a083gt-prod.iam.gserviceaccount.com" + max-scale: "50" + container-concurrency: "20" + container-port: "8080" + resources-cpu: 4000m + resources-memory: 8Gi +run: + location: projects/a083gt-prod/locations/northamerica-northeast1 +executionConfigs: +- usages: [DEPLOY, RENDER] + artifactStorage: 'gs://c4hnrd-tools_clouddeploy/history' \ No newline at end of file