Skip to content

Commit 8f0ff98

Browse files
committed
setup gocd pipeline
1 parent e7679bc commit 8f0ff98

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

hyperstack.gocd.yaml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ pipelines:
1717
branch: edge
1818
stages:
1919
- cleanup1:
20-
fetch_materials: false
20+
fetch_materials: true
2121
keep_artifacts: false
2222
clean_workspace: false
2323
approval:
24-
type: any
24+
type: success
2525
allow_only_on_success: false
2626
jobs:
2727
cleanup:
@@ -38,42 +38,42 @@ pipelines:
3838
command: docker
3939
run_if: passed
4040
- execute:
41-
fetch_materials: true
42-
keep_artifacts: false
43-
clean_workspace: false
44-
approval:
45-
type: success
46-
allow_only_on_success: false
47-
jobs:
48-
run:
49-
timeout: 0
50-
tasks:
51-
- exec:
52-
arguments:
53-
- compose
54-
- run
55-
- -rm
56-
- hyperstack
57-
command: docker
58-
run_if: passed
41+
fetch_materials: true
42+
keep_artifacts: false
43+
clean_workspace: false
44+
approval:
45+
type: success
46+
allow_only_on_success: false
47+
jobs:
48+
run:
49+
timeout: 0
50+
tasks:
51+
- exec:
52+
arguments:
53+
- compose
54+
- run
55+
- -rm
56+
- hyperstack
57+
command: docker
58+
run_if: passed
5959
- cleanup:
60-
fetch_materials: false
61-
keep_artifacts: false
62-
clean_workspace: false
63-
approval:
64-
type: any
65-
allow_only_on_success: false
66-
jobs:
67-
cleanup:
68-
timeout: 0
69-
tasks:
70-
- exec:
71-
arguments:
72-
- compose
73-
- run
74-
- -rm
75-
- --entrypoint
76-
- "/bin/bash -c 'chown -R 1000:1001 /root/hyperstack'"
77-
- hyperstack
78-
command: docker
79-
run_if: passed
60+
fetch_materials: false
61+
keep_artifacts: false
62+
clean_workspace: false
63+
approval:
64+
type: any
65+
allow_only_on_success: false
66+
jobs:
67+
cleanup:
68+
timeout: 0
69+
tasks:
70+
- exec:
71+
arguments:
72+
- compose
73+
- run
74+
- -rm
75+
- --entrypoint
76+
- "/bin/bash -c 'chown -R 1000:1001 /root/hyperstack'"
77+
- hyperstack
78+
command: docker
79+
run_if: passed

0 commit comments

Comments
 (0)