Open davyzhang3 opened 2 years ago
I found the same incorrect buildspecs/buildspec.yml path too. Thanks for posting this @davyzhang3.
I also had to update the RepositoryURL default to match the instructions in the book (the book has chapter9
in the URL).
RepositoryURL:
Type: String
Description: The Clone URL for the Code Commit Repository
Default: "https://git-codecommit.us-east-2.amazonaws.com/v1/repos/chapt9"
@pquery a note in the text to ensure the user "peter" is in the right region after logging in would have saved me quite a bit of time troubleshooting why peter/peter's pipeline cannot find the chapt9 repo.
This exercise isn't setup for success. After commenting out the virtualenv sections, it choked on the fact that there's no tests/requirements.txt
file. Moving on to higher-value efforts.
For traceabilty, I'm using the version of the book from O'Reilly:
AWS Certified DevOps Engineer - Professional Certification and Beyond Copyright © 2021 Packt Publishing First published: February 2022 Production reference: 1031121
The address of buildspec.yml file in pipeline1.yml is wrong. It should be
buildspec.yml
rather thanbuildspecs/buildspec.yml
When I run buildspec.yml in CodeBuild:This part went wrong. I feel there might be a script missing in your chapter 9 folder.