Skip to content

doc/dev: actually generate sample pipelines for runtypes

Warren Gifford requested to merge fix-generated-pipeline-reference into main

Created by: bobheadxi

I noticed this while working on https://github.com/sourcegraph/sourcegraph/pull/31096 🤦 The reference docs weren't actually generating pipelines for the special run types, it was hardcoded to PullRequest. This PR fixes that and makes some minor adjustments:

  • Rename some steps for readability
  • Prefix Build and Publish to relevant steps for readability
  • Recover from panic on runtype reference generation, because some require an argument. Going to leave rendering those docs as a follow-up.

Test plan

sg ci docs
sg run docsite

http://localhost:5080/dev/background-information/ci/reference

image

Merge request reports

Loading