Skip to content

bonddim/argocd-azure-devops-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argo CD CLI Installer Task for Azure DevOps

This extension installs the Argo CD CLI on an Azure DevOps agent. It automates the installation process and configures the environment for seamless integration with your pipeline.

Features

  • Installs the latest released version by default.
  • Supports Linux, MacOS, and Windows agents.
  • Adds Argo CD Server service connection to securely store credentials.
  • Sets ARGOCD_SERVER and ARGOCD_AUTH_TOKEN environment variables from the provided service connection.
  • Optionally sets the ARGOCD_OPTS variable for extra configuration.

Installation

Install the extension from the Azure DevOps Marketplace.

Usage

Install Latest Version

Use this configuration to install the latest released version:

- task: ArgoCDInstaller@0
# or
- task: ArgoCDInstaller@0
  inputs:
    version: latest

Install specific version

To install a specific version of Argo CD CLI, specify the desired version

- task: ArgoCDInstaller@0
  inputs:
    version: v2.14.2

Install server version

This option installs the version matching your server and also sets ARGOCD_OPTS="--grpc-web".

- task: ArgoCDInstaller@0
  inputs:
    connection: ServiceConnectionName or ServiceConnectionID
    version: server
    options: --grpc-web

Contributing

Contributions are welcome! Please review our contributing guidelines before submitting a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Additional Information

For detailed documentation, FAQs, or troubleshooting tips, please refer to the Argo CD documentation.

About

Argo CD task for Azure DevOps Pipelines

Resources

License

Stars

Watchers

Forks

Packages

No packages published