forked from Riturajcse/sample_python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline.yml
50 lines (47 loc) · 1.21 KB
/
pipeline.yml
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
resources:
- name: sample_python
type: gitRepo
repoPath: ranjansingh41/sample_python
configuration:
integrationName: github
branches:
except: "*test"
only: "master*"
tags:
except: none
only: none
buildOnCommit: true
initialVersion:
sha: master
pipelines:
- name: test_pipeline_1
setup:
environmentVariables:
normal:
- ENV1: value-pipe-1
- ENV2: value-pipe-2
encrypted:
- SECURE_ENV1: test_value-pipe-1
- SECURE_ENV2: test_value-pipe-2
runtime: onHost-pipe
steps:
- name: in_trigger_step
type: runSh
configuration:
affinityGroup: test_group
setup:
environmentVariables:
normal:
- ENV1: value1
- ENV2: value2
encrypted:
- SECURE_ENV1: test_value
- SECURE_ENV2: test_value
runtime: onHost
execution:
onExecute:
- echo "executing task command 1"
- echo "executing task command 2"
triggeredBy:
resources:
- sample_python