-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline.gocd.yaml
46 lines (46 loc) · 1.26 KB
/
pipeline.gocd.yaml
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
format_version: 3
pipelines:
docker-ops:
group: platform
label_template: "${git[:8]}"
materials:
git:
type: configrepo
blacklist:
- "**/*.md"
stages:
- test:
clean_workspace: true
jobs:
itest:
elastic_profile_id: w.c1.m1024.e5
tasks:
- exec:
command: bash
arguments:
- -c
- ./tasks itest
- release:
clean_workspace: true
jobs:
code:
elastic_profile_id: w.c1.m1024.e5
tasks:
- exec:
command: /bin/bash
arguments:
- -c
- ./tasks release
- publish:
clean_workspace: true
jobs:
code:
secure_variables:
VAULT_TOKEN: "AES:oo4qyY+eEf1piu8V4vy4hg==:nnH/4ulwI2JgjBtBiR+LGtB+PLLWVdtsCm+CIgjNHwj+qYXlvxWbN0+RS/tSi60N"
elastic_profile_id: w.c1.m1024.e5
tasks:
- exec:
command: /bin/bash
arguments:
- -c
- ./tasks publish