Skip to content

fix(cicd): remove Name field for test command build projects#2003

Merged
mergify[bot] merged 4 commits intoaws:mainlinefrom
huanjani:testcommands-project-name
Mar 3, 2021
Merged

fix(cicd): remove Name field for test command build projects#2003
mergify[bot] merged 4 commits intoaws:mainlinefrom
huanjani:testcommands-project-name

Conversation

@huanjani
Copy link
Copy Markdown
Contributor

@huanjani huanjani commented Mar 2, 2021

This change gives Copilot pipelines more flexibility, as it enables users to build pipelines that share an app and env, but different repos/svcs or branches. We are seeing that customers want to build multiple pipelines for single apps, and this makes our pipeline functionality more extensible by avoiding overlapping CodeBuild project names.

We have 255 characters to work with, so stringing together BuildTestCommands-[appName]-[env/stageName]-[repoName]-[branchName] should be okay.

UPDATE: We removed the Name field entirely.

Fixes #1986.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@huanjani huanjani requested a review from a team as a code owner March 2, 2021 22:16
@huanjani huanjani requested a review from bvtujo March 2, 2021 22:16
Comment thread templates/cicd/pipeline_cfn.yml Outdated
Comment thread templates/cicd/pipeline_cfn.yml Outdated
@efekarakus efekarakus changed the title chore(cicd): add repoName and branchName to CodeBuild test command project names fix(cicd): remove Name field for test command build projects Mar 3, 2021
@mergify mergify Bot merged commit d7a31fe into aws:mainline Mar 3, 2021
@huanjani huanjani deleted the testcommands-project-name branch June 22, 2021 04:13
thrau pushed a commit to localstack/copilot-cli-local that referenced this pull request Dec 9, 2022
This change gives Copilot pipelines more flexibility, as it enables users to build pipelines that share an app and env, but different repos/svcs or branches. We are seeing that customers want to build multiple pipelines for single apps, and this makes our pipeline functionality more extensible by avoiding overlapping CodeBuild project names. 

We have [255 characters](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name) to work with, so stringing together `BuildTestCommands-[appName]-[env/stageName]-[repoName]-[branchName]` should be okay.

Fixes aws#1986.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BuildTestCommands-[app]-[env] already exists in stack

4 participants