Skip to content

Commit 5af68a6

Browse files
committed
setup gocd pipeline
1 parent 5188594 commit 5af68a6

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

hyperstack.gocd.yaml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ pipelines:
1616
auto_update: true
1717
branch: edge
1818
stages:
19-
- prepare:
19+
- execute:
2020
fetch_materials: true
2121
keep_artifacts: false
22-
clean_workspace: false
22+
clean_workspace: true
2323
approval:
2424
type: success
2525
allow_only_on_success: false
@@ -47,4 +47,25 @@ pipelines:
4747
- -rm
4848
- hyperstack
4949
command: docker
50-
run_if: passed
50+
run_if: passed
51+
# - cleanup:
52+
# fetch_materials: false
53+
# keep_artifacts: false
54+
# clean_workspace: false
55+
# approval:
56+
# type: any
57+
# allow_only_on_success: false
58+
# jobs:
59+
# cleanup:
60+
# timeout: 0
61+
# tasks:
62+
# - exec:
63+
# arguments:
64+
# - compose
65+
# - run
66+
# - -rm
67+
# - --entrypoint
68+
# - "/bin/bash -c 'chown -R 1000:1001 /root/hyperstack'"
69+
# - hyperstack
70+
# command: docker
71+
# run_if: passed

0 commit comments

Comments
 (0)