Skip to content

argocd-app-sync

Actions
A GitHub action that syncs ArgoCD applications
0.2.0
Latest
Star (1)

ArgoCD Application Sync Action

GitHub Marketplace

A GitHub action that syncs ArgoCD applications.

Usage

Example workflow

This example syncs an ArgoCD application.

name: My Workflow
on: [ push, pull_request ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Sync ArgoCD Application
        uses: OpsVerseIO/[email protected]
        with:
          address: ${{ secrets.ARGOCD_SERVER }}
          token: ${{ secrets.ARGOCD_TOKEN }}
          action: sync
          appName: "my-example-app"
          disableTlsVerification: "false" # Default is false. Only enable this if ArgoCD doesn't have TLS / has self signed certificate / you see any sort of x509 errors

Inputs

Input Description
address ArgoCD server address.
token ArgoCD Token.
action ArgoCD Action i.e. sync.
appName Application name to execute action on.
disableTlsVerification Skip TLS validation.

Examples

Sync Application

You can sync ArgoCD application after building an image etc.

name: My Workflow
on: [ push, pull_request ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Sync ArgoCD Application
        uses: OpsVerseIO/[email protected]
        with:
          address: ${{ secrets.ARGOCD_SERVER }}
          token: ${{ secrets.ARGOCD_TOKEN }}
          action: sync
          appName: "my-example-app"
          disableTlsVerification: "false" # Default is false. Only enable this if ArgoCD doesn't have TLS / has self signed certificate / you see any sort of x509 errors

argocd-app-sync is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

A GitHub action that syncs ArgoCD applications
0.2.0
Latest

argocd-app-sync is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.