CloudBees action: Deploy with Argo Workflows

1 minute read

Use this action to run Argo Workflows, a CI/CD pipeline tool for managing and executing complex workflows in Kubernetes.

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Description

url

String

Yes

The Argo Workflows server URL.

token

String

Yes

The Argo Workflows token.

namespace

String

Yes

The Argo Workflows namespace.

workflow-name

String

Yes

The Argo Workflows name.

parameters

JSON

No

Any additional parameters, formatted as JSON data in key/value pairs.

Usage example

In your YAML file, add:

- name: Run Argo Workflows uses: cloudbees-io/argocd-run-workflow@v2 with: url: ${{ ARGO_URL }} token: ${{ ARGO_TOKEN }} namespace: "Argo_namespace" workflow-name: "Argo_workflow_name" parameters: '{"BRANCH_NAME":"main","ENV_NAME":"prod"}'