-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline.gocd.yaml
78 lines (78 loc) · 2.13 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: 4
pipelines:
docker-k8s-aws-dojo:
group: platform
label_template: "${git[:8]}"
materials:
git:
type: configrepo
blacklist:
- "doc/**/*"
- "**/*.md"
secure_variables:
VAULT_TOKEN: "AES:JtnDux9AuDB4S4/oGsIJxQ==:uwJbu+YHBxHIJOoGsf7/314BHaEo1LXtOuezXjg4TK4="
stages:
- build:
clean_workspace: true
jobs:
docker_image:
resources:
- docker_builder
artifacts:
- build:
source: image/imagerc
destination:
tasks:
- exec:
command: /bin/bash
arguments:
- -c
- ./tasks build
- itest:
clean_workspace: true
jobs:
end_user:
resources:
- docker_builder
tasks:
- fetch:
stage: build
job: docker_image
is_file: yes
source: imagerc
destination: image/
- exec:
command: /bin/bash
arguments:
- -c
- ./tasks itest
- release:
clean_workspace: true
jobs:
code:
resources:
- docker_builder
tasks:
- exec:
command: /bin/bash
arguments:
- -c
- ./tasks release
- publish:
clean_workspace: true
jobs:
docker_image:
resources:
- docker_builder
tasks:
- fetch:
stage: build
job: docker_image
is_file: yes
source: imagerc
destination: image/
- exec:
command: /bin/bash
arguments:
- -c
- ./tasks publish