-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI:DOCS] Cirrus: Ability to skip most tests for docs updates #7998
Conversation
LGTM |
Is this taking over for #7797? Looks like it's working better. |
Looks like we collided. I went with |
@edsantiago warning...danger..danger: The Consider the position of some future CI-failure analyst: They must go trolling back through multiple CI builds, trying to find the one that broke something. If the culprit was a |
***Warning***: `skip` has non-obvious side-effects vs `only_if`: https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution The skip instruction can give a false sense of security by always marking tasks as passed in the UI, even if they didn't run. In contrast, the `only_if` condition will avoid creating the task all -together; therefore, a problematic task's absense is more likely to be noticed if it introduced a problem. Signed-off-by: Chris Evich <[email protected]>
Rebased and updated w/ Ed's anchor/alias suggestion. I also updated the commit and PR message to make clear the reasoning behind |
Clarification: What I mean by false-success status can be seen in this PRs twin, in the WebUI: https://cirrus-ci.com/build/6731773184835584 |
/lgtm |
@edsantiago is there some reason why we're holding on this? Did I forget something important again? |
No reason to hold, I just use that convention to allow you to hold-cancel or to solicit further review; i.e. to leave that decision up to you. |
Oh whew! okay, thanks. |
/hold cancel |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cevich, edsantiago The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Warning:
skip
has non-obvious side-effects vsonly_if
:https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution
The skip instruction can give a false sense of security by always
marking tasks as passed in the UI, even if they didn't run. In
contrast, the
only_if
condition will avoid creating the taskall -together; therefore, a problematic task's absense is more likely to
be noticed if it introduced a problem.
Note: I left the OSX build in because it actually does some platform-specific docs-manipulation we want exercised.