← harnesscd-example-apps

removed blugreen and canary

c33897be25bb584e2e7673a2db3da9c1f2e81551 · Pravin M · Aug 14, 2023 15:35

−123 · 2 files changed

  • google_cloud_function/1st_gen/bluegreen-pipeline.yml +0 −58
  • google_cloud_function/1st_gen/canary-pipeline.yml +0 −65
diff --git a/google_cloud_function/1st_gen/bluegreen-pipeline.yml b/google_cloud_function/1st_gen/bluegreen-pipeline.yml
deleted file mode 100644
index 11ccef8..0000000
--- a/google_cloud_function/1st_gen/bluegreen-pipeline.yml
+++ /dev/null
@@ -1,58 +0,0 @@
-pipeline:
-  name: hello_world
-  identifier: hello_world
-  projectIdentifier: default_project
-  orgIdentifier: default
-  tags: {}
-  stages:
-    - stage:
-        name: hello_world
-        identifier: helloworld
-        description: ""
-        type: Deployment
-        spec:
-          deploymentType: GoogleCloudFunctions
-          deploymentMetadata:
-            environmentType: GenOne
-          execution:
-            steps:
-              - stepGroup:
-                  name: Blue Green Deployment
-                  identifier: blueGreenDepoyment
-                  steps:
-                    - step:
-                        name: Deploy Cloud Function With No Traffic
-                        identifier: deployCloudFunctionWithNoTraffic
-                        type: DeployCloudFunctionWithNoTraffic
-                        timeout: 10m
-                        spec: {}
-                    - step:
-                        name: Cloud Function Traffic Shift
-                        identifier: cloudFunctionTrafficShift
-                        type: CloudFunctionTrafficShift
-                        timeout: 10m
-                        spec:
-                          trafficPercent: 100
-          service:
-            serviceRef: hello_world
-            serviceInputs:
-              serviceDefinition:
-                type: GoogleCloudFunctions
-                spec:
-                  artifacts:
-                    primary:
-                      primaryArtifactRef: <+input>
-                      sources: <+input>
-          environment:
-            environmentRef: harnessdevenv
-            deployToAll: false
-            infrastructureDefinitions:
-              - identifier: gcpk8s
-        tags: {}
-        failureStrategies:
-          - onFailure:
-              errors:
-                - AllErrors
-              action:
-                type: StageRollback
-        variables: []
diff --git a/google_cloud_function/1st_gen/canary-pipeline.yml b/google_cloud_function/1st_gen/canary-pipeline.yml
deleted file mode 100644
index 5bde461..0000000
--- a/google_cloud_function/1st_gen/canary-pipeline.yml
+++ /dev/null
@@ -1,65 +0,0 @@
-pipeline:
-  name: hello_world
-  identifier: hello_world
-  projectIdentifier: default_project
-  orgIdentifier: default
-  tags: {}
-  stages:
-    - stage:
-        name: hello_world
-        identifier: helloworld
-        description: ""
-        type: Deployment
-        spec:
-          deploymentType: GoogleCloudFunctions
-          deploymentMetadata:
-            environmentType: GenOne
-          execution:
-            steps:
-              - stepGroup:
-                  name: Canary Deployment
-                  identifier: canaryDepoyment
-                  steps:
-                    - step:
-                        name: Deploy Cloud Function With No Traffic
-                        identifier: deployCloudFunctionWithNoTraffic
-                        type: DeployCloudFunctionWithNoTraffic
-                        timeout: 10m
-                        spec: {}
-                    - step:
-                        name: Cloud Function Traffic Shift
-                        identifier: cloudFunctionTrafficShiftFirst
-                        type: CloudFunctionTrafficShift
-                        timeout: 10m
-                        spec:
-                          trafficPercent: 10
-                    - step:
-                        name: Cloud Function Traffic Shift
-                        identifier: cloudFunctionTrafficShiftSecond
-                        type: CloudFunctionTrafficShift
-                        timeout: 10m
-                        spec:
-                          trafficPercent: 100
-          service:
-            serviceRef: hello_world
-            serviceInputs:
-              serviceDefinition:
-                type: GoogleCloudFunctions
-                spec:
-                  artifacts:
-                    primary:
-                      primaryArtifactRef: <+input>
-                      sources: <+input>
-          environment:
-            environmentRef: harnessdevenv
-            deployToAll: false
-            infrastructureDefinitions:
-              - identifier: gcpk8s
-        tags: {}
-        failureStrategies:
-          - onFailure:
-              errors:
-                - AllErrors
-              action:
-                type: StageRollback
-        variables: []