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

[aws-codebuild] Add support for COMMIT_MESSAGE on FilterGroup #9033

Closed
jacques- opened this issue Jul 13, 2020 · 7 comments · Fixed by #11011
Closed

[aws-codebuild] Add support for COMMIT_MESSAGE on FilterGroup #9033

jacques- opened this issue Jul 13, 2020 · 7 comments · Fixed by #11011
Assignees
Labels
@aws-cdk/aws-codebuild Related to AWS CodeBuild effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. good first issue Related to contributions. See CONTRIBUTING.md p2

Comments

@jacques-
Copy link

Codebuild FilterGroup (https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-codebuild.FilterGroup.html) contains methods to filter on all attributes except COMMIT_MESSAGE.

Use Case

Would like to set a COMMIT_MESSAGE filter on builds - need to do this manually at the moment.

Proposed Solution

Propose adding an andCommitMessageIs method to FilterGroup.

Current workaround is to set this manually in console.


This is a 🚀 Feature Request

@jacques- jacques- added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jul 13, 2020
@github-actions github-actions bot added the @aws-cdk/aws-codebuild Related to AWS CodeBuild label Jul 13, 2020
@skinny85 skinny85 added effort/small Small work item – less than a day of effort good first issue Related to contributions. See CONTRIBUTING.md and removed needs-triage This issue or PR still needs to be triaged. labels Jul 13, 2020
@skinny85
Copy link
Contributor

Hey @jacques- ,

thanks for opening the issue. Any chance you can open us a PR with this? 😃 Should be a simple change in this class:

export class FilterGroup {
. See our docs on how to get started with a contribution: https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md#getting-started

Let me know if this is something that might be interesting for you!

Thanks,
Adam

@jacques-
Copy link
Author

Ok cool, I don't know typescript yet but I'll give it a go.

@skinny85 skinny85 added the p2 label Sep 11, 2020
@jorge-barreto
Copy link
Contributor

Hey, I just ran into a use case with the same need. I'm happy to look into creating a PR for this in the next day or so if it isn't being worked by anyone else.

One question I have (and excuse my ignorance here): my project works with the .NET implementation of CDK. What is the process for getting these changes in there?

@skinny85
Copy link
Contributor

@jorge-barreto if you submit a change to the TypeScript code, it will be released for .NET - the logic is written only once and then distributed using JSII.

@jorge-barreto
Copy link
Contributor

the logic is written only once and then distributed using JSII.

Thanks for giving me the skinny on that; cool tech!

@skinny85
Copy link
Contributor

You're welcome @jorge-barreto , thanks for the great PR!

@mergify mergify bot closed this as completed in #11011 Oct 23, 2020
mergify bot pushed a commit that referenced this issue Oct 23, 2020
…up (#11011)

closes #9033

A small amount of housekeeping was done by collecting the different string constants for webhook filter types into a single enum

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-codebuild Related to AWS CodeBuild effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. good first issue Related to contributions. See CONTRIBUTING.md p2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants