kodiak icon indicating copy to clipboard operation
kodiak copied to clipboard

Trigger build only before merging

Open jonathan-boudreau-work opened this issue 3 years ago • 3 comments

We have expensive build steps which we don't want to run on every commit. At the same time we want to run these build steps before merging, since they are likely to catch bugs we don't want in trunk.

With bors-ng, it is possible to do this by defining a build which only runs on the trying or staging branches. How would I do this with kodiak?

jonathan-boudreau-work avatar Apr 20 '22 16:04 jonathan-boudreau-work

I think this is less of a Kodiak question and more of a continuous integration (CI) question.

I think with GitHub Actions or CircleCI you can configure CI jobs to run on certain branches. Would that work for you?

chdsbd avatar Apr 20 '22 21:04 chdsbd

Yes that is correct,does kodiak support this?

jonathan-boudreau-work avatar Apr 25 '22 13:04 jonathan-boudreau-work

Yes, assuming you configure your CI provider to run CI jobs on certain branches, Kodiak will support that

chdsbd avatar Apr 25 '22 14:04 chdsbd