-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTestappPipelineRemote.yaml
More file actions
55 lines (55 loc) · 2.1 KB
/
TestappPipelineRemote.yaml
File metadata and controls
55 lines (55 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
pipeline:
name: TestappPipelineRemote
identifier: TestappPipelineRemote
projectIdentifier: RajathaDemo
orgIdentifier: default
tags: {}
stages:
- stage:
name: stg1
identifier: stg1
type: CI
spec:
cloneCodebase: false
infrastructure:
type: KubernetesDirect
spec:
connectorRef: RajathaK8
namespace: rajatha-pr-demo
automountServiceAccountToken: true
nodeSelector: {}
execution:
steps:
- step:
type: Run
name: step1
identifier: step1
spec:
connectorRef: account.harnessImage
image: alpine
shell: Sh
command: |-
echo testapp
echo <+codebase.targetBranch>
echo <+codebase.sourceBranch>
echo <+codebase.repoUrl>
echo 144pm
- stage:
name: stg2
identifier: stg2
type: CI
spec:
cloneCodebase: false
infrastructure:
useFromStage: stg1
execution:
steps:
- step:
type: Run
name: step2
identifier: step2
spec:
connectorRef: account.harnessImage
image: alpine
shell: Sh
command: echo stage2-612pm