We use the monorepo approach for storing our source in github.
Is it currently possible to have CodePipeline trigger only on a commit to a particular subfolder.
This is something that is currently possible with TeamCity by setting a filter on the Source Repository but I've seen no example of this with CodePipeline.
Start a pipeline manually (console)Sign in to the AWS Management Console and open the CodePipeline console at http://console.aws.amazon.com/codesuite/codepipeline/home . In Name, choose the name of the pipeline you want to start. On the pipeline details page, choose Release change.
Choose the icon to edit your CodeBuild action. On the Edit action page, under Environment variables, enter the following: In Name, enter a name for your environment variable. In Value, enter the variable syntax for your pipeline output variable, which includes the namespace assigned to your source action.
Jenkins and AWS CodePipeline are both easy to use and set up. Jenkins installation is straightforward and can be completed in minutes. AWS provides templates that rely on CodeBuild and CodeDeploy to start creating your pipelines.
We worked on exactly that issue. In short: It's possible with a little work around. You can set up a GitHub Webhook as source for a single AWS CodeBuild project. The project allows you to configure filters (file paths) on events pushed to that Webhook. Additionally, you add an S3 bucket and push the code referenced by the filtered event to that bucket. The bucket can be included as source stage for your CodePipeline.
We have documented our solution in a blog post: https://blog.codecentric.de/en/2019/05/codebuild-trigger-pipeline/
Looks like you answered your own question ;). The answer is not yet, but as a workaround, you can parse the list of changed files and derive the list of changed subfolders from that: https://forums.aws.amazon.com/thread.jspa?messageID=811027󆀓/.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With