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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build test targets for all server platforms #51873
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,10 @@ import ( | |
"k8s.io/client-go/dynamic" | ||
) | ||
|
||
const ( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why this change part of this PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. otherwise arm 32 bit fails due to that the constant is larger than int32 (default on arm) can handle There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. okay |
||
noxuInstanceNum int64 = 9223372036854775807 | ||
) | ||
|
||
//NewRandomNameCustomResourceDefinition generates a CRD with random name to avoid name conflict in e2e tests | ||
func NewRandomNameCustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition { | ||
// ensure the singular doesn't end in an s for now | ||
|
@@ -84,7 +88,7 @@ func NewNoxuInstance(namespace, name string) *unstructured.Unstructured { | |
"key": "value", | ||
}, | ||
"num": map[string]interface{}{ | ||
"num1": 9223372036854775807, | ||
"num1": noxuInstanceNum, | ||
"num2": 1000000, | ||
}, | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this cause any build performance regressions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, this is for release (and the post-ci, independently running kube-cross job) code only. All other jobs etc perform the "fast path" and only build for amd64