liveBook · Manning

Pull request

As explained in Platform Engineering on Kubernetes

A pull request is a source-control request for other developers or automation to review and merge a proposed change into a target branch.

A pull request is a request for other developers or automation to review proposed changes before merging them into a target branch. In trunk-based development, developers work in feature branches and use pull requests to protect a releasable main branch. section 3.3 section 3.4.1

A pull request connects source changes to automated delivery controls:

  • A service pipeline builds, tests, and validates the feature branch against the main branch before merging. section 3.4.1
  • Merging into main triggers a service pipeline that creates a release and artifacts such as compiled code, container images, and Kubernetes manifests. section 4.3
  • A service pipeline can create a pull request against an environment repository, allowing an environment pipeline to test or automatically merge low-risk changes. section 4.3
  • Sensitive environments require additional checks and validations before their configuration changes are merged. section 4.3

Feature to environment

A developer finishes a Conference feature and opens a pull request against main. The service pipeline verifies that the change builds, tests, and can be released. After review and merge, another pipeline creates the service release and deployment artifacts, then opens a pull request updating a low-risk environment repository. That request is tested by the environment pipeline and may merge automatically. section 4.3 section 3.4.1

Figure 4.20 A service pipeline can trigger an environment pipeline via a pull request.

Trace how a pull request triggers service and environment pipelines across the promotion flow. section 4.3

How Platform Engineering on Kubernetes covers it

How deep it goes
Explains pull requests through branch, pipeline, artifact, and environment flows without detailing platform-specific configuration.
Examples
Uses GitHub pull requests for feature validation and automated requests that promote service versions through environment repositories.
What it assumes
Assumes feature branches, a main branch, source repositories, and service pipelines; establishes their relationship through pull requests.
What you can do after
Operate pull-request workflows that validate changes before merging and promote tested releases through increasingly sensitive environments.
How it connects
Connects trunk-based development, feature branches, service pipelines, environment pipelines, release artifacts, and Kubernetes manifests.

Also explained in

Compare how 6 books explain pull request →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Platform Engineering on Kubernetes. The section links point to the parts of the book it draws on.