Update Pipeline

Description

Apply changes to a pipeline.

Command

codefresh patch pipeline <id>

Aliases

codefresh patch pip <id>

codefresh patch pipelines <id>

Arguments

Option Alias Default Description
id pipeline id

Options

Option Alias Default Description
–help Print help information
–context - c context in form of: type=name
–engine-cluster K8 cluster name to use for execution
–engine-namespace K8 namespace in the chosen cluster to use for execution
–default-engine Use the default engine configured by the system

Examples

Add the ‘my-list’ secret context to pipeline ID

codefresh apply pipeline ID --context secret=my-list

Define pipeline ID executions to run on k8 cluster ‘my-cluster’ on namespace ‘my-namespace’

codefresh apply pipeline ID --engine-cluster=my-cluster --engine-namespace=my-namespace

Define pipeline ID executions to run on the default engine of Codefresh

codefresh apply pipeline ID --default-engine