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.
- 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.
Install the extension from the Azure DevOps Marketplace.
Use this configuration to install the latest released version:
- task: ArgoCDInstaller@0
# or
- task: ArgoCDInstaller@0
inputs:
version: latest
To install a specific version of Argo CD CLI, specify the desired version
- task: ArgoCDInstaller@0
inputs:
version: v2.14.2
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
Contributions are welcome! Please review our contributing guidelines before submitting a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For detailed documentation, FAQs, or troubleshooting tips, please refer to the Argo CD documentation.