sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.12k stars 1.29k forks source link

dev/ci: generate the sourcegraph-async pipeline #25636

Open bobheadxi opened 3 years ago

bobheadxi commented 3 years ago

While I still think rolling qa into the main sourcegraph pipeline would be the ideal state in the future, there is a legitimate use case for the sourcegraph-async pipeline for running more diagnostic-level tasks such as https://github.com/sourcegraph/sourcegraph/pull/25455 . If we introduce some kind of continuous benchmarking, for example, I imagine it might live in sourcegraph-async as well.

This pipeline was just 1 job for a while, but with the introduction of https://github.com/sourcegraph/sourcegraph/pull/25455 it's starting to get quite large and we might benefit from migrating it to a generated approach where e.g. it can leverage ChangedFiles and special run types etc.

bobheadxi commented 3 years ago

https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/.buildkite/pipeline.async.yml#L14:1

bobheadxi commented 3 years ago

https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/enterprise/dev/ci/gen-pipeline.go#L15:33