Adding CodeBuild support to your application repository

Whenever you create a CodeBuild project, you must define how CodeBuild should test and build your application source code, and then publish application artifacts and/or Docker images. CodeBuild defines these tasks within a build specification, which provides the build instructions the CodeBuild agent should execute when running a build.

CodeBuild allows you to provide a build specification in several ways:

  • Self-defined: CodeBuild looks for a file that is defined within the source repository of the project.  By default, this is a file called buildspec.yml; however, you can also configure a custom file where your build specification is located.
  • Preconfigured: When you create a CodeBuild ...

Get Docker on Amazon Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.