Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
830

argocd-app-status argocd-app-status

Get Argo CD App status and return its sybc and health status

arguments

  • APPLICATION - The name of the Argo CD Application to be checked
  • IMAGE_NAME - OPTIONAL - To overwrite the image name to use
  • IMAGE_TAG - OPTIONAL - To overwrite the tag to use
  • LOG_LEVEL - set the log level, e.g. 'debug', 'info', 'warn', 'error', 'critical' (default 'error')
  • RUNTIME - The name of the GitOps Runtime managing the Argo CD Application

returns

  • HEALTH_STATUS - The heatlh status of the application: HEALTHY, PROGRESSING, DEGRADED or SUSPENDED
  • SYNC_STATUS - The synchronization status of the application: SYNCED, OUTOFSYNC, UNKNOWN.
    argocd_app_status:
  title: Get Argo CD app status
  type: argocd-app-status
  arguments:
    RUNTIME: my-runtime
    APPLICATION: my-app

  
github.com
Laurent Rochette
Jan 10, 2025