The pipeline is generated from the DSL and created with CloudFormation. The files that the DSL evaluates are in the .pipedream folder:


To create the CodePipeline pipeline, you run:

pipe deploy

You’ll see output that looks something like this:

$ pipe deploy
Generated CloudFormation template at /tmp/codepipeline.yml
Deploying stack demo-pipe with CodePipeline project demo
Creating stack demo-pipe. Check CloudFormation console for status.
Stack name demo-pipe status CREATE_IN_PROGRESS
Here's the CloudFormation url to check for more details
Waiting for stack to complete
04:14:03AM CREATE_IN_PROGRESS AWS::CloudFormation::Stack demo-pipe User Initiated
04:14:07AM CREATE_IN_PROGRESS AWS::IAM::Role IamRole Resource creation Initiated
04:14:28AM CREATE_IN_PROGRESS AWS::CodePipeline::Pipeline Pipeline
04:14:29AM CREATE_IN_PROGRESS AWS::CodePipeline::Pipeline Pipeline Resource creation Initiated
04:14:29AM CREATE_COMPLETE AWS::CodePipeline::Pipeline Pipeline
04:14:31AM CREATE_IN_PROGRESS AWS::CodePipeline::Webhook Webhook
04:14:33AM CREATE_IN_PROGRESS AWS::CodePipeline::Webhook Webhook Resource creation Initiated
04:14:33AM CREATE_COMPLETE AWS::CodePipeline::Webhook Webhook
04:14:35AM CREATE_COMPLETE AWS::CloudFormation::Stack demo-pipe
Stack success status: CREATE_COMPLETE
Time took for stack deployment: 35s.

Explicit Pipeline Name

By default, the pipeline name is inferred and is the parent folder name that you are within. You can explicitly specify the pipeline name as the first CLI argument:

pipe deploy my-pipeline

Specify Git Branch

It is useful to build pipelines with different source git branches. You can pass a --branch option to the pipe deploy command. The cli —-branch option always takes the highest precedence. Example:

pipe deploy my-pipeline --branch my-branch

Note: When you specify a branch pipedream actually first updates the pipeline before starting the pipeline execution. This is done because CodePipeline does not currently support specifying the branch. It is discussed more here: Using Different Branches.

CLI Reference

Also, for help info you can check the pipe deploy CLI reference.

Pro tip: Use the <- and -> arrow keys to move back and forward.

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub, and contributions are encouraged and welcomed. We love pull requests from you!