Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions graduated/argocd-sync/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '1.0'
kind: step-type
metadata:
name: argocd-sync
version: 1.16.4
version: 1.16.5
isPublic: true
description: This pipeline plugin trigger a sync for ArgoCD app
sources:
Expand Down Expand Up @@ -133,11 +133,11 @@ spec:
steps:
runArgoCd:
title: "Run ArgoCD"
image: "codefresh/cf-argo-plugin:0.2.5"
image: "codefresh/cf-argo-plugin:0.2.6"
commands:
- >-
cf-argo-plugin sync "${{app_name}}"
--cf-host=$CF_URL --cf-token=$CF_API_KEY --cf-integration="${{context}}"
--cf-host=$CF_URL --cf-token=$CF_API_KEY --cf-integration="${{context}}" --rollback=${{rollback}}
--argo-host=${{host}} --argo-username=${{username}} --argo-password="${{password}}"
--sync=${{sync}} --prune=${{prune}} --wait-healthy=${{wait_healthy}} --wait-suspend=${{wait_for_suspend}} --debug=${{debug}}
--revision="${{revision}}" --wait-additional-flags="${{additional_flags_for_wait_cmd}}" --skip=${{skip_wait_rollout}} --basic-auth=${{basic_auth}}
Expand All @@ -149,11 +149,11 @@ spec:
- echo ARGOCD_OPTS=$ARGOCD_OPTS >> /meta/env_vars_to_export
executeArgoCd:
title: "ExecuteArgoCd"
image: "codefresh/cf-argo-plugin:0.2.5"
image: "codefresh/cf-argo-plugin:0.2.6"
commands:
- /codefresh/volume/${CF_BLOCK_NAME}-argo-executor
rollback:
title: "Rollback"
image: "codefresh/cf-argo-plugin:0.2.5"
image: "codefresh/cf-argo-plugin:0.2.6"
commands:
- cf-argo-plugin rollback ${{app_name}} --code=$ARGO_SYNC_ERROR --cf-host=$CF_URL --cf-token=$CF_API_KEY --cf-integration="${{context}}" --needRollback=${{rollback}}