https://github.com/bonddim/argocd-azure-devops-task
Argo CD task for Azure DevOps Pipelines
https://github.com/bonddim/argocd-azure-devops-task
azure-devops azure-devops-extension azure-devops-pipelines azure-pipelines-task
Last synced: 26 days ago
JSON representation
Argo CD task for Azure DevOps Pipelines
- Host: GitHub
- URL: https://github.com/bonddim/argocd-azure-devops-task
- Owner: bonddim
- License: mit
- Created: 2025-02-14T08:16:59.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-16T16:23:22.000Z (about 2 months ago)
- Last Synced: 2025-03-16T16:24:40.463Z (about 2 months ago)
- Topics: azure-devops, azure-devops-extension, azure-devops-pipelines, azure-pipelines-task
- Language: TypeScript
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Argo CD CLI Installer Task for Azure DevOps
This extension installs the [Argo CD CLI](https://argo-cd.readthedocs.io/en/stable/) 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](https://github.com/argoproj/argo-cd/releases) 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](https://marketplace.visualstudio.com/items/bonddim.argocd-installer).
## Usage
### Install Latest Version
Use this configuration to install the latest released version:
```yaml
- 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
```yaml
- 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"`.
```yaml
- 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](LICENSE) file for details.
## Additional Information
For detailed documentation, FAQs, or troubleshooting tips, please refer to the [Argo CD documentation](https://argo-cd.readthedocs.io/en/stable/).