-
Notifications
You must be signed in to change notification settings - Fork 51
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
verify generated mocks are up to date #690
Comments
@Kargakis this code should check it: https://github.com/openshift/openshift-azure/blob/master/hack/validate-generated.sh#L23 if you run "make verify" does it not catch the diff?
for me:
Also my verify does check the mocks
|
if you have go 1.11 beware of this: golang/go#25161 |
This was not caught by CI.
…On Tue, Nov 6, 2018, 01:16 Angus Salkeld ***@***.*** wrote:
if you have go 1.11 beware of this: golang/go#25161
<golang/go#25161>
I upgraded to fedora 29 and had to install 1.10 to not get gofmt diffs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#690 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADuFf_IQL7q4-QKi_wC18I3S4oUS-Maqks5usNTJgaJpZM4YOkbc>
.
|
@Kargakis it is still not clear what needs to be done here, can you be more specific please? |
@asalkeld in d8a538d I submitted generated code about one of the azure clients w/o touching that client. Seems that the generated files are not compared correctly in CI. I just run the command from |
For example, I submitted an invalid change in #735 but the verify job is green: https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/openshift_openshift-azure/735/pull-ci-openshift-openshift-azure-master-verify/632 |
If I
go generate ./...
in the current HEAD, I get a diff in the mocking clients. We probably need to verify these inhack/validate-generated.sh
to avoid drifting./assign @asalkeld
/kind bug
The text was updated successfully, but these errors were encountered: