Anton Cavanaugh
Anton Cavanaugh

Reputation: 999

Creating a simple pipeline (CodeCommit repository

I have created a simple deploy pipeline using jenkins, I have created the codedeploy, the S3 Bucket, the Autoscalable group, the ami. Everything listed in the docs. But it needs a appspec.yml. I have looked at the documentation for appspec.yml. And it’s very confusing.

Is there any way to generate a appspec.yml. I am not even sure what its role is. I thought the code deploy would take the zip file out of the S3 Bucket and deploy it to the scaleble group.

Any help?

Upvotes: 1

Views: 218

Answers (2)

Ravi Kumar CH
Ravi Kumar CH

Reputation: 541

appspec.yml is the file that tells codedeploy service about what tasks it should do with the code on your EC2 servers. So it needs to be built according to your workflow. This documentation and the examples will help you what you want to achieve.

Upvotes: 1

Marcin
Marcin

Reputation: 238209

Is there any way to generate a appspec.yml

You can't auto-generate the file. It must be custom designed for your specific application, and only you know what your application is, how it works, how it is configured, what are its dependencies, and so on.

Upvotes: 1

Related Questions