Skip to content

This GitHub Action will help us to refresh and sync the ArgoCD application.

License

Notifications You must be signed in to change notification settings

iamops-team/argocd-api

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner

ArgoCD Sync Action

This action refreshes and syncs multiple ArgoCD applications using the ArgoCD API.

  • Future: ability to rollback to the previous version of ArgoCD Application (TODO)

Inputs

  • argocd_server: ArgoCD Server URL (required)
  • argocd_username: ArgoCD Username (required)
  • argocd_password: ArgoCD Password (required)
  • argocd_app_names: Comma-separated list of ArgoCD Application Names (required)
  • refresh_app: Whether to refresh the applications (optional, default: 'false')
  • sync_app: Whether to sync the applications (optional, default: 'false')

Example usage

- name: ArgoCD API Action
  uses: iamops-team/argocd-api@v1.0
  with:
    argocd_server: ${{ secrets.ARGOCD_SERVER }}
    argocd_username: ${{ secrets.ARGOCD_USERNAME }}
    argocd_password: ${{ secrets.ARGOCD_PASSWORD }}
    argocd_app_names: 'app1,app2,app3'
    refresh_app: 'true'
    sync_app: 'true'

About

This GitHub Action will help us to refresh and sync the ArgoCD application.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published