AWS CodePipeline

learn AWS CodePipeline

Using CodeBuild for a “custom” CodePipeline deploy phase

CodeBuild gives you a amz linux server and you can run whatever you want. This is an example using it for the “deployment” phase.

During the “build” phase in buildspec.yml, the post_build command runs mv deploy-buildspec.yml buildspec.yml. The newly renamed buildspec.yml is what gets used in the “deploy” phase.

Exporting Pipeline Definition/Metadata

via CodePipeline.getPipeline method

node scripts/get-pipeline.js > /pipeline-definition-export.json