Skip to content

Commit e4129d3

Browse files
CR-9696 argocd-sync step finishes successfully when app is in Degraded state (#493)
1 parent 8bc4da7 commit e4129d3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

graduated/argocd-sync/step.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '1.0'
22
kind: step-type
33
metadata:
44
name: argocd-sync
5-
version: 1.16.4
5+
version: 1.16.5
66
isPublic: true
77
description: This pipeline plugin trigger a sync for ArgoCD app
88
sources:
@@ -133,11 +133,11 @@ spec:
133133
steps:
134134
runArgoCd:
135135
title: "Run ArgoCD"
136-
image: "codefresh/cf-argo-plugin:0.2.5"
136+
image: "codefresh/cf-argo-plugin:0.2.6"
137137
commands:
138138
- >-
139139
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}}
141141
--argo-host=${{host}} --argo-username=${{username}} --argo-password="${{password}}"
142142
--sync=${{sync}} --prune=${{prune}} --wait-healthy=${{wait_healthy}} --wait-suspend=${{wait_for_suspend}} --debug=${{debug}}
143143
--revision="${{revision}}" --wait-additional-flags="${{additional_flags_for_wait_cmd}}" --skip=${{skip_wait_rollout}} --basic-auth=${{basic_auth}}
@@ -149,11 +149,11 @@ spec:
149149
- echo ARGOCD_OPTS=$ARGOCD_OPTS >> /meta/env_vars_to_export
150150
executeArgoCd:
151151
title: "ExecuteArgoCd"
152-
image: "codefresh/cf-argo-plugin:0.2.5"
152+
image: "codefresh/cf-argo-plugin:0.2.6"
153153
commands:
154154
- /codefresh/volume/${CF_BLOCK_NAME}-argo-executor
155155
rollback:
156156
title: "Rollback"
157-
image: "codefresh/cf-argo-plugin:0.2.5"
157+
image: "codefresh/cf-argo-plugin:0.2.6"
158158
commands:
159159
- cf-argo-plugin rollback ${{app_name}} --code=$ARGO_SYNC_ERROR --cf-host=$CF_URL --cf-token=$CF_API_KEY --cf-integration="${{context}}" --needRollback=${{rollback}}

0 commit comments

Comments
 (0)