Revert "add skip_cloning to periodics which don't need source code" + "add extra_refs to every periodic job that doesn't have it"#37042
Conversation
d65784d to
ef80bbc
Compare
… "add extra_refs to every periodic job that doesn't have it" This reverts commits - 0712a63 "add extra_refs to every periodic job that doesn't have it" - 37c0d10 "add skip_cloning to periodics which don't need source code" Adding extra_refs was meant to add information about the branch and repo to the Pod labels. But that has side effects: - Causes extra work in all jobs for checking out source code. - Causes testgrid to show the checked out source code revision, which is not necessarily the same as the code under test. The second commit avoided the overhead, but then testgrid started showing e.g. "master" instead of some revision. Ultimately the right approach is to not use extra_ref (this PR) and add labels differently (in some future PR). In addition to the reverts above, some manual cleanup was also needed, like removing the TestReposBeingSet test.
|
/lgtm |
|
/assign @upodroid |
upodroid
left a comment
There was a problem hiding this comment.
Let's revert and figure it out
Also, the bad commit metadata in prow should be handled by kubetest, it should have written the marker it used or the ref checked out by prow.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, pohly, upodroid 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 |
|
I think what we can do is set annotations / labels directly in the prow spec in the next iteration. |
|
@pohly: 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-sigs/prow repository. |
The metadata in the job was correct, it just involved two different operations and those didn't (and couldn't) use the same revision (checking our master vs. downloading the latest release archives). |
This reverts commits
Adding extra_refs was meant to add information about the branch and repo to the Pod labels. But that has side effects:
The second commit avoided the overhead, but then testgrid started showing e.g. "master" instead of some revision. Ultimately the right approach is to not use extra_ref (this PR) and add labels differently (in some future PR).
In addition to the reverts above, some manual cleanup was also needed, like removing the TestReposBeingSet test.
/assign @BenTheElder
/cc @upodroid