-
Notifications
You must be signed in to change notification settings - Fork 808
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
Makefile
& hack/
Process Improvements
#2028
Makefile
& hack/
Process Improvements
#2028
Conversation
Code Coverage DiffThis PR does not change the code coverage |
e070430
to
86e1f46
Compare
…ion in config.sh Signed-off-by: Connor Catlett <[email protected]>
…of cluster name collisions in CI Signed-off-by: Connor Catlett <[email protected]>
Signed-off-by: Connor Catlett <[email protected]>
…or CI Signed-off-by: Connor Catlett <[email protected]>
Signed-off-by: Connor Catlett <[email protected]>
Signed-off-by: Connor Catlett <[email protected]>
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.
These are all great quality of life improvements. Thank you for saving hours of time over the next year.
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.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AndrewSirenko The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Is this a bug fix or adding new feature?
"New Feature"
What is this PR about? / Why do we need it?
This PR is split into several much smaller commits:
Move WINDOWS and WINDOWS_HOSTPROCESS out of Makefile to correct location in config.sh
Small fix to remove unnecessary variables in the
Makefile
.Use Prow BUILD_ID in CI jobs if present to greatly reduce the chance of cluster name collisions in CI
Prow jobs have a random chance of colliding because
$RANDOM
is only a 4 digit number (You'd think it's 1/10000 but it's much higher than that because of the Birthday Paradox).Use
$BUILD_ID
in CI which is guaranteed to be unique. Had to cut off a little bit of the beginning of the name to make it short enough foreksctl
.Add make cluster/kubeconfig
Convenience command for local development, used to set the
KUBECONFIG
for the cluster created bymake cluster/create
.Add make cluster/image command; Build image and cluster in parallel for CI
Parallelize building the image and creating the cluster on CI, had to split image build out into a separate command to do this.
Breaking change for contributors:
make cluster/e2e
style commands no longer build the image, you must either runmake cluster/image
first or bring your own image.Template eksctl cluster file so Windows nodegroup can build in parallel
Parallelize creating the Linux and Windows nodegroup for
eksctl
clusters by using a cluster file instead ofeksctl
commands.Parallelize kubetest2 installation in CI
kubetest2
takes surprisingly long to install, might as well do so while building the cluster/image already.What testing is done?
CI/Manual