-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
I have an "effect" (not a hercules-ci-effect! no idea how to use those tbh) via a postBuildStep that I would like to run only on the default branch of my repo. If I make a pull request that affects that attribute, it properly gets run on the PR branch and decides it has nothing to do; but if I merge the PR, the build is skipped and the postBuildStep isn't executed - it isn't even scheduled.
This is what a build on a PR branch looks like:

And this is on the merge commit:

I believe what happens here is that the evaluation counts as "cached" coming out of nix-eval-jobs, which prompts buildbot-nix to not build & then not schedule the following postBuildSteps either.
What I think would be neat is if we could:
- schedule
postBuildSteps, either by default or via a configurable attribute - maybe expose the
doStepIfbuildbot attribute, so steps can decide for themselves based on the properties of the build whether they are supposed to run or not.
Metadata
Metadata
Assignees
Labels
No labels