@@ -2,7 +2,7 @@ version: '1.0'
2
2
kind : step-type
3
3
metadata :
4
4
name : argocd-sync
5
- version : 1.17.1
5
+ version : 1.18.0
6
6
isPublic : true
7
7
description : This pipeline plugin trigger a sync for ArgoCD app
8
8
sources :
@@ -132,13 +132,18 @@ spec:
132
132
"type": "boolean",
133
133
"description": "Use ArgoCD username/password as primary credentials",
134
134
"default": false
135
+ },
136
+ "custom_external_link": {
137
+ "type": "string",
138
+ "description": "Custom external link shown inside build view",
139
+ "default": ""
135
140
}
136
141
}
137
142
}
138
143
steps :
139
144
runArgoCd :
140
145
title : " Run ArgoCD"
141
- image : " codefresh/cf-argo-plugin:0.3.1 "
146
+ image : " codefresh/cf-argo-plugin:0.3.2 "
142
147
commands :
143
148
- >-
144
149
cf-argo-plugin sync "${{app_name}}"
@@ -147,18 +152,19 @@ spec:
147
152
--sync=${{sync}} --prune=${{prune}} --wait-healthy=${{wait_healthy}} --wait-suspend=${{wait_for_suspend}} --debug=${{debug}}
148
153
--revision="${{revision}}" --wait-additional-flags="${{additional_flags_for_wait_cmd}}" --skip=${{skip_wait_rollout}} --basic-auth=${{basic_auth}}
149
154
--out-commands-file /codefresh/volume/${CF_BLOCK_NAME}-argo-executor --out-export-file /codefresh/volume/${CF_BLOCK_NAME}-argo-export_url
155
+ --custom-external-link="${{custom_external_link}}"
150
156
- chmod +x /codefresh/volume/${CF_BLOCK_NAME}-argo-executor
151
157
- chmod +x /codefresh/volume/${CF_BLOCK_NAME}-argo-export_url
152
158
- /codefresh/volume/${CF_BLOCK_NAME}-argo-export_url
153
159
- export ARGOCD_OPTS=$(echo ${{additional_flags}} | tr "," " ")
154
160
- echo ARGOCD_OPTS=$ARGOCD_OPTS >> /meta/env_vars_to_export
155
161
executeArgoCd :
156
162
title : " ExecuteArgoCd"
157
- image : " codefresh/cf-argo-plugin:0.3.1 "
163
+ image : " codefresh/cf-argo-plugin:0.3.2 "
158
164
commands :
159
165
- /codefresh/volume/${CF_BLOCK_NAME}-argo-executor
160
166
rollback :
161
167
title : " Rollback"
162
- image : " codefresh/cf-argo-plugin:0.3.1 "
168
+ image : " codefresh/cf-argo-plugin:0.3.2 "
163
169
commands :
164
170
- 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