File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '1.0'
2
2
kind : step-type
3
3
metadata :
4
4
name : argocd-sync
5
- version : 1.16.4
5
+ version : 1.16.5
6
6
isPublic : true
7
7
description : This pipeline plugin trigger a sync for ArgoCD app
8
8
sources :
@@ -133,11 +133,11 @@ spec:
133
133
steps :
134
134
runArgoCd :
135
135
title : " Run ArgoCD"
136
- image : " codefresh/cf-argo-plugin:0.2.5 "
136
+ image : " codefresh/cf-argo-plugin:0.2.6 "
137
137
commands :
138
138
- >-
139
139
cf-argo-plugin sync "${{app_name}}"
140
- --cf-host=$CF_URL --cf-token=$CF_API_KEY --cf-integration="${{context}}"
140
+ --cf-host=$CF_URL --cf-token=$CF_API_KEY --cf-integration="${{context}}" --rollback=${{rollback}}
141
141
--argo-host=${{host}} --argo-username=${{username}} --argo-password="${{password}}"
142
142
--sync=${{sync}} --prune=${{prune}} --wait-healthy=${{wait_healthy}} --wait-suspend=${{wait_for_suspend}} --debug=${{debug}}
143
143
--revision="${{revision}}" --wait-additional-flags="${{additional_flags_for_wait_cmd}}" --skip=${{skip_wait_rollout}} --basic-auth=${{basic_auth}}
@@ -149,11 +149,11 @@ spec:
149
149
- echo ARGOCD_OPTS=$ARGOCD_OPTS >> /meta/env_vars_to_export
150
150
executeArgoCd :
151
151
title : " ExecuteArgoCd"
152
- image : " codefresh/cf-argo-plugin:0.2.5 "
152
+ image : " codefresh/cf-argo-plugin:0.2.6 "
153
153
commands :
154
154
- /codefresh/volume/${CF_BLOCK_NAME}-argo-executor
155
155
rollback :
156
156
title : " Rollback"
157
- image : " codefresh/cf-argo-plugin:0.2.5 "
157
+ image : " codefresh/cf-argo-plugin:0.2.6 "
158
158
commands :
159
159
- cf-argo-plugin rollback ${{app_name}} --code=$ARGO_SYNC_ERROR --cf-host=$CF_URL --cf-token=$CF_API_KEY --cf-integration="${{context}}" --needRollback=${{rollback}}
You can’t perform that action at this time.
0 commit comments