Skip to content

sg: add ci build [runtype] to create branches that trigger runtypes

Warren Gifford requested to merge sg/dry-run into main

Created by: coury-clark

Extends sg ci build to support special build types. These build types are limited to the "prefix builds" such as main-dry-run.

sg ci build --force main-dry-run will push HEAD to main-dry-run/mybranch and report the corresponding build.

Test plan

CleanShot 2022-02-10 at 12 55 01@2x CleanShot 2022-02-10 at 12 55 26@2x

Resulting branch: https://github.com/sourcegraph/sourcegraph/tree/main-dry-run/sg/dry-run Resulting CI build: https://buildkite.com/sourcegraph/sourcegraph/builds?branch=main-dry-run%2Fsg%2Fdry-run

Merge request reports

Loading