File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 17
17
18
18
WAIT_ROLLBACK = True if os .getenv ('WAIT_ROLLBACK' , "false" ).lower () == "true" else False
19
19
ROLLBACK = True if os .getenv ('ROLLBACK' , "false" ).lower () == "true" else False
20
- if WAIT_ROLLBACK : ROLLBACK = True
20
+ if WAIT_ROLLBACK : ROLLBACK = True
21
21
22
22
CF_URL = os .getenv ('CF_URL' , 'https://g.codefresh.io' )
23
23
CF_API_KEY = os .getenv ('CF_API_KEY' )
@@ -70,7 +70,9 @@ def main():
70
70
CF_OUTPUT_URL_VAR = CF_STEP_NAME + '_CF_OUTPUT_URL'
71
71
link_to_app = get_link_to_apps_dashboard ()
72
72
export_variable (CF_OUTPUT_URL_VAR , link_to_app )
73
-
73
+ if status != "HEALTHY" :
74
+ logging .debug ("Status is not HEALTHY. Exiting with error." )
75
+ sys .exit (1 )
74
76
75
77
#######################################################################
76
78
Original file line number Diff line number Diff line change 1
1
kind : step-type
2
2
metadata :
3
3
name : argo-cd-sync
4
- version : 1.2.2
4
+ version : 1.3.0
5
5
isPublic : true
6
6
description : Syncs Argo CD apps managed by our GitOps Runtimes
7
7
sources :
@@ -111,7 +111,7 @@ spec:
111
111
},
112
112
"IMAGE_TAG": {
113
113
"type": "string",
114
- "default": "1.2.2 ",
114
+ "default": "1.3.0 ",
115
115
"description": "OPTIONAL - To overwrite the tag to use"
116
116
}
117
117
}
You can’t perform that action at this time.
0 commit comments