From b33e20e5802e2002ef6a0b71e02c6299359849cc Mon Sep 17 00:00:00 2001 From: KapilDigani Date: Fri, 25 Feb 2022 16:11:01 +0530 Subject: [PATCH 001/170] Create connector K8s --- Config/.harness/K8s.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Config/.harness/K8s.yaml diff --git a/Config/.harness/K8s.yaml b/Config/.harness/K8s.yaml new file mode 100644 index 0000000..b806c4e --- /dev/null +++ b/Config/.harness/K8s.yaml @@ -0,0 +1,12 @@ +connector: + name: K8s + identifier: K8s + description: + orgIdentifier: KD + projectIdentifier: KD_QuickStart + type: K8sCluster + spec: + credential: + type: InheritFromDelegate + delegateSelectors: + - kd1-gcp From ad9e54a7d5a24e56af6c64a13db86ad114a3f552 Mon Sep 17 00:00:00 2001 From: KapilDigani <86942553+KapilDigani@users.noreply.github.com> Date: Wed, 16 Mar 2022 12:28:01 +0530 Subject: [PATCH 002/170] Update K8s.yaml --- Config/.harness/K8s.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config/.harness/K8s.yaml b/Config/.harness/K8s.yaml index b806c4e..872390a 100644 --- a/Config/.harness/K8s.yaml +++ b/Config/.harness/K8s.yaml @@ -1,7 +1,7 @@ connector: name: K8s identifier: K8s - description: + description: "Commented in Git" orgIdentifier: KD projectIdentifier: KD_QuickStart type: K8sCluster From b194802ff3f6ab3792bf244ef43d3623225620bf Mon Sep 17 00:00:00 2001 From: KapilDigani <86942553+KapilDigani@users.noreply.github.com> Date: Wed, 16 Mar 2022 12:29:15 +0530 Subject: [PATCH 003/170] Update K8s.yaml --- Config/.harness/K8s.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config/.harness/K8s.yaml b/Config/.harness/K8s.yaml index 872390a..2d7c4b8 100644 --- a/Config/.harness/K8s.yaml +++ b/Config/.harness/K8s.yaml @@ -1,7 +1,7 @@ connector: name: K8s identifier: K8s - description: "Commented in Git" + description: "Commented in Git to test the conflict" orgIdentifier: KD projectIdentifier: KD_QuickStart type: K8sCluster From fcee2c42e4b363c9f8c7e51dcf2095959bfaa184 Mon Sep 17 00:00:00 2001 From: KapilDigani Date: Wed, 16 Mar 2022 12:32:13 +0530 Subject: [PATCH 004/170] Update connector K8s --- Config/.harness/K8s.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config/.harness/K8s.yaml b/Config/.harness/K8s.yaml index 2d7c4b8..8788d8d 100644 --- a/Config/.harness/K8s.yaml +++ b/Config/.harness/K8s.yaml @@ -1,7 +1,7 @@ connector: name: K8s identifier: K8s - description: "Commented in Git to test the conflict" + description: Commented in Harness to test the conflict orgIdentifier: KD projectIdentifier: KD_QuickStart type: K8sCluster From f3268f94e48c80470294aadf1a2b2adf2641bc0b Mon Sep 17 00:00:00 2001 From: Admin Date: Wed, 25 May 2022 16:47:20 +0530 Subject: [PATCH 005/170] Create pipeline Remote1 --- .harness/Remote1.yaml | 53 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .harness/Remote1.yaml diff --git a/.harness/Remote1.yaml b/.harness/Remote1.yaml new file mode 100644 index 0000000..ed8ae73 --- /dev/null +++ b/.harness/Remote1.yaml @@ -0,0 +1,53 @@ +pipeline: + name: Remote1 + identifier: Remote1 + projectIdentifier: KD_Test + orgIdentifier: default + tags: {} + stages: + - stage: + name: Deploy + identifier: Deploy + description: "" + type: Deployment + spec: + serviceConfig: + serviceRef: <+input> + serviceDefinition: + spec: + variables: [] + type: Kubernetes + infrastructure: + environmentRef: <+input> + infrastructureDefinition: + type: KubernetesDirect + spec: + connectorRef: <+input> + namespace: <+input> + releaseName: release-<+INFRA_KEY> + allowSimultaneousDeployments: false + execution: + steps: + - step: + type: ShellScript + name: Test + identifier: Test + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo "Main Branch" + environmentVariables: [] + outputVariables: [] + executionTarget: {} + timeout: 10m + rollbackSteps: [] + tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: StageRollback From f75c46a9b6684507296deae60b2f9873e01e5b09 Mon Sep 17 00:00:00 2001 From: "kapil.digani@harness.io" Date: Wed, 29 Jun 2022 19:06:41 +0530 Subject: [PATCH 006/170] Create pipeline Test for Anduin --- .harness/Test_for_Anduin.yaml | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .harness/Test_for_Anduin.yaml diff --git a/.harness/Test_for_Anduin.yaml b/.harness/Test_for_Anduin.yaml new file mode 100644 index 0000000..b1cdff9 --- /dev/null +++ b/.harness/Test_for_Anduin.yaml @@ -0,0 +1,47 @@ +pipeline: + name: Test for Anduin + identifier: Test_for_Anduin + projectIdentifier: kapil_digani_test + orgIdentifier: aaaorg + tags: {} + stages: + - stage: + name: Approval + identifier: Approval + description: "" + type: Approval + spec: + execution: + steps: + - step: + type: ShellScript + name: Echo + identifier: Echo + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo "Hello from Git" + environmentVariables: [] + outputVariables: [] + executionTarget: {} + timeout: 10m + - step: + name: Approvers + identifier: Approvers + type: HarnessApproval + timeout: 1d + spec: + approvalMessage: |- + Please review the following information + and approve the pipeline progression + includePipelineExecutionHistory: true + approvers: + minimumCount: 1 + disallowPipelineExecutor: false + userGroups: + - account.Approvers + approverInputs: [] + tags: {} From 6b604adf9820dffea42ee5b96dfaa62a11fbf123 Mon Sep 17 00:00:00 2001 From: "kapil.digani@harness.io" Date: Thu, 30 Jun 2022 10:30:51 +0530 Subject: [PATCH 007/170] Create pipeline Demo for NAB --- .harness/Demo_for_NAB.yaml | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .harness/Demo_for_NAB.yaml diff --git a/.harness/Demo_for_NAB.yaml b/.harness/Demo_for_NAB.yaml new file mode 100644 index 0000000..0b4a550 --- /dev/null +++ b/.harness/Demo_for_NAB.yaml @@ -0,0 +1,47 @@ +pipeline: + name: Demo for NAB + identifier: Demo_for_NAB + projectIdentifier: kapil_digani_test + orgIdentifier: aaaorg + tags: {} + stages: + - stage: + name: Approval + identifier: Approval + description: "" + type: Approval + spec: + execution: + steps: + - step: + type: ShellScript + name: Echo + identifier: Echo + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo "Hello from default branch" + environmentVariables: [] + outputVariables: [] + executionTarget: {} + timeout: 10m + - step: + name: Approvers + identifier: Approvers + type: HarnessApproval + timeout: 1d + spec: + approvalMessage: |- + Please review the following information + and approve the pipeline progression + includePipelineExecutionHistory: true + approvers: + minimumCount: 1 + disallowPipelineExecutor: false + userGroups: + - account.Approvers + approverInputs: [] + tags: {} From 68c873b73b06b3310253d8900703f9342326c669 Mon Sep 17 00:00:00 2001 From: "kapil.digani@harness.io" Date: Thu, 30 Jun 2022 10:33:32 +0530 Subject: [PATCH 008/170] Update pipeline Demo for NAB --- .harness/Demo_for_NAB.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/Demo_for_NAB.yaml b/.harness/Demo_for_NAB.yaml index 0b4a550..1480bb0 100644 --- a/.harness/Demo_for_NAB.yaml +++ b/.harness/Demo_for_NAB.yaml @@ -23,7 +23,7 @@ pipeline: source: type: Inline spec: - script: echo "Hello from default branch" + script: echo "Hello from Feature branch" environmentVariables: [] outputVariables: [] executionTarget: {} From 9ba4458fddbe2bdac79b43131bc468904145ee75 Mon Sep 17 00:00:00 2001 From: KapilDigani <86942553+KapilDigani@users.noreply.github.com> Date: Fri, 22 Jul 2022 14:15:26 +0530 Subject: [PATCH 009/170] Delete Demo_for_NAB.yaml --- .harness/Demo_for_NAB.yaml | 47 -------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .harness/Demo_for_NAB.yaml diff --git a/.harness/Demo_for_NAB.yaml b/.harness/Demo_for_NAB.yaml deleted file mode 100644 index 1480bb0..0000000 --- a/.harness/Demo_for_NAB.yaml +++ /dev/null @@ -1,47 +0,0 @@ -pipeline: - name: Demo for NAB - identifier: Demo_for_NAB - projectIdentifier: kapil_digani_test - orgIdentifier: aaaorg - tags: {} - stages: - - stage: - name: Approval - identifier: Approval - description: "" - type: Approval - spec: - execution: - steps: - - step: - type: ShellScript - name: Echo - identifier: Echo - spec: - shell: Bash - onDelegate: true - source: - type: Inline - spec: - script: echo "Hello from Feature branch" - environmentVariables: [] - outputVariables: [] - executionTarget: {} - timeout: 10m - - step: - name: Approvers - identifier: Approvers - type: HarnessApproval - timeout: 1d - spec: - approvalMessage: |- - Please review the following information - and approve the pipeline progression - includePipelineExecutionHistory: true - approvers: - minimumCount: 1 - disallowPipelineExecutor: false - userGroups: - - account.Approvers - approverInputs: [] - tags: {} From 227a93061201cf9f95c48e3271034bcd88f7c631 Mon Sep 17 00:00:00 2001 From: "kapil.digani@harness.io" Date: Mon, 25 Jul 2022 11:24:01 +0530 Subject: [PATCH 010/170] Create pipeline Demo for 6Sense --- .harness/Demo_for_6Sense.yaml | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .harness/Demo_for_6Sense.yaml diff --git a/.harness/Demo_for_6Sense.yaml b/.harness/Demo_for_6Sense.yaml new file mode 100644 index 0000000..90578fa --- /dev/null +++ b/.harness/Demo_for_6Sense.yaml @@ -0,0 +1,47 @@ +pipeline: + name: Demo for 6Sense + identifier: Demo_for_6Sense + projectIdentifier: kapil_digani_test + orgIdentifier: aaaorg + tags: {} + stages: + - stage: + name: Approval + identifier: Approval + description: "" + type: Approval + spec: + execution: + steps: + - step: + type: ShellScript + name: Echo + identifier: Echo + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo " Hello from Main branch" + environmentVariables: [] + outputVariables: [] + executionTarget: {} + timeout: 10m + - step: + name: Approvers + identifier: Approvers + type: HarnessApproval + timeout: 1d + spec: + approvalMessage: |- + Please review the following information + and approve the pipeline progression + includePipelineExecutionHistory: true + approvers: + minimumCount: 1 + disallowPipelineExecutor: false + userGroups: + - account.Approvers + approverInputs: [] + tags: {} From 376c45f5d6ee8c6f19e010becbe98ff27006253b Mon Sep 17 00:00:00 2001 From: KapilDigani <86942553+KapilDigani@users.noreply.github.com> Date: Mon, 25 Jul 2022 11:24:42 +0530 Subject: [PATCH 011/170] Update Demo_for_6Sense.yaml --- .harness/Demo_for_6Sense.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/Demo_for_6Sense.yaml b/.harness/Demo_for_6Sense.yaml index 90578fa..d266528 100644 --- a/.harness/Demo_for_6Sense.yaml +++ b/.harness/Demo_for_6Sense.yaml @@ -23,7 +23,7 @@ pipeline: source: type: Inline spec: - script: echo " Hello from Main branch" + script: echo " Hello from Feature-6 branch" environmentVariables: [] outputVariables: [] executionTarget: {} From e7534362ab4f964300838d21c122cf92e108cf19 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Sun, 9 Oct 2022 21:31:10 +0530 Subject: [PATCH 012/170] Create pipeline sudartest --- sudartest.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 sudartest.yaml diff --git a/sudartest.yaml b/sudartest.yaml new file mode 100644 index 0000000..0617f71 --- /dev/null +++ b/sudartest.yaml @@ -0,0 +1,32 @@ +pipeline: + name: sudartest + identifier: sudartest + projectIdentifier: TF_Test_Sudar + orgIdentifier: default + tags: {} + stages: + - stage: + name: approval + identifier: approval + description: "" + type: Approval + spec: + execution: + steps: + - step: + name: approval step + identifier: approval_step + type: HarnessApproval + timeout: 1d + spec: + approvalMessage: |- + Please review the following information + and approve the pipeline progression + includePipelineExecutionHistory: true + approvers: + minimumCount: 1 + disallowPipelineExecutor: false + userGroups: + - account.ProductManagement + approverInputs: [] + tags: {} From d5257ea24deae95c5d2c6faad32e68e68f99f9e5 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Sun, 9 Oct 2022 21:32:48 +0530 Subject: [PATCH 013/170] Update pipeline sudartest --- sudartest.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 0617f71..190f746 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -29,4 +29,21 @@ pipeline: userGroups: - account.ProductManagement approverInputs: [] + - step: + type: ShellScript + name: sudarstep + identifier: sudarstep + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo "hello" + environmentVariables: + - name: inputvar + type: String + value: test + outputVariables: [] + timeout: 10m tags: {} From d15be2bd812824d02483e090326623dd59983d1f Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 26 Oct 2022 16:54:52 +0530 Subject: [PATCH 014/170] Update pipeline sudartest --- sudartest.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 190f746..cec8f01 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -47,3 +47,9 @@ pipeline: outputVariables: [] timeout: 10m tags: {} + - stage: + name: customstage + identifier: customstage + template: + templateRef: approvaltemplate + versionLabel: v1 From 0c6c8b38b62c964342969c2d24a6d8097958c014 Mon Sep 17 00:00:00 2001 From: Kapil Digani Date: Mon, 16 Jan 2023 12:48:04 +0530 Subject: [PATCH 015/170] Create pipeline Demo1 --- .harness/Demo1.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .harness/Demo1.yaml diff --git a/.harness/Demo1.yaml b/.harness/Demo1.yaml new file mode 100644 index 0000000..a0ab359 --- /dev/null +++ b/.harness/Demo1.yaml @@ -0,0 +1,30 @@ +pipeline: + name: Demo1 + identifier: Demo1 + projectIdentifier: KD_Git_Ex + orgIdentifier: KD + tags: {} + stages: + - stage: + name: Custom + identifier: Custom + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: Shell Script_1 + identifier: ShellScript_1 + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo "Hello from Git" + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {} From 6d8c897ba23a3ce2fdc3a9232cb25bc5416bfb61 Mon Sep 17 00:00:00 2001 From: Kapil Digani Date: Thu, 9 Mar 2023 13:37:36 +0530 Subject: [PATCH 016/170] Create pipeline Remote 1 --- .harness/Remote_1.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .harness/Remote_1.yaml diff --git a/.harness/Remote_1.yaml b/.harness/Remote_1.yaml new file mode 100644 index 0000000..f5a3dee --- /dev/null +++ b/.harness/Remote_1.yaml @@ -0,0 +1,30 @@ +pipeline: + name: Remote 1 + identifier: Remote_1 + projectIdentifier: KD_Playground + orgIdentifier: default + tags: {} + stages: + - stage: + name: Custom + identifier: Custom + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: Shell Script_1 + identifier: ShellScript_1 + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo "Welcome to Git Experience" + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {} From b0f4fdb3c2d5c8a94c321c9a0eaa984f2588a067 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:12:34 +0530 Subject: [PATCH 017/170] Update pipeline sudartest --- sudartest.yaml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index cec8f01..e0cbc15 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -28,7 +28,9 @@ pipeline: disallowPipelineExecutor: false userGroups: - account.ProductManagement - approverInputs: [] + approverInputs: + - name: testinput + defaultValue: "" - step: type: ShellScript name: sudarstep @@ -48,8 +50,13 @@ pipeline: timeout: 10m tags: {} - stage: - name: customstage - identifier: customstage - template: - templateRef: approvaltemplate - versionLabel: v1 + name: child + identifier: child + description: "" + type: Pipeline + spec: + org: default + pipeline: Approval_Pipeline + project: TF_Test_Sudar + outputs: [] + tags: {} From fce6204617055799b5ceb6ee4949ff31a2041c1b Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:14:24 +0530 Subject: [PATCH 018/170] Update pipeline sudartest --- sudartest.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index e0cbc15..7543800 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -60,3 +60,26 @@ pipeline: project: TF_Test_Sudar outputs: [] tags: {} + - stage: + name: custom23 + identifier: custom23 + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: <+input> + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {} From cb7f84bfc4a6134c2ee2cbf5b0bf0382ff7129a0 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:16:02 +0530 Subject: [PATCH 019/170] Update pipeline sudartest --- sudartest.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 7543800..3a878b6 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -59,6 +59,24 @@ pipeline: pipeline: Approval_Pipeline project: TF_Test_Sudar outputs: [] + inputs: + identifier: Approval_Pipeline + stages: + - stage: + identifier: customs3 + type: Custom + spec: + execution: + steps: + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + environmentVariables: + - name: input4 + type: String + value: <+input> + timeout: <+input> tags: {} - stage: name: custom23 From 1b8932195c682430955a2bedaa54eca286cc9892 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:18:36 +0530 Subject: [PATCH 020/170] Update pipeline sudartest --- sudartest.yaml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 3a878b6..83c0be1 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -59,24 +59,8 @@ pipeline: pipeline: Approval_Pipeline project: TF_Test_Sudar outputs: [] - inputs: - identifier: Approval_Pipeline - stages: - - stage: - identifier: customs3 - type: Custom - spec: - execution: - steps: - - step: - identifier: ShellScript_1 - type: ShellScript - spec: - environmentVariables: - - name: input4 - type: String - value: <+input> - timeout: <+input> + inputSetReferences: + - input_prod tags: {} - stage: name: custom23 From 133cdb840efc9a6147e2c593fab0646af3462e07 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:19:53 +0530 Subject: [PATCH 021/170] Update pipeline sudartest --- sudartest.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 83c0be1..1f87f34 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -60,7 +60,7 @@ pipeline: project: TF_Test_Sudar outputs: [] inputSetReferences: - - input_prod + - <+pipeline.pipeline.variables.input_set_name> tags: {} - stage: name: custom23 @@ -85,3 +85,8 @@ pipeline: outputVariables: [] timeout: 10m tags: {} + variables: + - name: input_set_name + type: String + description: "" + value: "" From 0be2809554954622c17359dd3ac15d44d0d7d140 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:20:45 +0530 Subject: [PATCH 022/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 1f87f34..1a89eff 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -89,4 +89,4 @@ pipeline: - name: input_set_name type: String description: "" - value: "" + value: <+input> From 74887da4a5770cb0a2b896bd1641a9f6af3e9d20 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:32:16 +0530 Subject: [PATCH 023/170] Update pipeline sudartest --- sudartest.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 1a89eff..c3ff4d8 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -60,7 +60,9 @@ pipeline: project: TF_Test_Sudar outputs: [] inputSetReferences: - - <+pipeline.pipeline.variables.input_set_name> + - <+pipeline.variables.input_set_name> + - <+pipeline.variables.input_set_name2> + - <+pipeline.variables.input_set_name3> tags: {} - stage: name: custom23 From 25e158763943f45a6998da252dd62f080e1a9180 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:32:59 +0530 Subject: [PATCH 024/170] Update pipeline sudartest --- sudartest.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index c3ff4d8..dcd72d7 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -92,3 +92,11 @@ pipeline: type: String description: "" value: <+input> + - name: input_set_name2 + type: String + description: "" + value: "" + - name: input_set_name3 + type: String + description: "" + value: "" From 2c22a71aac4a27f2d85d288349dd2e7c6a147130 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:33:41 +0530 Subject: [PATCH 025/170] Update pipeline sudartest --- sudartest.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index dcd72d7..d7f9a67 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -95,8 +95,8 @@ pipeline: - name: input_set_name2 type: String description: "" - value: "" + value: <+input> - name: input_set_name3 type: String description: "" - value: "" + value: <+input> From f58bdc6b50d6386b2d75c33326de78452b9fb9da Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 10:34:43 +0530 Subject: [PATCH 026/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index d7f9a67..f99e92b 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -60,7 +60,7 @@ pipeline: project: TF_Test_Sudar outputs: [] inputSetReferences: - - <+pipeline.variables.input_set_name> + - <+input> - <+pipeline.variables.input_set_name2> - <+pipeline.variables.input_set_name3> tags: {} From 4dbdcd3d3bfb971f6cec80a690fc94a633bdf775 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 12:05:44 +0530 Subject: [PATCH 027/170] Update pipeline sudartest --- sudartest.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index f99e92b..7913ebd 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -60,9 +60,9 @@ pipeline: project: TF_Test_Sudar outputs: [] inputSetReferences: - - <+input> - - <+pipeline.variables.input_set_name2> - - <+pipeline.variables.input_set_name3> + - "" + - "" + - "" tags: {} - stage: name: custom23 From 8a7bab73c0c45fc86f5751041963e3ea3af00260 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Mar 2023 12:11:27 +0530 Subject: [PATCH 028/170] Update pipeline sudartest --- sudartest.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 7913ebd..e5b7ec8 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -87,6 +87,45 @@ pipeline: outputVariables: [] timeout: 10m tags: {} + - stage: + name: deploystage + identifier: deploystage + description: "" + type: Deployment + spec: + deploymentType: Kubernetes + service: + serviceRef: SudarService + execution: + steps: + - step: + name: Rollout Deployment + identifier: rolloutDeployment + type: K8sRollingDeploy + timeout: 10m + spec: + skipDryRun: false + pruningEnabled: false + rollbackSteps: + - step: + name: Rollback Rollout Deployment + identifier: rollbackRolloutDeployment + type: K8sRollingRollback + timeout: 10m + spec: + pruningEnabled: false + environment: + environmentRef: account.dev + deployToAll: false + infrastructureDefinitions: + - identifier: dev + tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: StageRollback variables: - name: input_set_name type: String From 6cdc05c38b095e2ff0a6948f97327b0f98d61bd4 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 29 Mar 2023 14:55:20 +0530 Subject: [PATCH 029/170] Update pipeline sudartest --- sudartest.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index e5b7ec8..5c991f0 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -125,7 +125,11 @@ pipeline: errors: - AllErrors action: - type: StageRollback + type: Retry + spec: + retryCount: 4 + retryIntervals: + - 1d variables: - name: input_set_name type: String From fcca4007f1888012644afb78383f68df2745ff3a Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Mon, 3 Apr 2023 11:36:20 +0530 Subject: [PATCH 030/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 5c991f0..fc11ab9 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -143,3 +143,4 @@ pipeline: type: String description: "" value: <+input> + allowStageExecutions: true From c6ea728780b08fc25f277bb7a996f884d25ba01b Mon Sep 17 00:00:00 2001 From: Kapil Digani Date: Thu, 18 May 2023 13:47:33 +0530 Subject: [PATCH 031/170] Create pipeline GitX Settings Test --- .harness/GitX_Settings_Test.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .harness/GitX_Settings_Test.yaml diff --git a/.harness/GitX_Settings_Test.yaml b/.harness/GitX_Settings_Test.yaml new file mode 100644 index 0000000..20b856b --- /dev/null +++ b/.harness/GitX_Settings_Test.yaml @@ -0,0 +1,30 @@ +pipeline: + name: GitX Settings Test + identifier: GitX_Settings_Test + projectIdentifier: KD_Git_Ex + orgIdentifier: KD + tags: {} + stages: + - stage: + name: Custom + identifier: Custom + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: echo + identifier: echo + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo "Hello There" + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {} From 4a6f331317c06395628cfe2258911a27556d015f Mon Sep 17 00:00:00 2001 From: KapilDigani Date: Thu, 18 May 2023 14:58:02 +0530 Subject: [PATCH 032/170] Update pipeline GitX Settings Test --- .harness/GitX_Settings_Test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/GitX_Settings_Test.yaml b/.harness/GitX_Settings_Test.yaml index 20b856b..8e5a6a8 100644 --- a/.harness/GitX_Settings_Test.yaml +++ b/.harness/GitX_Settings_Test.yaml @@ -23,7 +23,7 @@ pipeline: source: type: Inline spec: - script: echo "Hello There" + script: echo "Hello OAuth" environmentVariables: [] outputVariables: [] timeout: 10m From c3ab8dc490f4d16b846efdac485330332089b759 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 7 Jun 2023 18:55:25 +0530 Subject: [PATCH 033/170] Update pipeline sudartest --- sudartest.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index fc11ab9..65b3f70 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -144,3 +144,7 @@ pipeline: description: "" value: <+input> allowStageExecutions: true + flowControl: + barriers: + - name: testbarrier + identifier: testbarrier From f30e0ba25bef3b49ef27e9bef1d843662583cf0a Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Mon, 12 Jun 2023 12:14:53 +0530 Subject: [PATCH 034/170] Update pipeline sudartest --- sudartest.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 65b3f70..44b47a6 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -3,7 +3,8 @@ pipeline: identifier: sudartest projectIdentifier: TF_Test_Sudar orgIdentifier: default - tags: {} + tags: + name: mohit stages: - stage: name: approval From ca5780ce48d8e0ee4e329308b9934edb02276849 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Mon, 12 Jun 2023 13:13:48 +0530 Subject: [PATCH 035/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 44b47a6..52434e9 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -5,6 +5,7 @@ pipeline: orgIdentifier: default tags: name: mohit + type: <+input> stages: - stage: name: approval From 139bb265179dd42954d1f0c9b7291600a4a43f96 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 13 Jun 2023 10:24:15 +0530 Subject: [PATCH 036/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 52434e9..534afd6 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -104,7 +104,7 @@ pipeline: name: Rollout Deployment identifier: rolloutDeployment type: K8sRollingDeploy - timeout: 10m + timeout: <+input> spec: skipDryRun: false pruningEnabled: false From 3eec9928caa6d7c7bda645f770bd7a175308e98e Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Mon, 3 Jul 2023 22:50:26 +0530 Subject: [PATCH 037/170] Update pipeline sudartest --- sudartest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 534afd6..3ab2ab5 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -132,6 +132,9 @@ pipeline: retryCount: 4 retryIntervals: - 1d + onRetryFailure: + action: + type: Ignore variables: - name: input_set_name type: String From 4314cf0c10ac18e10839d5d7c03fe7fdf45ade8c Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Fri, 7 Jul 2023 13:54:05 +0530 Subject: [PATCH 038/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 3ab2ab5..5b77061 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -139,6 +139,7 @@ pipeline: - name: input_set_name type: String description: "" + required: true value: <+input> - name: input_set_name2 type: String From 2bfe16767f6afacf7dac748ee59ceec4491f9f07 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Fri, 7 Jul 2023 17:36:58 +0530 Subject: [PATCH 039/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 5b77061..d42eacf 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -84,7 +84,7 @@ pipeline: source: type: Inline spec: - script: <+input> + script: var1 = "test" environmentVariables: [] outputVariables: [] timeout: 10m From f5d8d74dd89251df94d0703a173c57bcdadce083 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 11 Jul 2023 15:06:02 +0530 Subject: [PATCH 040/170] Update pipeline sudartest --- sudartest.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index d42eacf..526cc39 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -66,6 +66,12 @@ pipeline: - "" - "" tags: {} + variables: + - name: test234 + type: String + description: sdfs + required: false + value: <+input>.executionInput() - stage: name: custom23 identifier: custom23 From 92b5b2bd98d9b4dc8b8fa4a7366d652b876bd32a Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 11 Jul 2023 22:13:00 +0530 Subject: [PATCH 041/170] Update pipeline sudartest --- sudartest.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 526cc39..1f65720 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -94,6 +94,27 @@ pipeline: environmentVariables: [] outputVariables: [] timeout: 10m + - stepGroup: + name: sg1 + identifier: sg1 + steps: + - step: + type: ShellScript + name: ShellScript_sgn + identifier: ShellScript_sgn + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo "hello" + environmentVariables: [] + outputVariables: + - name: hello + type: String + value: <+input> + timeout: 10m tags: {} - stage: name: deploystage From 52d4d79ca6005973617fa192044d1fd592b6edba Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 11 Jul 2023 22:27:07 +0530 Subject: [PATCH 042/170] Update pipeline sudartest --- sudartest.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 1f65720..4532ba2 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -176,6 +176,11 @@ pipeline: type: String description: "" value: <+input> + - name: required_variable + type: String + description: "" + required: false + value: <+input> allowStageExecutions: true flowControl: barriers: From 12466540fe5cbd34f2c142ac9b54cddcdc7a4b1a Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 12 Jul 2023 11:56:18 +0530 Subject: [PATCH 043/170] Create inputset sdfsdsdasa --- .harness/sdfsdsdasa.yaml | 57 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .harness/sdfsdsdasa.yaml diff --git a/.harness/sdfsdsdasa.yaml b/.harness/sdfsdsdasa.yaml new file mode 100644 index 0000000..e5a1ba1 --- /dev/null +++ b/.harness/sdfsdsdasa.yaml @@ -0,0 +1,57 @@ +inputSet: + name: sdfsdsdasa + identifier: sdfsdsdasa + orgIdentifier: default + projectIdentifier: TF_Test_Sudar + pipeline: + identifier: sudartest + tags: + type: "" + stages: + - stage: + identifier: child + type: Pipeline + variables: + - name: test234 + type: String + value: <+input>.executionInput() + - stage: + identifier: custom23 + type: Custom + spec: + execution: + steps: + - stepGroup: + identifier: sg1 + steps: + - step: + identifier: ShellScript_sgn + type: ShellScript + spec: + outputVariables: + - name: hello + type: String + value: <+input> + - stage: + identifier: deploystage + type: Deployment + spec: + execution: + steps: + - step: + identifier: rolloutDeployment + type: K8sRollingDeploy + timeout: <+input> + variables: + - name: input_set_name + type: String + value: <+input> + - name: input_set_name2 + type: String + value: <+input> + - name: input_set_name3 + type: String + value: <+input> + - name: required_variable + type: String + value: <+input> From 618f4d308dd550b64201cd665827b76234221cea Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 12 Jul 2023 11:56:31 +0530 Subject: [PATCH 044/170] Create inputset asaas --- .harness/asaas.yaml | 57 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .harness/asaas.yaml diff --git a/.harness/asaas.yaml b/.harness/asaas.yaml new file mode 100644 index 0000000..43ff796 --- /dev/null +++ b/.harness/asaas.yaml @@ -0,0 +1,57 @@ +inputSet: + name: asaas + identifier: asaas + orgIdentifier: default + projectIdentifier: TF_Test_Sudar + pipeline: + identifier: sudartest + tags: + type: "" + stages: + - stage: + identifier: child + type: Pipeline + variables: + - name: test234 + type: String + value: <+input>.executionInput() + - stage: + identifier: custom23 + type: Custom + spec: + execution: + steps: + - stepGroup: + identifier: sg1 + steps: + - step: + identifier: ShellScript_sgn + type: ShellScript + spec: + outputVariables: + - name: hello + type: String + value: <+input> + - stage: + identifier: deploystage + type: Deployment + spec: + execution: + steps: + - step: + identifier: rolloutDeployment + type: K8sRollingDeploy + timeout: <+input> + variables: + - name: input_set_name + type: String + value: <+input> + - name: input_set_name2 + type: String + value: <+input> + - name: input_set_name3 + type: String + value: <+input> + - name: required_variable + type: String + value: <+input> From bc4d373ec29a553bc458835e94ceb800bf5827a6 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 12 Jul 2023 14:08:47 +0530 Subject: [PATCH 045/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 4532ba2..614a5c3 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -5,7 +5,7 @@ pipeline: orgIdentifier: default tags: name: mohit - type: <+input> + type: testing stages: - stage: name: approval From 207a4f8cb87502d3022996c919e04a27693c8e1e Mon Sep 17 00:00:00 2001 From: "keying.bi@harness.io" Date: Thu, 20 Jul 2023 06:55:06 +0530 Subject: [PATCH 046/170] Create pipeline Remote pipeline --- .harness/Remote_pipeline.yaml | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .harness/Remote_pipeline.yaml diff --git a/.harness/Remote_pipeline.yaml b/.harness/Remote_pipeline.yaml new file mode 100644 index 0000000..859df17 --- /dev/null +++ b/.harness/Remote_pipeline.yaml @@ -0,0 +1,39 @@ +pipeline: + name: Remote pipeline + identifier: Remote_pipeline + projectIdentifier: Rohan + orgIdentifier: default + tags: {} + stages: + - stage: + name: Template CD + identifier: Template_CD + description: "" + type: Deployment + spec: + deploymentType: CustomDeployment + customDeploymentRef: + templateRef: AWS_SAM + versionLabel: 0.0.1 + service: + serviceRef: SAM_Function + execution: + steps: + - step: + name: Fetch Instances + identifier: fetchInstances + type: FetchInstanceScript + timeout: 10m + spec: {} + rollbackSteps: [] + environment: + environmentRef: L2 + deployToAll: false + infrastructureDefinitions: <+input> + tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: StageRollback From fd63fe0995f9b63f0b64aa99b0297feacb2122fa Mon Sep 17 00:00:00 2001 From: "keying.bi@harness.io" Date: Wed, 2 Aug 2023 03:52:18 +0530 Subject: [PATCH 047/170] Update pipeline Remote pipeline --- .harness/Remote_pipeline.yaml | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.harness/Remote_pipeline.yaml b/.harness/Remote_pipeline.yaml index 859df17..82f3ae1 100644 --- a/.harness/Remote_pipeline.yaml +++ b/.harness/Remote_pipeline.yaml @@ -37,3 +37,41 @@ pipeline: - AllErrors action: type: StageRollback + - stage: + name: CD2 + identifier: CD2 + description: "" + type: Deployment + spec: + deploymentType: Kubernetes + service: + serviceRef: <+input> + serviceInputs: <+input> + environment: + useFromStage: + stage: Template_CD + execution: + steps: + - step: + name: Rollout Deployment + identifier: rolloutDeployment + type: K8sRollingDeploy + timeout: 10m + spec: + skipDryRun: false + pruningEnabled: false + rollbackSteps: + - step: + name: Rollback Rollout Deployment + identifier: rollbackRolloutDeployment + type: K8sRollingRollback + timeout: 10m + spec: + pruningEnabled: false + tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: StageRollback From a8f751d518d892e52a10a5f1aa198f96381dca21 Mon Sep 17 00:00:00 2001 From: "shantelle.lim@harness.io" Date: Mon, 7 Aug 2023 08:35:34 +0530 Subject: [PATCH 048/170] Update pipeline Remote pipeline --- .harness/Remote_pipeline.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.harness/Remote_pipeline.yaml b/.harness/Remote_pipeline.yaml index 82f3ae1..f55ce00 100644 --- a/.harness/Remote_pipeline.yaml +++ b/.harness/Remote_pipeline.yaml @@ -75,3 +75,4 @@ pipeline: - AllErrors action: type: StageRollback + description: dasdad From dfff282dade870ecd2fdb9e53f1529ce62499761 Mon Sep 17 00:00:00 2001 From: "shantelle.lim@harness.io" Date: Mon, 7 Aug 2023 08:36:01 +0530 Subject: [PATCH 049/170] Update pipeline Remote pipeline --- .harness/Remote_pipeline.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.harness/Remote_pipeline.yaml b/.harness/Remote_pipeline.yaml index f55ce00..3589513 100644 --- a/.harness/Remote_pipeline.yaml +++ b/.harness/Remote_pipeline.yaml @@ -3,7 +3,8 @@ pipeline: identifier: Remote_pipeline projectIdentifier: Rohan orgIdentifier: default - tags: {} + tags: + Sample: "" stages: - stage: name: Template CD @@ -75,4 +76,5 @@ pipeline: - AllErrors action: type: StageRollback - description: dasdad + description: | + SampleTesting From 5f37450aac6b811a71fed97e67301f7e33c13612 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 8 Aug 2023 10:12:02 +0530 Subject: [PATCH 050/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 614a5c3..621abdc 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -93,7 +93,7 @@ pipeline: script: var1 = "test" environmentVariables: [] outputVariables: [] - timeout: 10m + timeout: <+input> - stepGroup: name: sg1 identifier: sg1 From 8d36dafcb0e7919c9a6377e6a7d52a25ec8ade5c Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 9 Aug 2023 15:21:33 +0530 Subject: [PATCH 051/170] Update pipeline sudartest --- sudartest.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 621abdc..89889a6 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -116,6 +116,7 @@ pipeline: value: <+input> timeout: 10m tags: {} + strategy: <+input> - stage: name: deploystage identifier: deploystage @@ -162,6 +163,7 @@ pipeline: onRetryFailure: action: type: Ignore + variables: [] variables: - name: input_set_name type: String From e31a8493d73de4061afb1222c3b9353b114b1cb2 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Fri, 11 Aug 2023 12:41:37 +0530 Subject: [PATCH 052/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 89889a6..8496d6b 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -93,7 +93,7 @@ pipeline: script: var1 = "test" environmentVariables: [] outputVariables: [] - timeout: <+input> + timeout: <+input>.default(10w) - stepGroup: name: sg1 identifier: sg1 From 12cb0b32d974423b28d74b604f207a3781efefdd Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Fri, 11 Aug 2023 12:45:15 +0530 Subject: [PATCH 053/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 8496d6b..4a9e0fe 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -93,7 +93,7 @@ pipeline: script: var1 = "test" environmentVariables: [] outputVariables: [] - timeout: <+input>.default(10w) + timeout: <+input>.default(10s).allowedValues(10s,12d) - stepGroup: name: sg1 identifier: sg1 From 4407d891c4db2de7fe13acac9335bc23cc279ce7 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 16 Aug 2023 13:50:02 +0530 Subject: [PATCH 054/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 4a9e0fe..d8ef4fb 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -167,7 +167,7 @@ pipeline: variables: - name: input_set_name type: String - description: "" + description: Descriptive stuff required: true value: <+input> - name: input_set_name2 From e79224455c8b5e7865afb9881853eef3e584ab51 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 17 Aug 2023 10:10:58 +0530 Subject: [PATCH 055/170] Update pipeline sudartest --- sudartest.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index d8ef4fb..5782c60 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -125,7 +125,8 @@ pipeline: spec: deploymentType: Kubernetes service: - serviceRef: SudarService + serviceRef: <+input> + serviceInputs: <+input> execution: steps: - step: From 242fe01a7e2946298e222426615e0e98a855e87a Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 29 Aug 2023 15:59:31 +0530 Subject: [PATCH 056/170] Update pipeline sudartest --- sudartest.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 5782c60..417e809 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -124,9 +124,6 @@ pipeline: type: Deployment spec: deploymentType: Kubernetes - service: - serviceRef: <+input> - serviceInputs: <+input> execution: steps: - step: @@ -150,6 +147,12 @@ pipeline: deployToAll: false infrastructureDefinitions: - identifier: dev + services: + values: + - serviceRef: SudarService + - serviceRef: SudarService2 + metadata: + parallel: false tags: {} failureStrategies: - onFailure: From 75420c839f7d8050e6dcd64325e4ea395ac7548b Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 7 Sep 2023 18:41:44 +0530 Subject: [PATCH 057/170] Update pipeline sudartest --- sudartest.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 417e809..0be4a90 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -168,6 +168,12 @@ pipeline: action: type: Ignore variables: [] + - stage: + name: template + identifier: template + template: + templateRef: approvaltemplate + versionLabel: v1 variables: - name: input_set_name type: String From 3dd653e5c295059378163434ec25025c9de62119 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 7 Sep 2023 18:43:26 +0530 Subject: [PATCH 058/170] Update pipeline sudartest --- sudartest.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 0be4a90..bc6352a 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -174,6 +174,19 @@ pipeline: template: templateRef: approvaltemplate versionLabel: v1 + templateInputs: + type: Custom + spec: + execution: + steps: + - step: + identifier: httpstep + type: Http + spec: + inputVariables: + - name: testinput + type: String + value: <+input> variables: - name: input_set_name type: String From 55fa1d675a7a97c68287582701c22d3bd0bba214 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 13 Sep 2023 23:14:07 +0530 Subject: [PATCH 059/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index bc6352a..d70bc29 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -205,7 +205,7 @@ pipeline: type: String description: "" required: false - value: <+input> + value: "10" allowStageExecutions: true flowControl: barriers: From d9e9232bc0b2ad46973174d2cdd09bf1050d1bcf Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Mon, 18 Sep 2023 09:49:55 +0530 Subject: [PATCH 060/170] Create inputset empty input set --- .harness/empty_input_set.yaml | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .harness/empty_input_set.yaml diff --git a/.harness/empty_input_set.yaml b/.harness/empty_input_set.yaml new file mode 100644 index 0000000..709827b --- /dev/null +++ b/.harness/empty_input_set.yaml @@ -0,0 +1,72 @@ +inputSet: + name: empty input set + identifier: empty_input_set + orgIdentifier: default + projectIdentifier: TF_Test_Sudar + pipeline: + identifier: sudartest + stages: + - stage: + identifier: child + type: Pipeline + variables: + - name: test234 + type: String + value: <+input>.executionInput() + - stage: + identifier: custom23 + type: Custom + spec: + execution: + steps: + - step: + identifier: ShellScript_1 + type: ShellScript + timeout: 10s + - stepGroup: + identifier: sg1 + steps: + - step: + identifier: ShellScript_sgn + type: ShellScript + spec: + outputVariables: + - name: hello + type: String + value: <+input> + - stage: + identifier: deploystage + type: Deployment + spec: + execution: + steps: + - step: + identifier: rolloutDeployment + type: K8sRollingDeploy + timeout: <+input> + - stage: + identifier: template + template: + templateInputs: + type: Custom + spec: + execution: + steps: + - step: + identifier: httpstep + type: Http + spec: + inputVariables: + - name: testinput + type: String + value: <+input> + variables: + - name: input_set_name + type: String + value: "\"\"" + - name: input_set_name2 + type: String + value: <+input> + - name: input_set_name3 + type: String + value: <+input> From 6c6358d6af3b5264d28bea52d2304cfd29cd8ff9 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 20 Sep 2023 20:44:09 +0530 Subject: [PATCH 061/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index d70bc29..6f442ab 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -206,7 +206,7 @@ pipeline: description: "" required: false value: "10" - allowStageExecutions: true + allowStageExecutions: false flowControl: barriers: - name: testbarrier From 2ab9f3340c65715f3adb555d6825b48bce8701d6 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 21 Sep 2023 09:45:44 +0530 Subject: [PATCH 062/170] Create inputset overlay --- .harness/overlay.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .harness/overlay.yaml diff --git a/.harness/overlay.yaml b/.harness/overlay.yaml new file mode 100644 index 0000000..f87a593 --- /dev/null +++ b/.harness/overlay.yaml @@ -0,0 +1,9 @@ +overlayInputSet: + name: overlay + identifier: overlay + orgIdentifier: default + projectIdentifier: TF_Test_Sudar + pipelineIdentifier: sudartest + inputSetReferences: + - empty_input_set + tags: {} From 8885721c945017b50127c04b8b6cda2c4fa61f10 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 21 Sep 2023 09:47:08 +0530 Subject: [PATCH 063/170] Create inputset input set 3 --- input_set_3.yaml | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 input_set_3.yaml diff --git a/input_set_3.yaml b/input_set_3.yaml new file mode 100644 index 0000000..4d67808 --- /dev/null +++ b/input_set_3.yaml @@ -0,0 +1,72 @@ +inputSet: + name: input set 3 + identifier: input_set_3 + orgIdentifier: default + projectIdentifier: TF_Test_Sudar + pipeline: + identifier: sudartest + stages: + - stage: + identifier: child + type: Pipeline + variables: + - name: test234 + type: String + value: <+input>.executionInput() + - stage: + identifier: custom23 + type: Custom + spec: + execution: + steps: + - step: + identifier: ShellScript_1 + type: ShellScript + timeout: 10s + - stepGroup: + identifier: sg1 + steps: + - step: + identifier: ShellScript_sgn + type: ShellScript + spec: + outputVariables: + - name: hello + type: String + value: <+input> + - stage: + identifier: deploystage + type: Deployment + spec: + execution: + steps: + - step: + identifier: rolloutDeployment + type: K8sRollingDeploy + timeout: <+input> + - stage: + identifier: template + template: + templateInputs: + type: Custom + spec: + execution: + steps: + - step: + identifier: httpstep + type: Http + spec: + inputVariables: + - name: testinput + type: String + value: <+input> + variables: + - name: input_set_name + type: String + value: <+input> + - name: input_set_name2 + type: String + value: val2 + - name: input_set_name3 + type: String + value: val3 From f4665185cd785b80100d2e5d517599158f18fcea Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 21 Sep 2023 09:47:21 +0530 Subject: [PATCH 064/170] Update inputset overlay --- .harness/overlay.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.harness/overlay.yaml b/.harness/overlay.yaml index f87a593..b158ef4 100644 --- a/.harness/overlay.yaml +++ b/.harness/overlay.yaml @@ -1,9 +1,10 @@ overlayInputSet: name: overlay + tags: {} identifier: overlay orgIdentifier: default projectIdentifier: TF_Test_Sudar pipelineIdentifier: sudartest inputSetReferences: - empty_input_set - tags: {} + - input_set_3 From b4d5ca050ebcaa36e007af980ce19e653eb090be Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Mon, 25 Sep 2023 21:46:12 +0530 Subject: [PATCH 065/170] Update pipeline sudartest --- sudartest.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 6f442ab..7d00a28 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -148,9 +148,7 @@ pipeline: infrastructureDefinitions: - identifier: dev services: - values: - - serviceRef: SudarService - - serviceRef: SudarService2 + values: <+input> metadata: parallel: false tags: {} From 0a4dbe89bb68f9904959b993229abb50667846b7 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 17 Oct 2023 09:52:07 +0530 Subject: [PATCH 066/170] Update pipeline sudartest --- sudartest.yaml | 45 --------------------------------------------- 1 file changed, 45 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 7d00a28..4941744 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -72,51 +72,6 @@ pipeline: description: sdfs required: false value: <+input>.executionInput() - - stage: - name: custom23 - identifier: custom23 - description: "" - type: Custom - spec: - execution: - steps: - - step: - type: ShellScript - name: ShellScript_1 - identifier: ShellScript_1 - spec: - shell: Bash - onDelegate: true - source: - type: Inline - spec: - script: var1 = "test" - environmentVariables: [] - outputVariables: [] - timeout: <+input>.default(10s).allowedValues(10s,12d) - - stepGroup: - name: sg1 - identifier: sg1 - steps: - - step: - type: ShellScript - name: ShellScript_sgn - identifier: ShellScript_sgn - spec: - shell: Bash - onDelegate: true - source: - type: Inline - spec: - script: echo "hello" - environmentVariables: [] - outputVariables: - - name: hello - type: String - value: <+input> - timeout: 10m - tags: {} - strategy: <+input> - stage: name: deploystage identifier: deploystage From f5fb453238dc04ec959891382956714f08fbedf0 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Fri, 27 Oct 2023 12:45:10 +0530 Subject: [PATCH 067/170] Update pipeline sudartest --- sudartest.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 4941744..5d1760a 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -51,6 +51,8 @@ pipeline: outputVariables: [] timeout: 10m tags: {} + when: + pipelineStatus: Success - stage: name: child identifier: child From 261fa59998ddf87583823abd0cc6d7acdbb4d957 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 9 Nov 2023 17:05:18 +0530 Subject: [PATCH 068/170] Update pipeline sudartest --- sudartest.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 5d1760a..6391791 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -142,6 +142,14 @@ pipeline: - name: testinput type: String value: <+input> + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + source: + type: Inline + spec: + script: <+input> variables: - name: input_set_name type: String From 766a6c2d90e59402a78179165fdbf97f786dd7ce Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 12:11:10 +0530 Subject: [PATCH 069/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 6391791..2d23f61 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -100,7 +100,7 @@ pipeline: spec: pruningEnabled: false environment: - environmentRef: account.dev + environmentRef: test_envi deployToAll: false infrastructureDefinitions: - identifier: dev From 94894e3ea81c92cc6cf76b60fa2980396d52df10 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 12:14:18 +0530 Subject: [PATCH 070/170] Update pipeline sudartest --- sudartest.yaml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 2d23f61..1ac95a3 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -84,13 +84,19 @@ pipeline: execution: steps: - step: - name: Rollout Deployment - identifier: rolloutDeployment - type: K8sRollingDeploy - timeout: <+input> + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 spec: - skipDryRun: false - pruningEnabled: false + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: echo <+serviceVariables.ServiceVar> + environmentVariables: [] + outputVariables: [] + timeout: 10m rollbackSteps: - step: name: Rollback Rollout Deployment @@ -103,11 +109,9 @@ pipeline: environmentRef: test_envi deployToAll: false infrastructureDefinitions: - - identifier: dev - services: - values: <+input> - metadata: - parallel: false + - identifier: vl_infra_dummy + service: + serviceRef: SudarService tags: {} failureStrategies: - onFailure: From 88c7c1b0c2978314d32ff4f58f76d444d84ca926 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:31:22 +0530 Subject: [PATCH 071/170] Update pipeline sudartest --- sudartest.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 1ac95a3..9a1bf4c 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -94,8 +94,12 @@ pipeline: type: Inline spec: script: echo <+serviceVariables.ServiceVar> - environmentVariables: [] + environmentVariables: + - name: test + type: Number + value: <+input> outputVariables: [] + includeInfraSelectors: <+input> timeout: 10m rollbackSteps: - step: From 47dbb1828d32ccfd199829d0a19d4360fc021cc1 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:32:44 +0530 Subject: [PATCH 072/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 9a1bf4c..fde74ef 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -99,7 +99,7 @@ pipeline: type: Number value: <+input> outputVariables: [] - includeInfraSelectors: <+input> + includeInfraSelectors: <+pipeline.name> timeout: 10m rollbackSteps: - step: From fda77ec1827ccd57dfe8dc46d46f388406df6c7d Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:35:02 +0530 Subject: [PATCH 073/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index fde74ef..9a1bf4c 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -99,7 +99,7 @@ pipeline: type: Number value: <+input> outputVariables: [] - includeInfraSelectors: <+pipeline.name> + includeInfraSelectors: <+input> timeout: 10m rollbackSteps: - step: From a17103104a4a51a1c74989a25fb9179c20d3cbc5 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:36:26 +0530 Subject: [PATCH 074/170] Create inputset IS1 --- IS.yaml | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 IS.yaml diff --git a/IS.yaml b/IS.yaml new file mode 100644 index 0000000..4f01f3e --- /dev/null +++ b/IS.yaml @@ -0,0 +1,64 @@ +inputSet: + name: IS1 + identifier: IS1 + orgIdentifier: default + projectIdentifier: TF_Test_Sudar + pipeline: + identifier: sudartest + stages: + - stage: + identifier: child + type: Pipeline + variables: + - name: test234 + type: String + value: <+input>.executionInput() + - stage: + identifier: deploystage + type: Deployment + spec: + execution: + steps: + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + environmentVariables: + - name: test + type: Number + value: <+input> + includeInfraSelectors: <+pipeline.name> + - stage: + identifier: template + template: + templateInputs: + type: Custom + spec: + execution: + steps: + - step: + identifier: httpstep + type: Http + spec: + inputVariables: + - name: testinput + type: String + value: <+input> + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + source: + type: Inline + spec: + script: <+input> + variables: + - name: input_set_name + type: String + value: <+input> + - name: input_set_name2 + type: String + value: <+input> + - name: input_set_name3 + type: String + value: <+input> From a06a6137c93ce7fa4cf30815a6266a4e6f3125db Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:46:08 +0530 Subject: [PATCH 075/170] Update inputset empty input set --- .harness/empty_input_set.yaml | 43 +++++++++++++++-------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/.harness/empty_input_set.yaml b/.harness/empty_input_set.yaml index 709827b..111509e 100644 --- a/.harness/empty_input_set.yaml +++ b/.harness/empty_input_set.yaml @@ -1,5 +1,6 @@ inputSet: name: empty input set + tags: {} identifier: empty_input_set orgIdentifier: default projectIdentifier: TF_Test_Sudar @@ -13,27 +14,6 @@ inputSet: - name: test234 type: String value: <+input>.executionInput() - - stage: - identifier: custom23 - type: Custom - spec: - execution: - steps: - - step: - identifier: ShellScript_1 - type: ShellScript - timeout: 10s - - stepGroup: - identifier: sg1 - steps: - - step: - identifier: ShellScript_sgn - type: ShellScript - spec: - outputVariables: - - name: hello - type: String - value: <+input> - stage: identifier: deploystage type: Deployment @@ -41,9 +21,14 @@ inputSet: execution: steps: - step: - identifier: rolloutDeployment - type: K8sRollingDeploy - timeout: <+input> + identifier: ShellScript_1 + type: ShellScript + spec: + environmentVariables: + - name: test + type: Number + value: <+input> + includeInfraSelectors: <+input> - stage: identifier: template template: @@ -60,13 +45,21 @@ inputSet: - name: testinput type: String value: <+input> + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + source: + type: Inline + spec: + script: <+input> variables: - name: input_set_name type: String value: "\"\"" - name: input_set_name2 type: String - value: <+input> + value: <+pipeline.name> - name: input_set_name3 type: String value: <+input> From d8af29ebcb3ab873e20e030c38a68d1f973e6bfd Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:46:32 +0530 Subject: [PATCH 076/170] Update inputset input set 3 --- input_set_3.yaml | 43 ++++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/input_set_3.yaml b/input_set_3.yaml index 4d67808..a9902e6 100644 --- a/input_set_3.yaml +++ b/input_set_3.yaml @@ -1,5 +1,6 @@ inputSet: name: input set 3 + tags: {} identifier: input_set_3 orgIdentifier: default projectIdentifier: TF_Test_Sudar @@ -13,27 +14,6 @@ inputSet: - name: test234 type: String value: <+input>.executionInput() - - stage: - identifier: custom23 - type: Custom - spec: - execution: - steps: - - step: - identifier: ShellScript_1 - type: ShellScript - timeout: 10s - - stepGroup: - identifier: sg1 - steps: - - step: - identifier: ShellScript_sgn - type: ShellScript - spec: - outputVariables: - - name: hello - type: String - value: <+input> - stage: identifier: deploystage type: Deployment @@ -41,9 +21,14 @@ inputSet: execution: steps: - step: - identifier: rolloutDeployment - type: K8sRollingDeploy - timeout: <+input> + identifier: ShellScript_1 + type: ShellScript + spec: + environmentVariables: + - name: test + type: Number + value: <+input> + includeInfraSelectors: <+input> - stage: identifier: template template: @@ -60,13 +45,21 @@ inputSet: - name: testinput type: String value: <+input> + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + source: + type: Inline + spec: + script: <+input> variables: - name: input_set_name type: String value: <+input> - name: input_set_name2 type: String - value: val2 + value: <+input> - name: input_set_name3 type: String value: val3 From 2c0ed8f47e5c7f3397c84764be5b9fa5de0bc7d2 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:47:58 +0530 Subject: [PATCH 077/170] Update inputset overlay --- .harness/overlay.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/overlay.yaml b/.harness/overlay.yaml index b158ef4..0143337 100644 --- a/.harness/overlay.yaml +++ b/.harness/overlay.yaml @@ -6,5 +6,5 @@ overlayInputSet: projectIdentifier: TF_Test_Sudar pipelineIdentifier: sudartest inputSetReferences: - - empty_input_set - input_set_3 + - empty_input_set From c268afbfe1d30f74c8b32add4018161a405cff46 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:48:49 +0530 Subject: [PATCH 078/170] Update inputset input set 3 --- input_set_3.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input_set_3.yaml b/input_set_3.yaml index a9902e6..e0cf2f9 100644 --- a/input_set_3.yaml +++ b/input_set_3.yaml @@ -59,7 +59,7 @@ inputSet: value: <+input> - name: input_set_name2 type: String - value: <+input> + value: test - name: input_set_name3 type: String value: val3 From e0d2e3c6f42f0d3251cf264dbce321c29e435efc Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:49:15 +0530 Subject: [PATCH 079/170] Update inputset overlay --- .harness/overlay.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/overlay.yaml b/.harness/overlay.yaml index 0143337..b158ef4 100644 --- a/.harness/overlay.yaml +++ b/.harness/overlay.yaml @@ -6,5 +6,5 @@ overlayInputSet: projectIdentifier: TF_Test_Sudar pipelineIdentifier: sudartest inputSetReferences: - - input_set_3 - empty_input_set + - input_set_3 From 56a08a3f2397061a202b1e9e5b8109478eea97cd Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:50:01 +0530 Subject: [PATCH 080/170] Update inputset empty input set --- .harness/empty_input_set.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/empty_input_set.yaml b/.harness/empty_input_set.yaml index 111509e..0c80c5a 100644 --- a/.harness/empty_input_set.yaml +++ b/.harness/empty_input_set.yaml @@ -28,7 +28,7 @@ inputSet: - name: test type: Number value: <+input> - includeInfraSelectors: <+input> + includeInfraSelectors: <+pipeline.name> - stage: identifier: template template: From 675faf62749a0fd67fe00aae514cd46f36f6ebad Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:50:43 +0530 Subject: [PATCH 081/170] Update inputset input set 3 From e02af4e7d5e7edbebd5567b25e848b8c8954114c Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:50:59 +0530 Subject: [PATCH 082/170] Update inputset input set 3 --- input_set_3.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input_set_3.yaml b/input_set_3.yaml index e0cf2f9..95d7069 100644 --- a/input_set_3.yaml +++ b/input_set_3.yaml @@ -28,7 +28,7 @@ inputSet: - name: test type: Number value: <+input> - includeInfraSelectors: <+input> + includeInfraSelectors: true - stage: identifier: template template: From 7c32d2c08dde6c1ae14f0166db3a87a588ad06fa Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 16 Nov 2023 13:51:19 +0530 Subject: [PATCH 083/170] Update inputset input set 3 --- input_set_3.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input_set_3.yaml b/input_set_3.yaml index 95d7069..7eb4b4a 100644 --- a/input_set_3.yaml +++ b/input_set_3.yaml @@ -28,7 +28,7 @@ inputSet: - name: test type: Number value: <+input> - includeInfraSelectors: true + includeInfraSelectors: false - stage: identifier: template template: From 12b8ebe579cba2e134fc0f803792a1abc4a5e363 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Nov 2023 12:28:37 +0530 Subject: [PATCH 084/170] Update pipeline sudartest --- sudartest.yaml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 9a1bf4c..7d920e8 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -130,7 +130,6 @@ pipeline: onRetryFailure: action: type: Ignore - variables: [] - stage: name: template identifier: template @@ -158,6 +157,31 @@ pipeline: type: Inline spec: script: <+input> + - stage: + name: Custom + identifier: Custom + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: |- + echo <+pipeline.execution.stage.deploystage.pipeline.stages.deploystage.spec.serviceVariables> + exit 0 + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {} variables: - name: input_set_name type: String From f4e7a9cbdf53f27a834231ece8c0375dfe5c83df Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Nov 2023 12:29:52 +0530 Subject: [PATCH 085/170] Update pipeline sudartest --- sudartest.yaml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 7d920e8..8f56d94 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -33,23 +33,6 @@ pipeline: approverInputs: - name: testinput defaultValue: "" - - step: - type: ShellScript - name: sudarstep - identifier: sudarstep - spec: - shell: Bash - onDelegate: true - source: - type: Inline - spec: - script: echo "hello" - environmentVariables: - - name: inputvar - type: String - value: test - outputVariables: [] - timeout: 10m tags: {} when: pipelineStatus: Success From e21f6ba286253c8cdf3cedadf018dfe83ce9027c Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Nov 2023 12:42:48 +0530 Subject: [PATCH 086/170] Update pipeline sudartest --- sudartest.yaml | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 8f56d94..34bfb51 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -113,6 +113,31 @@ pipeline: onRetryFailure: action: type: Ignore + - stage: + name: Custom + identifier: Custom + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: |- + echo <+pipeline.execution.stage.deploystage.pipeline.stages.deploystage.spec.serviceVariables> + exit 0 + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {} - stage: name: template identifier: template @@ -140,31 +165,6 @@ pipeline: type: Inline spec: script: <+input> - - stage: - name: Custom - identifier: Custom - description: "" - type: Custom - spec: - execution: - steps: - - step: - type: ShellScript - name: ShellScript_1 - identifier: ShellScript_1 - spec: - shell: Bash - onDelegate: true - source: - type: Inline - spec: - script: |- - echo <+pipeline.execution.stage.deploystage.pipeline.stages.deploystage.spec.serviceVariables> - exit 0 - environmentVariables: [] - outputVariables: [] - timeout: 10m - tags: {} variables: - name: input_set_name type: String From aa42a3761f546883903029d62315467e7512eb02 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 23 Nov 2023 12:45:32 +0530 Subject: [PATCH 087/170] Update pipeline sudartest --- sudartest.yaml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 34bfb51..0fe91a1 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -46,10 +46,24 @@ pipeline: pipeline: Approval_Pipeline project: TF_Test_Sudar outputs: [] - inputSetReferences: - - "" - - "" - - "" + inputs: + identifier: Approval_Pipeline + stages: + - stage: + identifier: customs3 + type: Custom + spec: + execution: + steps: + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + environmentVariables: + - name: input4 + type: String + value: <+input> + timeout: <+input> tags: {} variables: - name: test234 From de35e47940ac2a09741fa17df178d8623bd7196f Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 30 Nov 2023 12:43:43 +0530 Subject: [PATCH 088/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 0fe91a1..0bb3c12 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -198,7 +198,7 @@ pipeline: description: "" required: false value: "10" - allowStageExecutions: false + allowStageExecutions: true flowControl: barriers: - name: testbarrier From de8b9b84e978f295152b9dcc95813a8d67b4d7f8 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 5 Dec 2023 09:23:08 +0530 Subject: [PATCH 089/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 0bb3c12..78414d7 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -5,7 +5,7 @@ pipeline: orgIdentifier: default tags: name: mohit - type: testing + type: prod stages: - stage: name: approval From 3e2c3c43a20dd11f7518628d615c5b0fa8f44733 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Mon, 18 Dec 2023 17:27:14 +0530 Subject: [PATCH 090/170] Update pipeline sudartest --- sudartest.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 78414d7..2ca51d6 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -179,6 +179,45 @@ pipeline: type: Inline spec: script: <+input> + - stage: + name: deploy2 + identifier: deploy2 + description: "" + type: Deployment + spec: + deploymentType: Kubernetes + service: + serviceRef: SudarService + environment: + environmentRef: test_envi + deployToAll: false + infrastructureDefinitions: + - identifier: vl_infra_dummy + execution: + steps: + - step: + name: Rollout Deployment + identifier: rolloutDeployment + type: K8sRollingDeploy + timeout: 10m + spec: + skipDryRun: false + pruningEnabled: false + rollbackSteps: + - step: + name: Rollback Rollout Deployment + identifier: rollbackRolloutDeployment + type: K8sRollingRollback + timeout: 10m + spec: + pruningEnabled: false + tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: StageRollback variables: - name: input_set_name type: String From ce165a52132986fd376b9c3182e999b51f9e6bce Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 20 Dec 2023 09:32:36 +0530 Subject: [PATCH 091/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 2ca51d6..685aef6 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -6,6 +6,7 @@ pipeline: tags: name: mohit type: prod + test: Ershad stages: - stage: name: approval From 0510a9c82f6d3e24751db9b55ab5e95ecb404f73 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 28 Dec 2023 12:25:31 +0530 Subject: [PATCH 092/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 685aef6..5e91cd0 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -229,6 +229,7 @@ pipeline: type: String description: "" value: <+input> + required: true - name: input_set_name3 type: String description: "" From e835bd2c70b95167e56c67b1f98aec7cd38e4fba Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 11 Jan 2024 11:37:28 +0530 Subject: [PATCH 093/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 5e91cd0..6f8053e 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -7,6 +7,7 @@ pipeline: name: mohit type: prod test: Ershad + keying: shantelle stages: - stage: name: approval From d5f38f18d98c03fc7dd6feb3502f2d55e61083f5 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 16 Jan 2024 16:36:42 +0530 Subject: [PATCH 094/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 6f8053e..e632be3 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -181,6 +181,7 @@ pipeline: type: Inline spec: script: <+input> + timeout: <+input> - stage: name: deploy2 identifier: deploy2 From e784eb913354a49d0883cda0a8288bb84b085caf Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 24 Jan 2024 21:46:50 +0530 Subject: [PATCH 095/170] Update pipeline sudartest --- sudartest.yaml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index e632be3..efe1c72 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -113,8 +113,11 @@ pipeline: deployToAll: false infrastructureDefinitions: - identifier: vl_infra_dummy - service: - serviceRef: SudarService + services: + values: + - serviceRef: SudarService + metadata: + parallel: false tags: {} failureStrategies: - onFailure: @@ -246,3 +249,23 @@ pipeline: barriers: - name: testbarrier identifier: testbarrier + notificationRules: + - name: test + identifier: test + pipelineEvents: + - type: AllEvents + - type: PipelineStart + - type: PipelineEnd + - type: PipelineSuccess + - type: PipelineFailed + - type: StageFailed + - type: StageSuccess + - type: StageStart + - type: StepFailed + notificationMethod: + type: Email + spec: + userGroups: [] + recipients: + - sudarshan@harness.io + enabled: true From 3433b98ca30fab1d758864188fb0c7f71274333c Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 31 Jan 2024 08:10:41 +0530 Subject: [PATCH 096/170] Update pipeline sudartest --- sudartest.yaml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index efe1c72..3037d56 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -108,30 +108,19 @@ pipeline: timeout: 10m spec: pruningEnabled: false - environment: - environmentRef: test_envi - deployToAll: false - infrastructureDefinitions: - - identifier: vl_infra_dummy services: values: - serviceRef: SudarService metadata: parallel: false + environmentGroup: + envGroupRef: envgroup1 + metadata: + parallel: true + deployToAll: true + environments: <+input> tags: {} - failureStrategies: - - onFailure: - errors: - - AllErrors - action: - type: Retry - spec: - retryCount: 4 - retryIntervals: - - 1d - onRetryFailure: - action: - type: Ignore + failureStrategies: <+input> - stage: name: Custom identifier: Custom From 2a02948ec904bbcdce9d50d612ecdc643b23cee8 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 31 Jan 2024 09:26:14 +0530 Subject: [PATCH 097/170] Update pipeline sudartest --- sudartest.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 3037d56..3473604 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -109,8 +109,7 @@ pipeline: spec: pruningEnabled: false services: - values: - - serviceRef: SudarService + values: <+input> metadata: parallel: false environmentGroup: From 3634f429257cc88cc5426742fec7c82b7fcca3b6 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 31 Jan 2024 09:27:15 +0530 Subject: [PATCH 098/170] Update pipeline sudartest --- sudartest.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 3473604..fda21fb 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -172,7 +172,6 @@ pipeline: type: Inline spec: script: <+input> - timeout: <+input> - stage: name: deploy2 identifier: deploy2 @@ -182,6 +181,14 @@ pipeline: deploymentType: Kubernetes service: serviceRef: SudarService + serviceInputs: + serviceDefinition: + type: Kubernetes + spec: + variables: + - name: ServiceVar + type: String + value: <+input> environment: environmentRef: test_envi deployToAll: false From ecd85b444ced6eac64b41edf440a4055bb670164 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 31 Jan 2024 09:49:09 +0530 Subject: [PATCH 099/170] Update pipeline sudartest --- sudartest.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index fda21fb..879e968 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -119,7 +119,12 @@ pipeline: deployToAll: true environments: <+input> tags: {} - failureStrategies: <+input> + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: Abort - stage: name: Custom identifier: Custom From f1e9c6f9460858b2d7a1e9dc412b9c69c00fc98f Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 1 Feb 2024 22:58:24 +0530 Subject: [PATCH 100/170] Update pipeline sudartest --- sudartest.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 879e968..3810314 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -225,7 +225,7 @@ pipeline: action: type: StageRollback variables: - - name: input_set_name + - name: input_set_name_with_long_name_and_longer_name type: String description: Descriptive stuff required: true @@ -233,8 +233,8 @@ pipeline: - name: input_set_name2 type: String description: "" - value: <+input> required: true + value: <+input> - name: input_set_name3 type: String description: "" From 5a98a8ef473521911dc71f28e1f6c8a5879abfdf Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Mon, 5 Feb 2024 10:28:31 +0530 Subject: [PATCH 101/170] Update pipeline sudartest --- sudartest.yaml | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 3810314..b08b5b1 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -38,6 +38,31 @@ pipeline: tags: {} when: pipelineStatus: Success + - stage: + name: Custom + identifier: Custom + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: |- + echo <+pipeline.execution.stage.deploystage.pipeline.stages.deploystage.spec.serviceVariables> + exit 0 + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {} - stage: name: child identifier: child @@ -125,31 +150,6 @@ pipeline: - AllErrors action: type: Abort - - stage: - name: Custom - identifier: Custom - description: "" - type: Custom - spec: - execution: - steps: - - step: - type: ShellScript - name: ShellScript_1 - identifier: ShellScript_1 - spec: - shell: Bash - onDelegate: true - source: - type: Inline - spec: - script: |- - echo <+pipeline.execution.stage.deploystage.pipeline.stages.deploystage.spec.serviceVariables> - exit 0 - environmentVariables: [] - outputVariables: [] - timeout: 10m - tags: {} - stage: name: template identifier: template From 7a6cbb85211ab968965ea8320d85dd9fef1417d6 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Mon, 5 Feb 2024 10:29:18 +0530 Subject: [PATCH 102/170] Create inputset ISrun --- .harness/ISrun.yaml | 120 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 .harness/ISrun.yaml diff --git a/.harness/ISrun.yaml b/.harness/ISrun.yaml new file mode 100644 index 0000000..98fdd03 --- /dev/null +++ b/.harness/ISrun.yaml @@ -0,0 +1,120 @@ +inputSet: + pipeline: + identifier: sudartest + stages: + - stage: + identifier: child + type: Pipeline + spec: + inputs: + identifier: Approval_Pipeline + stages: + - stage: + identifier: customs3 + type: Custom + spec: + execution: + steps: + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + environmentVariables: + - name: input4 + type: String + value: sdsd + timeout: 10w + variables: + - name: test234 + type: String + value: <+input>.executionInput() + - stage: + identifier: deploystage + type: Deployment + spec: + execution: + steps: + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + environmentVariables: + - name: test + type: Number + value: sdsd + includeInfraSelectors: false + services: + values: + - serviceRef: SudarService + serviceInputs: + serviceDefinition: + type: Kubernetes + spec: + variables: + - name: ServiceVar + type: String + value: sdsd + environmentGroup: + environments: + - environmentRef: test_envi + deployToAll: true + infrastructureDefinitions: + - identifier: vl_infra_dummy + - stage: + identifier: template + template: + templateInputs: + type: Custom + spec: + execution: + steps: + - step: + identifier: httpstep + type: Http + spec: + inputVariables: + - name: testinput + type: String + value: sdsd + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + source: + type: Inline + spec: + script: echo "ehlle" + - stage: + identifier: deploy2 + type: Deployment + spec: + service: + serviceInputs: + serviceDefinition: + type: Kubernetes + spec: + variables: + - name: ServiceVar + type: String + value: sdessd + variables: + - name: input_set_name_with_long_name_and_longer_name + type: String + value: sdsd + - name: input_set_name2 + type: String + value: sdsd + - name: input_set_name3 + type: String + value: sdsd + name: ISrun + identifier: ISrun + provider: + type: Others + title: Third-party Git provider + info: Store pipeline in a third party Git provider + icon: service-github + size: 20 + disabled: false + orgIdentifier: default + projectIdentifier: TF_Test_Sudar From 21d8ea7483e22a18303cc3260566b2c99559bea3 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 13 Feb 2024 21:43:37 +0530 Subject: [PATCH 103/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index b08b5b1..ec8e96b 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -238,7 +238,7 @@ pipeline: - name: input_set_name3 type: String description: "" - value: <+input> + value: <+input>.allowedValues(aa,bb,cc,) - name: required_variable type: String description: "" From bfe7c3a5f348d00ab0cc51607e305c345d71a2cb Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 13 Feb 2024 21:46:13 +0530 Subject: [PATCH 104/170] Update pipeline sudartest --- sudartest.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index ec8e96b..2674aaa 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -52,17 +52,18 @@ pipeline: identifier: ShellScript_1 spec: shell: Bash - onDelegate: true source: type: Inline spec: script: |- - echo <+pipeline.execution.stage.deploystage.pipeline.stages.deploystage.spec.serviceVariables> + echo <+pipeline.variables.input_set_name3> exit 0 environmentVariables: [] outputVariables: [] + executionTarget: {} timeout: 10m tags: {} + delegateSelectors: <+input> - stage: name: child identifier: child From 6853c975d9d13fed15f0192d5493e01715a80128 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 21 Feb 2024 09:25:36 +0530 Subject: [PATCH 105/170] Update pipeline sudartest --- sudartest.yaml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 2674aaa..f301ec4 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -74,24 +74,8 @@ pipeline: pipeline: Approval_Pipeline project: TF_Test_Sudar outputs: [] - inputs: - identifier: Approval_Pipeline - stages: - - stage: - identifier: customs3 - type: Custom - spec: - execution: - steps: - - step: - identifier: ShellScript_1 - type: ShellScript - spec: - environmentVariables: - - name: input4 - type: String - value: <+input> - timeout: <+input> + inputSetReferences: + - <+pipeline.variables.input_set_name2> tags: {} variables: - name: test234 From 9ef31580d38a32d1b4913ae1d9107798e5861c94 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 21 Feb 2024 09:26:41 +0530 Subject: [PATCH 106/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index f301ec4..9e016b7 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -219,7 +219,7 @@ pipeline: type: String description: "" required: true - value: <+input> + value: input_preprod - name: input_set_name3 type: String description: "" From 1ecfe90ab8f2666f4d5512f97042993013f05c5e Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 21 Feb 2024 09:27:05 +0530 Subject: [PATCH 107/170] Update pipeline sudartest --- sudartest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 9e016b7..4d4fcca 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -64,6 +64,9 @@ pipeline: timeout: 10m tags: {} delegateSelectors: <+input> + when: + pipelineStatus: Success + condition: "false" - stage: name: child identifier: child From 0327dc4c601773666fe6bedb8adf983a554c076f Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 22 Feb 2024 10:14:35 +0530 Subject: [PATCH 108/170] Update pipeline sudartest --- sudartest.yaml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 4d4fcca..6eacb9d 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -77,8 +77,24 @@ pipeline: pipeline: Approval_Pipeline project: TF_Test_Sudar outputs: [] - inputSetReferences: - - <+pipeline.variables.input_set_name2> + inputs: + identifier: Approval_Pipeline + stages: + - stage: + identifier: customs3 + type: Custom + spec: + execution: + steps: + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + environmentVariables: + - name: input4 + type: String + value: sdsd + timeout: 10s tags: {} variables: - name: test234 From 1fd89bbdbe3397b18829e590810fe31fa08d27d8 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 22 Feb 2024 11:25:38 +0530 Subject: [PATCH 109/170] Update pipeline sudartest --- sudartest.yaml | 105 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 77 insertions(+), 28 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 6eacb9d..f9b2532 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -38,35 +38,84 @@ pipeline: tags: {} when: pipelineStatus: Success - - stage: - name: Custom - identifier: Custom - description: "" - type: Custom - spec: - execution: - steps: - - step: - type: ShellScript - name: ShellScript_1 - identifier: ShellScript_1 - spec: - shell: Bash - source: - type: Inline + - parallel: + - stage: + name: Custom + identifier: Custom + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 spec: - script: |- - echo <+pipeline.variables.input_set_name3> - exit 0 - environmentVariables: [] - outputVariables: [] - executionTarget: {} - timeout: 10m - tags: {} - delegateSelectors: <+input> - when: - pipelineStatus: Success - condition: "false" + shell: Bash + source: + type: Inline + spec: + script: |- + echo <+pipeline.variables.input_set_name3> + exit 0 + environmentVariables: [] + outputVariables: [] + executionTarget: {} + timeout: 10m + tags: {} + delegateSelectors: <+input> + when: + pipelineStatus: Success + condition: "false" + - stage: + name: Test2 + identifier: Test2 + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: HarnessApproval + name: HarnessApproval_1 + identifier: HarnessApproval_1 + spec: + approvalMessage: Please review the following information and approve the pipeline progression + includePipelineExecutionHistory: true + isAutoRejectEnabled: false + approvers: + userGroups: + - account.ProductManagement + minimumCount: 1 + disallowPipelineExecutor: false + approverInputs: [] + timeout: 1d + tags: {} + - stage: + name: Test3 + identifier: Test3 + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: HarnessApproval + name: HarnessApproval_1 + identifier: HarnessApproval_1 + spec: + approvalMessage: Please review the following information and approve the pipeline progression + includePipelineExecutionHistory: true + isAutoRejectEnabled: false + approvers: + userGroups: + - account.ProductManagement + minimumCount: 1 + disallowPipelineExecutor: false + approverInputs: [] + timeout: 1d + tags: {} - stage: name: child identifier: child From 7df78c916b6d6c20ff358f9311b728f17d912971 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 22 Feb 2024 11:26:21 +0530 Subject: [PATCH 110/170] Update pipeline sudartest --- sudartest.yaml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index f9b2532..846a562 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -56,18 +56,30 @@ pipeline: source: type: Inline spec: - script: |- - echo <+pipeline.variables.input_set_name3> - exit 0 + script: echo "helllo" environmentVariables: [] outputVariables: [] executionTarget: {} timeout: 10m + - step: + type: HarnessApproval + name: HarnessApproval_1 + identifier: HarnessApproval_1 + spec: + approvalMessage: Please review the following information and approve the pipeline progression + includePipelineExecutionHistory: true + isAutoRejectEnabled: false + approvers: + userGroups: + - account.ProductManagement + minimumCount: 1 + disallowPipelineExecutor: false + approverInputs: [] + timeout: 1d tags: {} delegateSelectors: <+input> when: pipelineStatus: Success - condition: "false" - stage: name: Test2 identifier: Test2 From 1bd019105001e59f47e046585a14352338aa4b4c Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Fri, 23 Feb 2024 09:10:35 +0530 Subject: [PATCH 111/170] Update pipeline sudartest --- sudartest.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 846a562..dc2293e 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -289,6 +289,32 @@ pipeline: - AllErrors action: type: StageRollback + - stage: + name: buildstage + identifier: buildstage + description: "" + type: CI + spec: + cloneCodebase: false + infrastructure: + type: KubernetesDirect + spec: + connectorRef: account.Harness_Kubernetes_Cluster + namespace: test + automountServiceAccountToken: true + nodeSelector: {} + os: Linux + execution: + steps: + - step: + type: Run + name: Run_1 + identifier: Run_1 + spec: + connectorRef: testttaws + image: test + shell: Sh + command: echo "hello" variables: - name: input_set_name_with_long_name_and_longer_name type: String From cbbf8c8007617a1c2706a739fd79c56bf75d6b89 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 27 Feb 2024 09:34:48 +0530 Subject: [PATCH 112/170] Update pipeline sudartest --- sudartest.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index dc2293e..82e46bd 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -344,19 +344,16 @@ pipeline: - name: test identifier: test pipelineEvents: - - type: AllEvents - - type: PipelineStart - - type: PipelineEnd - - type: PipelineSuccess - - type: PipelineFailed - type: StageFailed + forStages: + - approval - type: StageSuccess - - type: StageStart - - type: StepFailed + forStages: + - approval notificationMethod: type: Email spec: userGroups: [] recipients: - - sudarshan@harness.io + - sudarshan.purohit@harness.io enabled: true From 676dd5133d441d1ed03402e70a36609fb5ee24aa Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 27 Feb 2024 09:37:29 +0530 Subject: [PATCH 113/170] Update pipeline sudartest --- sudartest.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 82e46bd..cbe9327 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -38,6 +38,12 @@ pipeline: tags: {} when: pipelineStatus: Success + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: Ignore - parallel: - stage: name: Custom From fa362a46208dfe17ff3020613ecd7906dbd47081 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 27 Feb 2024 09:39:36 +0530 Subject: [PATCH 114/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index cbe9327..dd30667 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -43,7 +43,7 @@ pipeline: errors: - AllErrors action: - type: Ignore + type: MarkAsSuccess - parallel: - stage: name: Custom From f9ac35db013b8673abeb62b525bca0443003fc2e Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Tue, 27 Feb 2024 18:46:56 +0530 Subject: [PATCH 115/170] Update inputset ISrun --- .harness/ISrun.yaml | 47 ++++++++++++--------------------------------- 1 file changed, 12 insertions(+), 35 deletions(-) diff --git a/.harness/ISrun.yaml b/.harness/ISrun.yaml index 98fdd03..47b7070 100644 --- a/.harness/ISrun.yaml +++ b/.harness/ISrun.yaml @@ -1,29 +1,20 @@ inputSet: + name: ISrun + tags: {} + identifier: ISrun + orgIdentifier: default + projectIdentifier: TF_Test_Sudar pipeline: identifier: sudartest stages: + - parallel: + - stage: + identifier: Custom + type: Custom + delegateSelectors: <+input> - stage: identifier: child type: Pipeline - spec: - inputs: - identifier: Approval_Pipeline - stages: - - stage: - identifier: customs3 - type: Custom - spec: - execution: - steps: - - step: - identifier: ShellScript_1 - type: ShellScript - spec: - environmentVariables: - - name: input4 - type: String - value: sdsd - timeout: 10w variables: - name: test234 type: String @@ -41,7 +32,7 @@ inputSet: environmentVariables: - name: test type: Number - value: sdsd + value: "10" includeInfraSelectors: false services: values: @@ -101,20 +92,6 @@ inputSet: - name: input_set_name_with_long_name_and_longer_name type: String value: sdsd - - name: input_set_name2 - type: String - value: sdsd - name: input_set_name3 type: String - value: sdsd - name: ISrun - identifier: ISrun - provider: - type: Others - title: Third-party Git provider - info: Store pipeline in a third party Git provider - icon: service-github - size: 20 - disabled: false - orgIdentifier: default - projectIdentifier: TF_Test_Sudar + value: aa From 4564caeb6b9cd833681b051fb69fb2df1564db47 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Wed, 20 Mar 2024 08:25:56 +0530 Subject: [PATCH 116/170] Update pipeline sudartest --- sudartest.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index dd30667..9688a7b 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -82,6 +82,25 @@ pipeline: disallowPipelineExecutor: false approverInputs: [] timeout: 1d + - step: + type: TerraformPlan + name: TerraformPlan_1 + identifier: TerraformPlan_1 + spec: + provisionerIdentifier: testid + configuration: + command: Apply + configFiles: + store: + spec: + connectorRef: gitlabconnector + repoName: " TestProj" + gitFetchType: Branch + branch: main + folderPath: test.tf + type: GitLab + secretManagerRef: <+input> + timeout: 10m tags: {} delegateSelectors: <+input> when: From 096620e0a1a18d0b83a2b8bc84016833afa3ca8f Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Sun, 24 Mar 2024 08:57:16 +0530 Subject: [PATCH 117/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 9688a7b..6b58a98 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -8,6 +8,7 @@ pipeline: type: prod test: Ershad keying: shantelle + test2: <+pipeline.name> stages: - stage: name: approval From 1977d2ae8f9da197006e5fe5ca7e23f844762079 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Sat, 30 Mar 2024 12:08:44 +0530 Subject: [PATCH 118/170] Update pipeline sudartest --- sudartest.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 6b58a98..7dad81c 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -341,6 +341,46 @@ pipeline: image: test shell: Sh command: echo "hello" + - stage: + name: test + identifier: test + description: "" + type: Deployment + spec: + deploymentType: Kubernetes + service: + serviceRef: <+input> + serviceInputs: <+input> + environment: + environmentRef: <+input> + deployToAll: false + environmentInputs: <+input> + serviceOverrideInputs: <+input> + infrastructureDefinitions: <+input> + execution: + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: echo "hello" + environmentVariables: [] + outputVariables: [] + timeout: 10m + rollbackSteps: [] + tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: Abort variables: - name: input_set_name_with_long_name_and_longer_name type: String From 88662500e5320e82c3382711ceed425e5c3d3f02 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 4 Apr 2024 22:32:22 +0530 Subject: [PATCH 119/170] Update pipeline sudartest --- sudartest.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 7dad81c..e1fb3af 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -44,7 +44,11 @@ pipeline: errors: - AllErrors action: - type: MarkAsSuccess + type: Retry + spec: + retryCount: 2 + retryIntervals: + - 10w - parallel: - stage: name: Custom From e6a4a610c9422c6be4d275f5c9570376222a1545 Mon Sep 17 00:00:00 2001 From: "sudarshan.purohit@harness.io" Date: Thu, 4 Apr 2024 22:32:48 +0530 Subject: [PATCH 120/170] Update pipeline sudartest --- sudartest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index e1fb3af..ff8f4ea 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -49,6 +49,9 @@ pipeline: retryCount: 2 retryIntervals: - 10w + onRetryFailure: + action: + type: Abort - parallel: - stage: name: Custom From ea854329bf06c32bdc1066ee7ca1ea29d30bc931 Mon Sep 17 00:00:00 2001 From: "aditya.rana@harness.io" Date: Thu, 11 Apr 2024 16:59:11 +0530 Subject: [PATCH 121/170] Create pipeline test_gitMetadata --- .harness/test_gitMetadata.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .harness/test_gitMetadata.yaml diff --git a/.harness/test_gitMetadata.yaml b/.harness/test_gitMetadata.yaml new file mode 100644 index 0000000..a644f20 --- /dev/null +++ b/.harness/test_gitMetadata.yaml @@ -0,0 +1,30 @@ +pipeline: + name: test_gitMetadata + identifier: test_gitMetadata + projectIdentifier: naidusanity + orgIdentifier: default + tags: {} + stages: + - stage: + name: s + identifier: s + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: echo "hi" + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {} From 5a9a4c6f95c64a4f739ed0292bf4bc21d40bd12b Mon Sep 17 00:00:00 2001 From: "aditya.rana@harness.io" Date: Wed, 17 Apr 2024 12:57:30 +0530 Subject: [PATCH 122/170] Create pipeline test_r --- .harness/test_r.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .harness/test_r.yaml diff --git a/.harness/test_r.yaml b/.harness/test_r.yaml new file mode 100644 index 0000000..eb86c0a --- /dev/null +++ b/.harness/test_r.yaml @@ -0,0 +1,30 @@ +pipeline: + name: test_r + identifier: test_r + projectIdentifier: naidusanity + orgIdentifier: default + tags: {} + stages: + - stage: + name: s + identifier: s + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: exit 0 + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {} From d331ff7a38d19b785115b7848527e1a598de49dd Mon Sep 17 00:00:00 2001 From: "aditya.rana@harness.io" Date: Wed, 17 Apr 2024 12:57:56 +0530 Subject: [PATCH 123/170] Update pipeline test_r --- .harness/test_r.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/test_r.yaml b/.harness/test_r.yaml index eb86c0a..e8625a1 100644 --- a/.harness/test_r.yaml +++ b/.harness/test_r.yaml @@ -26,5 +26,5 @@ pipeline: script: exit 0 environmentVariables: [] outputVariables: [] - timeout: 10m + timeout: <+input> tags: {} From 2d10c92a60e0b868edffe70d93507f3e5fb2bc89 Mon Sep 17 00:00:00 2001 From: "aditya.rana@harness.io" Date: Mon, 22 Apr 2024 15:14:29 +0530 Subject: [PATCH 124/170] Update pipeline test_r --- .harness/test_r.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/test_r.yaml b/.harness/test_r.yaml index e8625a1..eb86c0a 100644 --- a/.harness/test_r.yaml +++ b/.harness/test_r.yaml @@ -26,5 +26,5 @@ pipeline: script: exit 0 environmentVariables: [] outputVariables: [] - timeout: <+input> + timeout: 10m tags: {} From a55f1cc25d448fb8feabf45c5ccab695052dcf35 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 22 May 2024 19:48:37 +0530 Subject: [PATCH 125/170] Update pipeline sudartest --- sudartest.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index ff8f4ea..fea2e41 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -247,7 +247,12 @@ pipeline: errors: - AllErrors action: - type: Abort + type: Retry + spec: + retryCount: 2 + onRetryFailure: + action: + type: Ignore - stage: name: template identifier: template From bcf3dc4c208623370608574f05443aba1b7b6ae3 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Fri, 24 May 2024 11:41:56 +0530 Subject: [PATCH 126/170] Update pipeline sudartest --- sudartest.yaml | 54 +++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index fea2e41..3a31e18 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -196,6 +196,32 @@ pipeline: description: sdfs required: false value: <+input>.executionInput() + - stage: + name: buildstage + identifier: buildstage + description: "" + type: CI + spec: + cloneCodebase: false + infrastructure: + type: KubernetesDirect + spec: + connectorRef: account.Harness_Kubernetes_Cluster + namespace: test + automountServiceAccountToken: true + nodeSelector: {} + os: Linux + execution: + steps: + - step: + type: Run + name: Run_1 + identifier: Run_1 + spec: + connectorRef: testttaws + image: test + shell: Sh + command: echo "hello" - stage: name: deploystage identifier: deploystage @@ -327,32 +353,6 @@ pipeline: - AllErrors action: type: StageRollback - - stage: - name: buildstage - identifier: buildstage - description: "" - type: CI - spec: - cloneCodebase: false - infrastructure: - type: KubernetesDirect - spec: - connectorRef: account.Harness_Kubernetes_Cluster - namespace: test - automountServiceAccountToken: true - nodeSelector: {} - os: Linux - execution: - steps: - - step: - type: Run - name: Run_1 - identifier: Run_1 - spec: - connectorRef: testttaws - image: test - shell: Sh - command: echo "hello" - stage: name: test identifier: test @@ -398,7 +398,7 @@ pipeline: type: String description: Descriptive stuff required: true - value: <+input> + value: <+input>.allowedValues(<+pipeline.name>,<+pipeline.id>) - name: input_set_name2 type: String description: "" From 73d4f8017349164489996cbdb4ffdca1f06cda48 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Fri, 24 May 2024 11:43:54 +0530 Subject: [PATCH 127/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 3a31e18..7d2bf5b 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -195,7 +195,7 @@ pipeline: type: String description: sdfs required: false - value: <+input>.executionInput() + value: <+input>.executionInput().allowedValues(<+pipeline.name>,<+pipeline.id>) - stage: name: buildstage identifier: buildstage From f22baf6294e4d01a3c73594aa17b774d8a7d1cda Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Mon, 3 Jun 2024 14:55:03 +0530 Subject: [PATCH 128/170] Update pipeline sudartest --- sudartest.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 7d2bf5b..e19932e 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -419,6 +419,19 @@ pipeline: - name: testbarrier identifier: testbarrier notificationRules: + - name: test2 + identifier: test2 + pipelineEvents: + - type: StageSuccess + forStages: + - approval + notificationMethod: + type: Webhook + spec: + webhookUrl: https://webhook.site/1eec8c05-e2ac-4d9d-b9c7-bf590092da08 + headers: + hello: <+pipeline.name> + enabled: true - name: test identifier: test pipelineEvents: From 09eb5bd5fa3b79463c3e9aa37148d85307247359 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Mon, 3 Jun 2024 14:57:11 +0530 Subject: [PATCH 129/170] Update pipeline sudartest --- sudartest.yaml | 144 ------------------------------------------------- 1 file changed, 144 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index e19932e..593d299 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -222,63 +222,6 @@ pipeline: image: test shell: Sh command: echo "hello" - - stage: - name: deploystage - identifier: deploystage - description: "" - type: Deployment - spec: - deploymentType: Kubernetes - execution: - steps: - - step: - type: ShellScript - name: ShellScript_1 - identifier: ShellScript_1 - spec: - shell: Bash - onDelegate: true - source: - type: Inline - spec: - script: echo <+serviceVariables.ServiceVar> - environmentVariables: - - name: test - type: Number - value: <+input> - outputVariables: [] - includeInfraSelectors: <+input> - timeout: 10m - rollbackSteps: - - step: - name: Rollback Rollout Deployment - identifier: rollbackRolloutDeployment - type: K8sRollingRollback - timeout: 10m - spec: - pruningEnabled: false - services: - values: <+input> - metadata: - parallel: false - environmentGroup: - envGroupRef: envgroup1 - metadata: - parallel: true - deployToAll: true - environments: <+input> - tags: {} - failureStrategies: - - onFailure: - errors: - - AllErrors - action: - type: Retry - spec: - retryCount: 2 - onRetryFailure: - action: - type: Ignore - stage: name: template identifier: template @@ -306,93 +249,6 @@ pipeline: type: Inline spec: script: <+input> - - stage: - name: deploy2 - identifier: deploy2 - description: "" - type: Deployment - spec: - deploymentType: Kubernetes - service: - serviceRef: SudarService - serviceInputs: - serviceDefinition: - type: Kubernetes - spec: - variables: - - name: ServiceVar - type: String - value: <+input> - environment: - environmentRef: test_envi - deployToAll: false - infrastructureDefinitions: - - identifier: vl_infra_dummy - execution: - steps: - - step: - name: Rollout Deployment - identifier: rolloutDeployment - type: K8sRollingDeploy - timeout: 10m - spec: - skipDryRun: false - pruningEnabled: false - rollbackSteps: - - step: - name: Rollback Rollout Deployment - identifier: rollbackRolloutDeployment - type: K8sRollingRollback - timeout: 10m - spec: - pruningEnabled: false - tags: {} - failureStrategies: - - onFailure: - errors: - - AllErrors - action: - type: StageRollback - - stage: - name: test - identifier: test - description: "" - type: Deployment - spec: - deploymentType: Kubernetes - service: - serviceRef: <+input> - serviceInputs: <+input> - environment: - environmentRef: <+input> - deployToAll: false - environmentInputs: <+input> - serviceOverrideInputs: <+input> - infrastructureDefinitions: <+input> - execution: - steps: - - step: - type: ShellScript - name: ShellScript_1 - identifier: ShellScript_1 - spec: - shell: Bash - executionTarget: {} - source: - type: Inline - spec: - script: echo "hello" - environmentVariables: [] - outputVariables: [] - timeout: 10m - rollbackSteps: [] - tags: {} - failureStrategies: - - onFailure: - errors: - - AllErrors - action: - type: Abort variables: - name: input_set_name_with_long_name_and_longer_name type: String From 440faa705eedc150dd49aa9630a34f8e89439861 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Mon, 3 Jun 2024 14:59:43 +0530 Subject: [PATCH 130/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 593d299..a9ff40b 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -287,6 +287,7 @@ pipeline: webhookUrl: https://webhook.site/1eec8c05-e2ac-4d9d-b9c7-bf590092da08 headers: hello: <+pipeline.name> + x-api-key: <+pipeline.variables.input_set_name_with_long_name_and_longer_name> enabled: true - name: test identifier: test From 0a22c83fc998ee6c02e5962d0bf2757f70f3fac1 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Mon, 10 Jun 2024 17:33:10 +0530 Subject: [PATCH 131/170] Update pipeline sudartest --- sudartest.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index a9ff40b..4d72205 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -109,6 +109,28 @@ pipeline: type: GitLab secretManagerRef: <+input> timeout: 10m + - step: + type: Email + name: Email_1 + identifier: Email_1 + spec: + to: sudarshan.purohit@gmail.com + cc: "" + subject: Test email from pipeline + body: |- + + + + + timeout: 10m tags: {} delegateSelectors: <+input> when: From 5a98647737cb3f6b6283544a80b73c11b5c8de87 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 11 Jun 2024 08:58:06 +0530 Subject: [PATCH 132/170] Update pipeline sudartest --- sudartest.yaml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 4d72205..00bab01 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -52,6 +52,53 @@ pipeline: onRetryFailure: action: type: Abort + - stage: + name: deploystage + identifier: deploystage + description: "" + type: Deployment + spec: + deploymentType: Kubernetes + service: + serviceRef: SudarService + serviceInputs: + serviceDefinition: + type: Kubernetes + spec: + variables: + - name: ServiceVar + type: String + value: <+input> + environment: + environmentRef: env1 + deployToAll: false + infrastructureDefinitions: + - identifier: infra1 + execution: + steps: + - step: + name: Rollout Deployment + identifier: rolloutDeployment + type: K8sRollingDeploy + timeout: 10m + spec: + skipDryRun: false + pruningEnabled: false + rollbackSteps: + - step: + name: Rollback Rollout Deployment + identifier: rollbackRolloutDeployment + type: K8sRollingRollback + timeout: 10m + spec: + pruningEnabled: false + tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: StageRollback - parallel: - stage: name: Custom From f6279f9ebc082b5ecf8191cc1af035c98e9d29aa Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 19 Jun 2024 10:52:09 +0530 Subject: [PATCH 133/170] Update pipeline sudartest --- sudartest.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 00bab01..24ea796 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -323,7 +323,7 @@ pipeline: type: String description: Descriptive stuff required: true - value: <+input>.allowedValues(<+pipeline.name>,<+pipeline.id>) + value: <+input> - name: input_set_name2 type: String description: "" @@ -332,7 +332,7 @@ pipeline: - name: input_set_name3 type: String description: "" - value: <+input>.allowedValues(aa,bb,cc,) + value: <+input> - name: required_variable type: String description: "" From ad926fea9b522395319c2695f998fcafc950bd5a Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 19 Jun 2024 10:53:41 +0530 Subject: [PATCH 134/170] Update pipeline sudartest --- sudartest.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 24ea796..1b0746c 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -44,14 +44,7 @@ pipeline: errors: - AllErrors action: - type: Retry - spec: - retryCount: 2 - retryIntervals: - - 10w - onRetryFailure: - action: - type: Abort + type: Abort - stage: name: deploystage identifier: deploystage From d29f99b88dff5e0bd403506b822cde1a76424554 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 19 Jun 2024 10:55:34 +0530 Subject: [PATCH 135/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 1b0746c..bb99fe7 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -315,7 +315,7 @@ pipeline: - name: input_set_name_with_long_name_and_longer_name type: String description: Descriptive stuff - required: true + required: false value: <+input> - name: input_set_name2 type: String From ece33ef3923c62e3e4db306341fb0b26a7abba45 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 19 Jun 2024 10:57:13 +0530 Subject: [PATCH 136/170] Create inputset isempty --- .harness/isempty.yaml | 73 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .harness/isempty.yaml diff --git a/.harness/isempty.yaml b/.harness/isempty.yaml new file mode 100644 index 0000000..ecfcccb --- /dev/null +++ b/.harness/isempty.yaml @@ -0,0 +1,73 @@ +inputSet: + name: isempty + identifier: isempty + orgIdentifier: default + projectIdentifier: TF_Test_Sudar + pipeline: + identifier: sudartest + stages: + - stage: + identifier: deploystage + type: Deployment + spec: + service: + serviceInputs: + serviceDefinition: + type: Kubernetes + spec: + variables: + - name: ServiceVar + type: String + value: <+input> + - parallel: + - stage: + identifier: Custom + type: Custom + spec: + execution: + steps: + - step: + identifier: TerraformPlan_1 + type: TerraformPlan + spec: + configuration: + secretManagerRef: <+input> + delegateSelectors: [] + - stage: + identifier: child + type: Pipeline + variables: + - name: test234 + type: String + value: <+input>.executionInput().allowedValues(<+pipeline.name>,<+pipeline.id>) + - stage: + identifier: template + template: + templateInputs: + type: Custom + spec: + execution: + steps: + - step: + identifier: httpstep + type: Http + spec: + inputVariables: + - name: testinput + type: String + value: <+input> + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + source: + type: Inline + spec: + script: <+input> + variables: + - name: input_set_name_with_long_name_and_longer_name + type: String + value: <+input> + - name: input_set_name3 + type: String + value: <+input> From 78aa64c2fbc98cc9f64735e115d26942651d5b23 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 19 Jun 2024 11:14:32 +0530 Subject: [PATCH 137/170] Create inputset blankis --- .harness/blankis.yaml | 73 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .harness/blankis.yaml diff --git a/.harness/blankis.yaml b/.harness/blankis.yaml new file mode 100644 index 0000000..8886319 --- /dev/null +++ b/.harness/blankis.yaml @@ -0,0 +1,73 @@ +inputSet: + name: blankis + identifier: blankis + orgIdentifier: default + projectIdentifier: TF_Test_Sudar + pipeline: + identifier: sudartest + stages: + - stage: + identifier: deploystage + type: Deployment + spec: + service: + serviceInputs: + serviceDefinition: + type: Kubernetes + spec: + variables: + - name: ServiceVar + type: String + value: <+input> + - parallel: + - stage: + identifier: Custom + type: Custom + spec: + execution: + steps: + - step: + identifier: TerraformPlan_1 + type: TerraformPlan + spec: + configuration: + secretManagerRef: <+input> + delegateSelectors: [] + - stage: + identifier: child + type: Pipeline + variables: + - name: test234 + type: String + value: <+input>.executionInput().allowedValues(<+pipeline.name>,<+pipeline.id>) + - stage: + identifier: template + template: + templateInputs: + type: Custom + spec: + execution: + steps: + - step: + identifier: httpstep + type: Http + spec: + inputVariables: + - name: testinput + type: String + value: <+input> + - step: + identifier: ShellScript_1 + type: ShellScript + spec: + source: + type: Inline + spec: + script: <+input> + variables: + - name: input_set_name_with_long_name_and_longer_name + type: String + value: <+input> + - name: input_set_name3 + type: String + value: <+input> From eafeedebcc9e9a1085d3e5c0742e8fe37fda318a Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 19 Jun 2024 11:19:24 +0530 Subject: [PATCH 138/170] Update inputset blankis --- .harness/blankis.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.harness/blankis.yaml b/.harness/blankis.yaml index 8886319..69d9a24 100644 --- a/.harness/blankis.yaml +++ b/.harness/blankis.yaml @@ -1,5 +1,6 @@ inputSet: name: blankis + tags: {} identifier: blankis orgIdentifier: default projectIdentifier: TF_Test_Sudar From f69a688d19f287f1c3e3da517405177ff913be49 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Fri, 21 Jun 2024 16:29:26 +0530 Subject: [PATCH 139/170] Update pipeline sudartest --- sudartest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index bb99fe7..19a2ebb 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -92,6 +92,9 @@ pipeline: - AllErrors action: type: StageRollback + when: + pipelineStatus: Success + condition: <+pipeline.name != "test"> - parallel: - stage: name: Custom From 85c6a9ff710d158e25ae2364f1a1c1cbd41ec8ac Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Fri, 21 Jun 2024 16:39:50 +0530 Subject: [PATCH 140/170] Update pipeline sudartest --- sudartest.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 19a2ebb..b690260 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -94,7 +94,6 @@ pipeline: type: StageRollback when: pipelineStatus: Success - condition: <+pipeline.name != "test"> - parallel: - stage: name: Custom From 5167d550b909c4775b898d5a8863a4d92ffc29bc Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 10 Jul 2024 11:28:24 +0530 Subject: [PATCH 141/170] Update pipeline sudartest --- sudartest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index b690260..6f3e352 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -77,6 +77,9 @@ pipeline: spec: skipDryRun: false pruningEnabled: false + when: + stageStatus: Success + condition: " <+execution.steps.service.status>" rollbackSteps: - step: name: Rollback Rollout Deployment From 67e7206984835c1d04099b87d6b5cea42fde04c0 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Thu, 11 Jul 2024 12:28:10 +0530 Subject: [PATCH 142/170] Update pipeline sudartest --- sudartest.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 6f3e352..27a78f9 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -176,6 +176,12 @@ pipeline: timeout: 10m + - step: + name: test23 + identifier: test23 + template: + templateRef: Approvaltemplate + versionLabel: v1 tags: {} delegateSelectors: <+input> when: From ccffd0cc81db62cf8a79889e7a715469be88b845 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Thu, 11 Jul 2024 12:29:45 +0530 Subject: [PATCH 143/170] Update pipeline sudartest --- sudartest.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 27a78f9..748dc7d 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -45,6 +45,21 @@ pipeline: - AllErrors action: type: Abort + - stage: + name: test + identifier: test + description: "" + type: Custom + spec: + execution: + steps: + - step: + name: sdsd + identifier: sdsd + template: + templateRef: Approvaltemplate + versionLabel: v1 + tags: {} - stage: name: deploystage identifier: deploystage From b0e2717d2c5439cd2b981d9ed4085a01e2c029db Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Fri, 11 Oct 2024 14:04:21 +0530 Subject: [PATCH 144/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 748dc7d..441e5da 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -393,3 +393,4 @@ pipeline: recipients: - sudarshan.purohit@harness.io enabled: true + description: Test Description From 238dfb474d105bf2b0019d10518766b0647bab0c Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 29 Oct 2024 12:23:44 +0530 Subject: [PATCH 145/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 441e5da..e1e787e 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -54,7 +54,7 @@ pipeline: execution: steps: - step: - name: sdsd + name: sdsdsdfsdf identifier: sdsd template: templateRef: Approvaltemplate From 60091a99df5c27bbf0d63e4c5f9958bf9c7f9701 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 5 Nov 2024 04:21:47 +0530 Subject: [PATCH 146/170] Update pipeline sudartest --- sudartest.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index e1e787e..6a90017 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -337,6 +337,10 @@ pipeline: type: Inline spec: script: <+input> + environmentVariables: + - name: bklabla + type: String + value: <+input> variables: - name: input_set_name_with_long_name_and_longer_name type: String From 8782c32c64d7ca21fa25ab0e182dd999ca9650b9 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 5 Nov 2024 04:22:56 +0530 Subject: [PATCH 147/170] Update pipeline sudartest --- sudartest.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 6a90017..9bc2e5f 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -96,6 +96,22 @@ pipeline: stageStatus: Success condition: " <+execution.steps.service.status>" rollbackSteps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: echo "hello" + environmentVariables: [] + outputVariables: [] + timeout: 10m + when: + stageStatus: Success - step: name: Rollback Rollout Deployment identifier: rollbackRolloutDeployment From e8a1f8cf622f034c7a81fa597d30fcfbe70d8ae7 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 5 Nov 2024 04:53:14 +0530 Subject: [PATCH 148/170] Update pipeline sudartest --- sudartest.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 9bc2e5f..be98862 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -94,7 +94,6 @@ pipeline: pruningEnabled: false when: stageStatus: Success - condition: " <+execution.steps.service.status>" rollbackSteps: - step: type: ShellScript From 3af659809b2f952e7b45c5c19d56426d709dc6fd Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Thu, 7 Nov 2024 03:32:15 +0530 Subject: [PATCH 149/170] Update pipeline sudartest --- sudartest.yaml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index be98862..f52dcf5 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -84,6 +84,20 @@ pipeline: - identifier: infra1 execution: steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: echo <+stage.spec.serviceConfig> + environmentVariables: [] + outputVariables: [] + timeout: 10m - step: name: Rollout Deployment identifier: rolloutDeployment @@ -382,6 +396,17 @@ pipeline: - name: testbarrier identifier: testbarrier notificationRules: + - name: xcx + identifier: xcx + pipelineEvents: + - type: PipelineEnd + notificationMethod: + type: Email + spec: + userGroups: [] + recipients: + - sudarshan.purohit@harness.io + enabled: false - name: test2 identifier: test2 pipelineEvents: @@ -395,7 +420,7 @@ pipeline: headers: hello: <+pipeline.name> x-api-key: <+pipeline.variables.input_set_name_with_long_name_and_longer_name> - enabled: true + enabled: false - name: test identifier: test pipelineEvents: From 7bca19920aecb4cfdc8800a3beeca85dc3aa026d Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Mon, 11 Nov 2024 22:53:12 +0530 Subject: [PATCH 150/170] Update pipeline sudartest --- sudartest.yaml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index f52dcf5..b6d9a25 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -59,6 +59,58 @@ pipeline: template: templateRef: Approvaltemplate versionLabel: v1 + - stepGroup: + name: step1 + identifier: step1 + steps: + - stepGroup: + name: step3 + identifier: step3 + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: echo "hello" + environmentVariables: [] + outputVariables: [] + timeout: 10m + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: MarkAsFailure + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: MarkAsFailure + - stepGroup: + name: step2 + identifier: step2 + steps: + - stepGroup: + name: step3 + identifier: step3 + steps: + - step: + type: Email + name: Email_1 + identifier: Email_1 + spec: + to: sdars@gmail.com + cc: "" + subject: sdcsd + body: haha + timeout: 10m tags: {} - stage: name: deploystage From 29fcd7d27e31fa10a49d101902b1f259ee6e3674 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 20 Nov 2024 02:47:53 +0530 Subject: [PATCH 151/170] Update pipeline sudartest --- sudartest.yaml | 61 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 24 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index b6d9a25..37b08e0 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -59,34 +59,41 @@ pipeline: template: templateRef: Approvaltemplate versionLabel: v1 + - step: + type: ShellScript + name: ShellScript_2 + identifier: ShellScript_2 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: echo "hello" + environmentVariables: [] + outputVariables: + - name: hello + type: String + value: how + timeout: 10m - stepGroup: name: step1 identifier: step1 steps: - - stepGroup: - name: step3 - identifier: step3 - steps: - - step: - type: ShellScript - name: ShellScript_1 - identifier: ShellScript_1 - spec: - shell: Bash - executionTarget: {} - source: - type: Inline - spec: - script: echo "hello" - environmentVariables: [] - outputVariables: [] - timeout: 10m - failureStrategies: - - onFailure: - errors: - - AllErrors - action: - type: MarkAsFailure + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: echo <+execution.steps.ShellScript_2.output.outputVariables.hello> + environmentVariables: [] + outputVariables: [] + timeout: 10m failureStrategies: - onFailure: errors: @@ -112,6 +119,12 @@ pipeline: body: haha timeout: 10m tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: Ignore - stage: name: deploystage identifier: deploystage From 9c6dc029dce697be780339d50b566f176b3e60b5 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 20 Nov 2024 02:50:10 +0530 Subject: [PATCH 152/170] Update pipeline sudartest --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 37b08e0..db8cc50 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -69,7 +69,7 @@ pipeline: source: type: Inline spec: - script: echo "hello" + script: export how="howaar" environmentVariables: [] outputVariables: - name: hello From 65dc933945b5ab7a786b8de31cff35327ada745f Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 20 Nov 2024 02:57:59 +0530 Subject: [PATCH 153/170] Update pipeline sudartest --- sudartest.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index db8cc50..018d7b4 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -100,6 +100,10 @@ pipeline: - AllErrors action: type: MarkAsFailure + stepGroupInfra: + type: KubernetesDirect + spec: + connectorRef: testdcplay - stepGroup: name: step2 identifier: step2 From ea2e92bc4c7a3363e8ad70bb8d79ff617b9bf6d7 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 20 Nov 2024 03:39:28 +0530 Subject: [PATCH 154/170] Update pipeline sudartest --- sudartest.yaml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 018d7b4..bef5af3 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -81,19 +81,14 @@ pipeline: identifier: step1 steps: - step: - type: ShellScript - name: ShellScript_1 - identifier: ShellScript_1 + type: Run + name: Run_1 + identifier: Run_1 spec: - shell: Bash - executionTarget: {} - source: - type: Inline - spec: - script: echo <+execution.steps.ShellScript_2.output.outputVariables.hello> - environmentVariables: [] - outputVariables: [] - timeout: 10m + connectorRef: account.harnessImage + image: library/nginx + shell: Sh + command: echo <+execution.steps.ShellScript_2.output.outputVariables.hello> failureStrategies: - onFailure: errors: From 6c7b005c4e9310189d167140c97dee43329dc5cc Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Thu, 28 Nov 2024 09:25:20 +0530 Subject: [PATCH 155/170] Update pipeline sudartest --- sudartest.yaml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index bef5af3..fbe9e60 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -88,7 +88,33 @@ pipeline: connectorRef: account.harnessImage image: library/nginx shell: Sh - command: echo <+execution.steps.ShellScript_2.output.outputVariables.hello> + command: |- + echo <+execution.steps.ShellScript_2.output.outputVariables.hello> + export var1=varvalue + outputVariables: + - name: var1 + type: String + value: var1 + - stepGroup: + name: group2 + identifier: group2 + steps: + - step: + type: ShellScript + name: ShellScript_2_1 + identifier: ShellScript_2_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: |+ + echo <+stepGroup.getParentStepGroup.steps.Run_1.output.outputVariables.var1> + + environmentVariables: [] + outputVariables: [] + timeout: 10m failureStrategies: - onFailure: errors: From 719001be833c6641ad27daf70af067ee145275bd Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Thu, 28 Nov 2024 09:28:21 +0530 Subject: [PATCH 156/170] Update pipeline sudartest --- sudartest.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index fbe9e60..a70a7c7 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -121,10 +121,6 @@ pipeline: - AllErrors action: type: MarkAsFailure - stepGroupInfra: - type: KubernetesDirect - spec: - connectorRef: testdcplay - stepGroup: name: step2 identifier: step2 From c19cde92194b185ec98f15f198d4dfd272726bde Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Thu, 28 Nov 2024 09:30:05 +0530 Subject: [PATCH 157/170] Update pipeline sudartest --- sudartest.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index a70a7c7..c3ecde9 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -81,20 +81,24 @@ pipeline: identifier: step1 steps: - step: - type: Run + type: ShellScript name: Run_1 identifier: Run_1 spec: - connectorRef: account.harnessImage - image: library/nginx - shell: Sh - command: |- - echo <+execution.steps.ShellScript_2.output.outputVariables.hello> - export var1=varvalue + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: |- + echo <+execution.steps.ShellScript_2.output.outputVariables.hello> + export var1=varvalue + environmentVariables: [] outputVariables: - name: var1 type: String value: var1 + timeout: 10m - stepGroup: name: group2 identifier: group2 From 2a485f92dcb72e33ba26644658fe8ef9e32b263b Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 7 Jan 2025 12:41:34 +0530 Subject: [PATCH 158/170] Update pipeline sudartest --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index c3ecde9..77e1e35 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -166,6 +166,7 @@ pipeline: variables: - name: ServiceVar type: String + description: "" value: <+input> environment: environmentRef: env1 From 11a44bd4a4569fcdc804abbaed6d2090d4449d69 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 7 Jan 2025 14:17:34 +0530 Subject: [PATCH 159/170] Update pipeline sudar. test --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 77e1e35..3919c84 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -1,5 +1,5 @@ pipeline: - name: sudartest + name: sudar. test identifier: sudartest projectIdentifier: TF_Test_Sudar orgIdentifier: default From a637523517a763e5e929f5daf5c6c101c473cd71 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 21 Jan 2025 12:12:24 +0530 Subject: [PATCH 160/170] Update pipeline sudar. test --- sudartest.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 3919c84..a0644c5 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -11,8 +11,8 @@ pipeline: test2: <+pipeline.name> stages: - stage: - name: approval - identifier: approval + name: approvalweqweqwe + identifier: approvalqweqweqwe description: "" type: Approval spec: From 41cf52cedd72d83293144f530c1daec08769813c Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 21 Jan 2025 16:18:24 +0530 Subject: [PATCH 161/170] Update pipeline sudar. test --- sudartest.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index a0644c5..1062101 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -199,6 +199,16 @@ pipeline: pruningEnabled: false when: stageStatus: Success + - step: + type: GitOpsUpdateReleaseRepo + name: GitOpsUpdateReleaseRepo_1 + identifier: GitOpsUpdateReleaseRepo_1 + spec: + variables: + - name: test + type: String + value: <+pipeline.name> + timeout: 10m rollbackSteps: - step: type: ShellScript From beada32338b46a51e1da2caa2faa44d87af10fce Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 29 Jan 2025 10:26:55 +0530 Subject: [PATCH 162/170] Update pipeline sudar. test --- sudartest.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 1062101..3b74492 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -166,7 +166,6 @@ pipeline: variables: - name: ServiceVar type: String - description: "" value: <+input> environment: environmentRef: env1 From ace8a2ed051a2208e8e38fa1bbeb18e3e8f68ffd Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Wed, 28 May 2025 12:23:45 +0530 Subject: [PATCH 163/170] Update pipeline Sudarshan Test --- sudartest.yaml | 70 +------------------------------------------------- 1 file changed, 1 insertion(+), 69 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 3b74492..9a0e1f4 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -1,5 +1,5 @@ pipeline: - name: sudar. test + name: Sudarshan Test identifier: sudartest projectIdentifier: TF_Test_Sudar orgIdentifier: default @@ -470,71 +470,3 @@ pipeline: - name: bklabla type: String value: <+input> - variables: - - name: input_set_name_with_long_name_and_longer_name - type: String - description: Descriptive stuff - required: false - value: <+input> - - name: input_set_name2 - type: String - description: "" - required: true - value: input_preprod - - name: input_set_name3 - type: String - description: "" - value: <+input> - - name: required_variable - type: String - description: "" - required: false - value: "10" - allowStageExecutions: true - flowControl: - barriers: - - name: testbarrier - identifier: testbarrier - notificationRules: - - name: xcx - identifier: xcx - pipelineEvents: - - type: PipelineEnd - notificationMethod: - type: Email - spec: - userGroups: [] - recipients: - - sudarshan.purohit@harness.io - enabled: false - - name: test2 - identifier: test2 - pipelineEvents: - - type: StageSuccess - forStages: - - approval - notificationMethod: - type: Webhook - spec: - webhookUrl: https://webhook.site/1eec8c05-e2ac-4d9d-b9c7-bf590092da08 - headers: - hello: <+pipeline.name> - x-api-key: <+pipeline.variables.input_set_name_with_long_name_and_longer_name> - enabled: false - - name: test - identifier: test - pipelineEvents: - - type: StageFailed - forStages: - - approval - - type: StageSuccess - forStages: - - approval - notificationMethod: - type: Email - spec: - userGroups: [] - recipients: - - sudarshan.purohit@harness.io - enabled: true - description: Test Description From ff66f49bf6b083cc5e0b2ef4d87c4d9531f30550 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Mon, 2 Jun 2025 18:17:22 +0530 Subject: [PATCH 164/170] Update pipeline Sudarshan Test --- sudartest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/sudartest.yaml b/sudartest.yaml index 9a0e1f4..93bc125 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -470,3 +470,4 @@ pipeline: - name: bklabla type: String value: <+input> + allowStageExecutions: true From 143f69d3d88dee9a5c6463ad18e3105fb2a9295f Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Thu, 3 Jul 2025 19:04:29 +0530 Subject: [PATCH 165/170] Update pipeline Sudarshan Test --- sudartest.yaml | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index 93bc125..7601493 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -241,6 +241,100 @@ pipeline: type: StageRollback when: pipelineStatus: Success + - stage: + name: test123 + identifier: test123 + description: "" + type: Deployment + spec: + deploymentType: Kubernetes + service: + serviceRef: <+input> + serviceInputs: <+input> + environment: + environmentRef: <+input> + deployToAll: false + environmentInputs: <+input> + serviceOverrideInputs: <+input> + infrastructureDefinitions: <+input> + execution: + steps: + - stepGroup: + name: Canary Deployment + identifier: canaryDeployment + steps: + - step: + name: Canary Deployment + identifier: canaryDeployment + type: K8sCanaryDeploy + timeout: 10m + spec: + instanceSelection: + spec: + percentage: 50 + type: Percentage + skipDryRun: false + trafficRouting: + spec: + routes: + - route: + type: http + name: route1 + destinations: + - destination: + host: stable + - destination: + host: canary + name: virtual-service-<+service.name> + provider: istio + - step: + type: K8sCanaryDeploy + name: K8sCanaryDeploy_1 + identifier: K8sCanaryDeploy_1 + spec: + skipDryRun: false + instanceSelection: + spec: + percentage: 50 + type: Percentage + timeout: 10m + - step: + name: Canary Delete + identifier: canaryDelete + type: K8sCanaryDelete + timeout: 10m + spec: {} + - stepGroup: + name: Primary Deployment + identifier: primaryDeployment + steps: + - step: + name: Rolling Deployment + identifier: rollingDeployment + type: K8sRollingDeploy + timeout: 10m + spec: + skipDryRun: false + rollbackSteps: + - step: + name: Canary Delete + identifier: rollbackCanaryDelete + type: K8sCanaryDelete + timeout: 10m + spec: {} + - step: + name: Rolling Rollback + identifier: rollingRollback + type: K8sRollingRollback + timeout: 10m + spec: {} + tags: {} + failureStrategies: + - onFailure: + errors: + - AllErrors + action: + type: StageRollback - parallel: - stage: name: Custom From 33ca735f489ace1acbb14a5ef07d0a1413691878 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Thu, 14 Aug 2025 19:07:43 +0530 Subject: [PATCH 166/170] Update pipeline Sudarshan Test --- sudartest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index 7601493..ed3d0af 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -11,7 +11,7 @@ pipeline: test2: <+pipeline.name> stages: - stage: - name: approvalweqweqwe + name: approval identifier: approvalqweqweqwe description: "" type: Approval From 4d9768ab7662d4486230ae364aec1924200da76a Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 9 Sep 2025 11:19:40 +0530 Subject: [PATCH 167/170] Update pipeline Sudarshan Test --- sudartest.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sudartest.yaml b/sudartest.yaml index ed3d0af..23e0467 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -69,7 +69,9 @@ pipeline: source: type: Inline spec: - script: export how="howaar" + script: |- + export how="howaar" + echo <+pipeline.branch1> environmentVariables: [] outputVariables: - name: hello From 397f09de3a6afe74dad3c318b469f975e4d60b24 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 16 Sep 2025 09:42:45 +0530 Subject: [PATCH 168/170] Update pipeline Sudarshan Test --- sudartest.yaml | 52 ++++++++++++++++++++------------------------------ 1 file changed, 21 insertions(+), 31 deletions(-) diff --git a/sudartest.yaml b/sudartest.yaml index 23e0467..dcbe617 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -177,38 +177,28 @@ pipeline: execution: steps: - step: - type: ShellScript - name: ShellScript_1 - identifier: ShellScript_1 - spec: - shell: Bash - executionTarget: {} - source: - type: Inline - spec: - script: echo <+stage.spec.serviceConfig> - environmentVariables: [] - outputVariables: [] - timeout: 10m - - step: - name: Rollout Deployment - identifier: rolloutDeployment - type: K8sRollingDeploy - timeout: 10m - spec: - skipDryRun: false - pruningEnabled: false - when: - stageStatus: Success - - step: - type: GitOpsUpdateReleaseRepo - name: GitOpsUpdateReleaseRepo_1 - identifier: GitOpsUpdateReleaseRepo_1 + type: GitOpsSync + name: GitOpsSync_1 + identifier: GitOpsSync_1 spec: - variables: - - name: test - type: String - value: <+pipeline.name> + prune: false + dryRun: false + applyOnly: false + forceApply: false + applicationsList: + - applicationName: engineering-prod-guestbook + agentId: sudarshanagent1 + - applicationName: engineering-dev-guestbook + agentId: sudarshanagent1 + retryStrategy: {} + retry: false + syncOptions: + skipSchemaValidation: true + autoCreateNamespace: false + pruneResourcesAtLast: false + applyOutOfSyncOnly: false + replaceResources: false + prunePropagationPolicy: foreground timeout: 10m rollbackSteps: - step: From 8d5121704c8d249978fb42a6b56de3fcc561b691 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Thu, 19 Feb 2026 09:50:13 +0530 Subject: [PATCH 169/170] Update pipeline Sudarshan Test --- sudartest.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index dcbe617..d320dc4 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -59,6 +59,20 @@ pipeline: template: templateRef: Approvaltemplate versionLabel: v1 + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: echo q + environmentVariables: [] + outputVariables: [] + timeout: 10m - step: type: ShellScript name: ShellScript_2 @@ -200,6 +214,20 @@ pipeline: replaceResources: false prunePropagationPolicy: foreground timeout: 10m + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + executionTarget: {} + source: + type: Inline + spec: + script: echo 1 + environmentVariables: [] + outputVariables: [] + timeout: 10m rollbackSteps: - step: type: ShellScript From 932e34c2998c485ba0b62911474d3624a56a1bb0 Mon Sep 17 00:00:00 2001 From: Sudarshan Purohit Date: Tue, 3 Mar 2026 10:06:36 +0530 Subject: [PATCH 170/170] Update pipeline Sudarshan Test --- sudartest.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sudartest.yaml b/sudartest.yaml index d320dc4..af4d8fd 100644 --- a/sudartest.yaml +++ b/sudartest.yaml @@ -228,6 +228,17 @@ pipeline: environmentVariables: [] outputVariables: [] timeout: 10m + - step: + type: UpdateGitOpsApp + name: UpdateGitOpsApp_1 + identifier: UpdateGitOpsApp_1 + spec: + kustomize: <+input> + applicationName: <+input> + agentId: <+input> + targetRevision: <+input> + helm: <+input> + timeout: 10m rollbackSteps: - step: type: ShellScript