Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Mar 3, 2021

Conversation

huanjani
Copy link
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
@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
3 participants