-
Notifications
You must be signed in to change notification settings - Fork 1
/
pipeline.gocd.yaml
78 lines (78 loc) · 2.41 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
format_version: 3
pipelines:
ops-base:
group: platform
label_template: "${git[:8]}"
materials:
git:
git: "git@github.com:kudulab/ops-base.git"
branch: master
destination: ops-base
releaser:
git: git@github.com:kudulab/releaser.git
destination: releaser
docker_ops:
git: git@github.com:kudulab/docker-ops.git
destination: docker-ops
secret_ops:
git: git@github.com:kudulab/secret-ops.git
destination: secret-ops
stages:
- test:
secure_variables:
VAULT_TOKEN: "AES:CcHDC55m7VB+vEYF8cQkww==:f9Ea93sVJNpmqxTRX/2BxHqhkU3M/5hkgbyDURfLcXQ="
clean_workspace: true
jobs:
ubuntu16:
resources:
- docker
tasks:
- exec:
working_directory: ops-base
command: /bin/bash
arguments:
- -c
- "./tasks.sh build ubuntu16"
- exec:
working_directory: ops-base
command: /bin/bash
arguments:
- -c
- "./tasks.sh test ubuntu16"
- exec:
working_directory: ops-base
command: /bin/bash
arguments:
- -c
- "./tasks.sh itest ubuntu16 releaser"
- exec:
working_directory: ops-base
command: /bin/bash
arguments:
- -c
- "./tasks.sh itest ubuntu16 docker-ops"
- exec:
working_directory: ops-base
command: /bin/bash
arguments:
- -c
- "./tasks.sh itest ubuntu16 secret-ops"
- exec:
working_directory: ops-base
command: /bin/bash
arguments:
- -c
- "./tasks.sh build_gui ubuntu16"
- release:
clean_workspace: true
jobs:
code:
resources:
- docker
tasks:
- exec:
working_directory: ops-base
command: /bin/bash
arguments:
- -c
- "./tasks.sh release"