ci-operator/jobs/openshift/origin: Restore mutable properties for 4.8 and 4.9#19716
Conversation
b9b154f to
a79d855
Compare
|
it's important we assert some consistency here because when a job is optional/not-always-run in master and required in an older release, what happens is the job bitrots in master, starts permfailing, and then no one can get their backports through the older release. so i'm a big plus one on:
What are we doing about #2 going forward? we currently have a mess in 4.8 because we have a bunch of required/always-run jobs that never pass and seemingly no one noticed because they aren't always-run/required in master (yeah i know, we didn't branch master that long ago, so it may not be the whole cause). |
There was a problem hiding this comment.
can we get some doc (comments in the code if nothing else?) on what this does/how to invoke it?
There was a problem hiding this comment.
Added in a79d855534 -> 4e6afd259e.
a79d855 to
4e6afd2
Compare
|
/approve linter isn't happy |
There was a problem hiding this comment.
how does it decide which branch to compare 4.8+4.9 to? (master vs 4.6 vs 4.7?)
There was a problem hiding this comment.
it only automatically updates if all of 4.6, 4.7, and master agree on the mutable value for that job
There was a problem hiding this comment.
otherwise it just logs the inconsistency in case you want to manually adjust
4e6afd2 to
b68c62b
Compare
I've fixed two of the lint issues with 4e6afd259e -> b68c62ba84. I'm not sure if there's anything I can do about: And with that effectively unfixable, I am leaving |
|
/lgtm |
the linter deliberately ignores hack/lib: so this will still be an issue for subsequent PRs |
|
/lgtm cancel (still need to sort out the linter issue so that all subsequent PRs to this repo don't have a failing linter test to look at) |
|
(I guess it will only be subsequent PRs that touch .py files, but even so i'd rather fix the linter job now than pile up tech debt for someone to investigate later) |
|
/retest-required |
…operties As discussed in e6b339e (ci-operator/jobs/openshift/cluster-version-operator: Metal optional on 4.8 and 4.9, 2021-07-21, openshift#19513) and similar work, the current branch-forking procedure does not track these job properties which are not covered by ci-operator/config/... entries. This script makes it easier to mass-repair suspect branches, based on agreement between master and more reliable sibling branches.
… and 4.9 Generated with: $ hack/lib/unify-job-properties.py ci-operator/jobs/openshift/origin $ make jobs I haven't gone through and guessed at the mutable properties for which sibling branches disagree, but that shouldn't block us moving ahead to repair where there is agreement.
b68c62b to
916e7c5
Compare
Rebased onto master and shifted the script under |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: petr-muller, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@wking: Updated the
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
As discussed in e6b339e (#19513) and similar work, the current branch-forking procedure does not track these job properties which are not covered by
ci-operator/config/...entries. This PR attempts to recover some of them for openshift/origin. Generated with a new script (also included in this PR):I haven't gone through and guessed at the mutable properties for which sibling branches disagree, but that shouldn't block us moving ahead to repair where there is agreement.