DOP-C02

Introduction to Source Control and Pipeline Triggers

How version control integrates with AWS pipelines: branching strategies, connecting Git providers through AWS CodeConnections, and starting builds and pipelines from commits, pull requests, tags and other events.

  • 2 lessons
  • Module quiz

Every automated release begins with a change in version control. The repository is the single source of truth for application code, infrastructure templates and pipeline definitions, and the way a team uses branches, tags and pull requests decides what is built, what is tested and what reaches each environment.

On AWS, repositories hosted in GitHub, GitLab or Bitbucket connect to pipelines through AWS CodeConnections, and AWS CodeCommit offers an AWS-hosted alternative. Events in the repository, such as a push, a pull request or a new tag, start CodeBuild builds and CodePipeline executions.

Where this module fits

This module sits between the delivery concepts of the foundations module and the build and pipeline services that follow. The exam tests how to connect version control to pipelines with the least operational effort and the most control: which events should start which builds, how to filter triggers by branch, file path or tag, and how branch protection and pull request builds prevent defects from reaching the main branch.

How this module is organised

Applying Version Control and Branching Strategies explains the Git concepts pipelines depend on and compares trunk-based development, GitHub flow and longer-lived branching models. Connecting Repositories and Triggering Pipelines explains CodeConnections, CodeBuild webhooks and CodePipeline V2 triggers, and how to choose between them for pull request and release builds.

  1. Applying Version Control and Branching Strategies Lesson 1
  2. Connecting Repositories and Triggering Pipelines Lesson 2
  3. Practise and review
  4. Test your knowledge 2 questions