Skip to content

Move copilot version and unit test configurations to pipeline.yml #1583

@adamjkeller

Description

@adamjkeller

Problem:

Presently, if one wants to add unit tests (or modify the version of copilot) to a pipeline, they need to modify the buildspec.yml. This can be problematic as the buildspec is loaded with copilot opinionated logic, which one can easily break unknowingly. This is especially difficult for the user experience if they have no understanding of codebuild.

Solution:

Move any user inputs/overrides out of the buildspec into the pipeline.yml file. For the above mentioned use cases:

  • Unit tests could live in a "build" stage in the pipeline.yml
  • Set copilot version in each stage of the pipeline (example: override to latest copilot version in test, but not production).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/pipelineIssues about pipelines to release applications.type/enhancementIssues that are improvements for existing features.type/requestIssues that are created by customers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions