Skip to content
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

Update pipeline childNonDefaultBranch #1

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
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
33 changes: 33 additions & 0 deletions .harness/childNonDefaultBranch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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:
- name: var1
type: String
value: <+input>
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: {}
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: []
24 changes: 24 additions & 0 deletions .harness/feb20p1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
pipeline:
name: feb20p1
identifier: feb20p1
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
stages:
- stage:
name: zs
identifier: zs
template:
templateRef: feb20Stagev
versionLabel: v1
templateInputs:
type: Approval
spec:
execution:
steps:
- step:
identifier: afds
type: HarnessApproval
spec:
approvers:
userGroups: <+input>
28 changes: 28 additions & 0 deletions .harness/isStagevND_v1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
template:
name: isStagevND
identifier: isStagevND
versionLabel: v1
type: Stage
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
spec:
type: Approval
spec:
execution:
steps:
- step:
name: sdf
identifier: sdf
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: []
24 changes: 24 additions & 0 deletions .harness/isTemplatePipelineND.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
pipeline:
name: isTemplatePipelineND
identifier: isTemplatePipelineND
projectIdentifier: GitX_Remote
orgIdentifier: default
tags: {}
stages:
- stage:
name: a
identifier: a
template:
templateRef: isStagevND
versionLabel: v1
templateInputs:
type: Approval
spec:
execution:
steps:
- step:
identifier: sdf
type: HarnessApproval
spec:
approvers:
userGroups: <+input>
23 changes: 23 additions & 0 deletions .harness/isTestRepo11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
inputSet:
name: isTestRepo11
identifier: isTestRepo11
orgIdentifier: default
projectIdentifier: GitX_Remote
pipeline:
identifier: isTemplatePipelineND
stages:
- stage:
identifier: a
template:
templateInputs:
type: Approval
spec:
execution:
steps:
- step:
identifier: sdf
type: HarnessApproval
spec:
approvers:
userGroups:
- account.testUserGroup2
23 changes: 23 additions & 0 deletions .harness/isdemoSame.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
inputSet:
name: isdemoSame
identifier: isdemoSame
orgIdentifier: default
projectIdentifier: GitX_Remote
pipeline:
identifier: isTemplatePipelineND
stages:
- stage:
identifier: a
template:
templateInputs:
type: Approval
spec:
execution:
steps:
- step:
identifier: sdf
type: HarnessApproval
spec:
approvers:
userGroups:
- account.testUserGroup2
Loading