Skip to content

Create pipeline test new pipeline pr #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
c9486b9
Create template step template new
prabu-kr Sep 22, 2022
61d6d50
Create template f8_step_r2_nd
Feb 8, 2023
acde3d5
Create template f8_stage_r2_nd
Feb 8, 2023
5adc783
Create template f8_stage2_r2_ndv
Feb 8, 2023
6354c6c
Create pipeline f8_p2_case2_case4
Feb 8, 2023
1665625
Create pipeline childPipeline
adivishy1 Feb 15, 2023
2d0374e
Create pipeline parentPipeline
adivishy1 Feb 15, 2023
e2662f1
Create pipeline childP1
Feb 15, 2023
7f72434
Create pipeline parentP1
Feb 15, 2023
e94edb2
Create template isStagevND
Feb 16, 2023
bf205e9
Create pipeline isTemplatePipelineND
Feb 16, 2023
1cec5b8
Create inputset isdemoSame
Feb 16, 2023
ddd8630
Create inputset isTestRepo11
Feb 16, 2023
748fc3c
Create template feb20Stagev
Feb 20, 2023
04d8336
Create pipeline feb20p1
Feb 20, 2023
d520c49
Create pipeline pipelineP1DemoRepo
Feb 22, 2023
bbed52a
Create inputset demoRepoIS
Feb 22, 2023
3cc7216
Create pipeline testOverlay
Feb 28, 2023
6c185ad
Create inputset same repo and branch as pipeline
Feb 28, 2023
9fa70a3
Create inputset same repo same branch
Feb 28, 2023
90631ea
Create pipeline pipelinePreQaTest
Mar 10, 2023
4a379ea
Create pipeline childNonDefaultBranch
prashantsharma04 Mar 13, 2023
4019953
Create pipeline parentNonDefault
prashantsharma04 Mar 13, 2023
a025444
Update pipeline childNonDefaultBranch
prashantsharma04 Mar 14, 2023
4d0258f
Update pipeline parentNonDefault
prashantsharma04 Mar 14, 2023
72c59d3
Create template StageDemoMainPatchWithStepTestRepoMain
Mar 14, 2023
12fdd91
Create template mar14StageDemoMainPatch
Mar 14, 2023
4195b92
Create pipeline mar14P2DemoMainPatch
Mar 14, 2023
543539d
Create pipeline githubND
Apr 4, 2023
3b90fd7
Create pipeline github r1
Apr 6, 2023
a67bf43
Create pipeline github w1
Apr 7, 2023
7a31c18
Update pipeline github w1
Apr 7, 2023
96413a6
Create pipeline test pipeline ND
May 29, 2023
5ddb174
Create template stage template ND test123123
adivishy1 Jun 9, 2023
80b5eff
Create template pipeline tempalte ND test
adivishy1 Jun 9, 2023
b29a5b7
Update template stage template ND test123123
adivishy1 Jun 9, 2023
765a5d6
Update template pipeline tempalte ND test
adivishy1 Jun 9, 2023
f8c7965
Create pipeline nonDefault
prashantsharma04 Jun 29, 2023
c7ca845
Update pipeline nonDefault
prashantsharma04 Jun 29, 2023
f06d465
Create pipeline test qipeline test no default
Jul 5, 2023
5cac719
Update pipeline test qipeline test no default
Jul 5, 2023
c075d23
Clone pipeline commandStep
adivishy1 Jul 11, 2023
0c9aed9
Create pipeline test new pipeline pr
amitsinghHarness Sep 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .harness/StageDemoMainPatchWithStepTestRepoMain_v1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
template:
name: StageDemoMainPatchWithStepTestRepoMain
identifier: StageDemoMainPatchWithStepTestRepoMain
versionLabel: v1
type: Stage
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
spec:
type: Custom
spec:
execution:
steps:
- step:
name: sd
identifier: sd
template:
templateRef: stepTestRepoMain
versionLabel: v1
30 changes: 30 additions & 0 deletions .harness/childNonDefaultBranch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
pipeline:
name: childNonDefaultBranch
identifier: childNonDefaultBranch
projectIdentifier: AmitTest
orgIdentifier: default
tags: {}
stages:
- 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: exit 0
environmentVariables: []
outputVariables: []
timeout: <+input>
tags: {}
31 changes: 31 additions & 0 deletions .harness/childP1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
pipeline:
name: childP1
identifier: childP1
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
stages:
- stage:
name: asd
identifier: asd
description: ""
type: Approval
spec:
execution:
steps:
- step:
name: asd
identifier: asd
type: HarnessApproval
timeout: 1d
spec:
approvalMessage: |-
Please review the following information
and approve the pipeline progression
includePipelineExecutionHistory: true
approvers:
minimumCount: 1
disallowPipelineExecutor: false
userGroups: <+input>
approverInputs: []
tags: {}
31 changes: 31 additions & 0 deletions .harness/childPipeline.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
pipeline:
name: childPipeline
identifier: childPipeline
projectIdentifier: AmitTest
orgIdentifier: default
tags: {}
stages:
- stage:
name: asd
identifier: asd
description: ""
type: Approval
spec:
execution:
steps:
- step:
name: ad
identifier: ad
type: HarnessApproval
timeout: 1d
spec:
approvalMessage: |-
Please review the following information
and approve the pipeline progression
includePipelineExecutionHistory: true
approvers:
minimumCount: 1
disallowPipelineExecutor: false
userGroups: <+input>
approverInputs: []
tags: {}
107 changes: 107 additions & 0 deletions .harness/commandStep_Clone_2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
---
pipeline:
projectIdentifier: "naidusanity"
orgIdentifier: "default"
tags: {}
stages:
- stage:
name: "app"
identifier: "app"
description: ""
type: "Approval"
spec:
execution:
steps:
- step:
name: "app"
identifier: "app"
type: "HarnessApproval"
timeout: "1d"
spec:
approvalMessage: "Please review the following information\nand approve\
\ the pipeline progression"
includePipelineExecutionHistory: true
approvers:
minimumCount: 1
disallowPipelineExecutor: false
userGroups:
- "shalinitest"
isAutoRejectEnabled: false
approverInputs: []
tags: {}
- stage:
name: "cd"
identifier: "cd"
description: ""
type: "Deployment"
spec:
deploymentType: "Ssh"
service:
serviceRef: "sshservice"
environment:
environmentRef: "sshenv"
deployToAll: false
infrastructureDefinitions:
- identifier: "sshinfra"
execution:
steps:
- stepGroup:
name: "sg"
identifier: "sg"
steps:
- step:
name: "Deploy"
identifier: "Deploy"
timeout: "10m"
strategy:
repeat:
items: "<+stage.output.hosts>"
template:
templateRef: "account.Default_Install_Jar_Bash"
templateInputs:
type: "Command"
spec:
environmentVariables:
- name: "DestinationDirectory"
type: "String"
value: "$HOME/<+service.name>/<+env.name>"
- name: "WorkingDirectory"
type: "String"
value: "$HOME/<+service.name>/<+env.name>/tomcat/bin"
- step:
name: "Deploy"
identifier: "Deploy2"
timeout: "10m"
when:
stageStatus: "All"
strategy:
repeat:
items: "<+stage.output.hosts>"
template:
templateRef: "account.Default_Install_Jar_Bash"
templateInputs:
type: "Command"
spec:
environmentVariables:
- name: "DestinationDirectory"
type: "String"
value: "$HOME/<+service.name>/<+env.name>"
- name: "WorkingDirectory"
type: "String"
value: "$HOME/<+service.name>/<+env.name>/tomcat/bin"
rollbackSteps:
- step:
type: "Wait"
name: "Wait_1"
identifier: "Wait_1"
spec:
duration: "10m"
tags: {}
failureStrategies:
- onFailure:
errors:
- "AllErrors"
action:
type: "StageRollback"
identifier: "commandStep_Clone_2"
name: "commandStep - Clone - 2"
23 changes: 23 additions & 0 deletions .harness/demoRepoIS.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
inputSet:
name: demoRepoIS
identifier: demoRepoIS
orgIdentifier: default
projectIdentifier: GitX_Remote
pipeline:
identifier: pipelineP1DemoRepo
stages:
- stage:
identifier: earf
template:
templateInputs:
type: Approval
spec:
execution:
steps:
- step:
identifier: afds
type: HarnessApproval
spec:
approvers:
userGroups:
- account.testUserGroup2
41 changes: 41 additions & 0 deletions .harness/f8_p2_case2_case4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
pipeline:
name: f8_p2_case2_case4
identifier: f8_p2_case2_case4
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
stages:
- stage:
name: nd
identifier: nd
template:
templateRef: f8_stage2_r2_ndv
versionLabel: s
templateInputs:
type: Approval
spec:
execution:
steps:
- step:
identifier: as
type: HarnessApproval
spec:
approvers:
userGroups: <+input>
- stage:
name: m
identifier: m
template:
templateRef: f8_stage2_r1_m
versionLabel: v1
templateInputs:
type: Approval
spec:
execution:
steps:
- step:
identifier: asd
type: HarnessApproval
spec:
approvers:
userGroups: <+input>
28 changes: 28 additions & 0 deletions .harness/f8_stage2_r2_ndv_s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
template:
name: f8_stage2_r2_ndv
identifier: f8_stage2_r2_ndv
versionLabel: s
type: Stage
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
spec:
type: Approval
spec:
execution:
steps:
- step:
name: as
identifier: as
type: HarnessApproval
timeout: 1d
spec:
approvalMessage: |-
Please review the following information
and approve the pipeline progression
includePipelineExecutionHistory: true
approvers:
minimumCount: 1
disallowPipelineExecutor: false
userGroups: <+input>
approverInputs: []
25 changes: 25 additions & 0 deletions .harness/f8_stage_r2_nd_v2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
template:
name: f8_stage_r2_nd
identifier: f8_stage_r2_nd
versionLabel: v2
type: Stage
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
spec:
type: Custom
spec:
execution:
steps:
- step:
name: r2_ng
identifier: r2_ng
template:
templateRef: f8_step_r2_nd
versionLabel: v1
- step:
name: r1_m
identifier: r1_m
template:
templateRef: f8_step_R1_main
versionLabel: v1
20 changes: 20 additions & 0 deletions .harness/f8_step_r2_nd_v1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
template:
name: f8_step_r2_nd
identifier: f8_step_r2_nd
versionLabel: v1
type: Step
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
spec:
timeout: 10m
type: ShellScript
spec:
shell: Bash
onDelegate: true
source:
type: Inline
spec:
script: echo "r2 non default"
environmentVariables: []
outputVariables: []
28 changes: 28 additions & 0 deletions .harness/feb20Stagev_v1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
template:
name: feb20Stagev
identifier: feb20Stagev
versionLabel: v1
type: Stage
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
spec:
type: Approval
spec:
execution:
steps:
- step:
name: afds
identifier: afds
type: HarnessApproval
timeout: 1d
spec:
approvalMessage: |-
Please review the following information
and approve the pipeline progression
includePipelineExecutionHistory: true
approvers:
minimumCount: 1
disallowPipelineExecutor: false
userGroups: <+input>
approverInputs: []
Loading