Fix the periodic CI flow error in client#200
Fix the periodic CI flow error in client#200knative-prow-robot merged 2 commits intoknative:masterfrom
Conversation
|
I think this is overkill: 316 files and 50K lines just for a flag. |
|
/test pull-knative-client-build-tests |
|
Ugh, looks like the build job is affected by knative/test-infra#1018 |
|
/approve |
|
/assign @sixolet |
| ) | ||
|
|
||
| // ClientFlags saves the environment flags for client. | ||
| var ClientFlags = initializeFlags() |
There was a problem hiding this comment.
How does doing this fix the CI flow errors? Is there something missing in this PR? Or perhaps elaborate the problem and fix. Thx
There was a problem hiding this comment.
emitmetrics is a flag used by our testing framework, which is also required for the running of periodic jobs. But since Knative client is not using the framework, it does not have the flag, so adding this flag as a no-op can solve the error.
I have made it a bit simpler and added more meaningful comments.
There was a problem hiding this comment.
Not obvious but thanks for the explanation. Hopefully fixes things. Thanks.
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adrcunha, Fredy-Z, rhuss 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 |
* hack the emitmetrics flag * update test-infra
See https://testgrid.knative.dev/client#continuous.
/cc @adrcunha