code for article pfeilbr/aws-codepipeline-playground
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
mv deploy-buildspec.yml buildspec.yml. The newly renamed
buildspec.ymlis what gets used in the “deploy” phase.
Exporting Pipeline Definition/Metadata
node scripts/get-pipeline.js > /pipeline-definition-export.json
Twitter • Reddit