File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,17 @@ steps:
19
19
type : pending-approval
20
20
title : Deploy release?
21
21
22
+ wait :
23
+ title : Wait
24
+ stage : Prepare
25
+ image : codefresh/cli:latest
26
+ commands :
27
+ - codefresh get builds --pipeline=deploy --status running --limit 1000 -o json | jq --arg id ${{CF_BUILD_ID}} -ser 'flatten|.[-1].id==$id'
28
+ retry :
29
+ maxAttempts : 10
30
+ delay : 20
31
+ exponentialFactor : 1.1
32
+
22
33
deploy_helmfile :
23
34
title : " Deploy with helmfile"
24
35
stage : " Deploy"
33
44
steps :
34
45
- name : ask_for_permission
35
46
on :
36
- - approved
47
+ - approved
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ steps:
18
18
title : Pull image with commit sha
19
19
stage : " Promote"
20
20
image : " ${{CF_DOCKER_REPO_URL}}/${{CF_REPO_NAME}}:${{CF_REVISION}}"
21
+ retry :
22
+ maxAttempts : 10
23
+ delay : 20
24
+ exponentialFactor : 1.1
21
25
commands :
22
26
- " true"
23
27
39
43
when :
40
44
condition :
41
45
all :
42
- stageDefined : " '${{STAGE}}' != ''"
46
+ stageDefined : " '${{STAGE}}' != ''"
Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ releases:
86
86
timeoutSeconds : 3
87
87
successThreshold : 1
88
88
failureThreshold : 2
89
- scheme : HTTP
90
89
91
90
# Probe that ensures service has started
92
91
readinessProbe :
You can’t perform that action at this time.
0 commit comments