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

revert: "feat(codepipeline): GitPushFilter with branches and file paths for trigger" #30462

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

gracelu0
Copy link
Contributor

@gracelu0 gracelu0 commented Jun 5, 2024

Reverts #29127

@github-actions github-actions bot added the p2 label Jun 5, 2024
@aws-cdk-automation aws-cdk-automation requested a review from a team June 5, 2024 21:39
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jun 5, 2024
@gracelu0 gracelu0 closed this Jun 5, 2024
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.

A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.

@gracelu0 gracelu0 reopened this Jun 5, 2024
@gracelu0 gracelu0 changed the title Revert "feat(codepipeline): GitPushFilter with branches and file paths for trigger" revert "feat(codepipeline): GitPushFilter with branches and file paths for trigger" Jun 5, 2024
@gracelu0 gracelu0 changed the title revert "feat(codepipeline): GitPushFilter with branches and file paths for trigger" revert: "feat(codepipeline): GitPushFilter with branches and file paths for trigger" Jun 5, 2024
@aws-cdk-automation aws-cdk-automation dismissed their stale review June 5, 2024 21:54

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Jun 5, 2024
Copy link
Contributor

mergify bot commented Jun 6, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Jun 6, 2024
Copy link
Contributor

mergify bot commented Jun 6, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 0e63adf
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 0fa3b1e into main Jun 6, 2024
12 checks passed
@mergify mergify bot deleted the revert-29127-pipeline-trigger-branch branch June 6, 2024 01:38
Copy link
Contributor

mergify bot commented Jun 6, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@go-to-k
Copy link
Contributor

go-to-k commented Jun 7, 2024

@gracelu0 Why did you revert? I would like you to state reasons. Is it relevant to the following comment?

#30465 (comment)

@gracelu0
Copy link
Contributor Author

gracelu0 commented Jun 7, 2024

@gracelu0 Why did you revert? I would like you to state reasons. Is it relevant to the following comment?

#30465 (comment)

Hi @go-to-k , yes I believe so. @TheRealAmazonKendra is working on some CodePipeline changes and can provide more context here. Thank you for your effort and apologies as I know the community has been looking forward to this feature. I'll make sure to communicate more clearly next time beforehand.

@TheRealAmazonKendra
Copy link
Contributor

This was reverted based off my request because there were a couple bugs in the logic and because the contract here doesn't meet our design guidelines. Wherever possible (and I recognize that it is not possible. 100% of the time), we should not have optional props that are mutually exclusive or that rely on each other. If you require several statements validating the contract you have defined, that indicates that the contract is not quite right.

This is not perfect, this here is a PR that I have in progress to deprecate the triggers as they exist now and to improve the abstraction #30516. While we have limitations of how much we can perfect things here because of the changes that are already released, we should be using enum like classes and adding static functions to abstract away complexity and improve upon the CloudFormation contract.

@go-to-k
Copy link
Contributor

go-to-k commented Jun 11, 2024

Thanks for your clarification. I got it.

Leo10Gama pushed a commit to Leo10Gama/aws-cdk that referenced this pull request Jun 11, 2024
mazyu36 pushed a commit to mazyu36/aws-cdk that referenced this pull request Jun 22, 2024
@aws-cdk-automation
Copy link
Collaborator

Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.

@aws aws locked as resolved and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
contribution/core This is a PR that came from AWS. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants