Recipe: Argo Workflow writer
Generate Argo Workflow manifests from Meridian pipeline definitions and submit them to your cluster with a single command.
Prerequisites
- Argo Workflows 3.5+ installed on your cluster
- Meridian CLI v2.1.0 or later
- kubectl context pointing to the target namespace
Quick start
meridian recipe argo-workflow --pipeline ci-pipeline.yaml --submitThis reads your pipeline definition, renders a full Argo WorkflowTemplate, and submits it directly to the cluster.
Output example
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
name: meridian-ci
spec:
entrypoint: build
templates:
- name: build
container:
image: golang:1.22
command: [go, build, ./...]Flags
--pipelinePath to Meridian pipeline YAML--submitSubmit to cluster after generation--dry-runPrint manifest without submitting--namespaceTarget Kubernetes namespaceTip: Combine with Recipe: Docker build for a complete CI pipeline that builds images and runs tests in Argo.