Skip to content
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

Rebase 1.18 #139

Merged
merged 502 commits into from
Mar 18, 2020
Merged

Rebase 1.18 #139

merged 502 commits into from
Mar 18, 2020

Conversation

enxebre
Copy link
Member

@enxebre enxebre commented Mar 17, 2020

Rebase:
The PR was created by first taking kubernetes@ee627f2 as the base and then applying "UPSTREAM:" patches on top.

ee627f2 was chosen instead of https://github.com/kubernetes/autoscaler/tree/cluster-autoscaler-release-1.18 to get the ability to autodiscover the API version kubernetes#2934.

The set of picks applied was derived from:

git log --oneline --no-merges c9e97b56baba21ad3dd9929c672299e43815387b..openshift/master

where c9e97b reflects the changes since our last rebase (which was 1.17 #121 ).
This is different from other releases (#120, #121) since we got merge the provider upstream kubernetes#1866 so the number of commits we need to carry over will be minimal and keep decreasing from now on.

Process
To create the merge commit I have used the following steps:

$ git remote update
$ git checkout ee627f2b8d407e4df130d682b0f7ee06a503f895 (cluster-autoscaler-1.18.0)
$ git checkout -b merge
$ git checkout openshift/master
$ echo 'merge upstream/cluster-autoscaler-1.18.0' | git commit-tree merge^{tree} -p HEAD -p merge
deadbeef12345678
$ git checkout deadbeef12345678
$ git cherry-pick carry-commits

The set of carried commits can be divided in 3 groups:

A first group of commits are carried to sort out the CI system jobs. Some of them might be considered to be dropped in upcoming releases since I believe some where needed for a 3.* context and not all of them are required anymore. They will possibly be conflated in the next rebase.

The set of carried commits can be divided in 3 groups:

A first group of commits are carried to sort out the CI system jobs. Some of them might be considered to be dropped in upcoming releases since I believe some where needed for a 3.* context and not all of them are required anymore. They will possibly be conflated in the next rebase.

5db2eabe7 UPSTREAM: <carry>: Bump scripts go version to 1.13 and update path to cloudprovider/clusterapi
3dc78fcc6 UPSTREAM: <carry>: openshift: Extend makefile with 'make goimports' target
97681c560 UPSTREAM: <carry>: Fix git commit message verification script
561763adb UPSTREAM: <carry>: openshift: Switch builds to use Go 1.12
8bee2fe79 UPSTREAM: <carry>: openshift: create git history verification script
b8c5d9d6b UPSTREAM: <carry>: openshift: Add fmt, lint, vet scripts/Makefile
c55d13e35 UPSTREAM: <carry>: openshift: Add a RHEL7 dockerfile and standarize format
c81123283 UPSTREAM: <carry>: openshift: cluster-autoscaler.spec: set golang_version to 1.10
3bc1590b1 UPSTREAM: <carry>: openshift: cluster-autoscaler.spec: bump golang_version to 1.10.4
cdae7f285 UPSTREAM: <carry>: openshift: Fix spec file to be consistent
dacc7035f UPSTREAM: <carry>: openshift: Bump embedded tools
cef5e8a1d UPSTREAM: <carry>: openshift: Fix the spec and hack scripts so the package can be built in both build systems
320c648ce UPSTREAM: <carry>: openshift: Add openshift/release Makefile and hack scripts
4a7b05e02 UPSTREAM: <carry>: openshift: Add dockerfile for cluster autoscaler.
a34cf0a0d UPSTREAM: <carry>: openshift: Add spec file for cluster-autoscaler.
542ade35d UPSTREAM: <carry>: openshift: update cluster-autoscaler OWNERS
UPSTREAM: <carry>: openshift: Add OpenShift VPA image builds

Three new commits were added to get the CAPI provider working.
Most of these should be dropped once we make CAO set the new parameters.

3b17a9df6 UPSTREAM: <carry>: openshift: Let the controller move on if machineDeployment resource does not exist.
e5d75086b UPSTREAM: <carry>: openshift: Hardcode API group and annotations to machine.openshift.io
e036217d8 UPSTREAM: <carry>: openshift: Support alias openshift-machine-api as cloud provider

And some commits were carried to keep our e2e CI green.

5ff9639a1 UPSTREAM: <carry>: openshift: report MaxNodesTotal count
aa2f7a153 UPSTREAM: <carry>: openshift: Revert "Adding config for event filtering"

losipiuk and others added 30 commits February 4, 2020 20:51
This is temporary hack. We should stop using for-go-proj.sh to
verify cluster autoscaler and migrate to directly calling make.

Change-Id: I0c41c918f78cdfa0e5fd0dd60139a54db90540ea
…rk-poc3

Scheduler Framework based PredicateChecker
…ater

VPA - Moving status updater to utils
…s_tests

VPA - Removing k8s tests from vpa tests
…_test

VPA - Reducing copy-pasted code in updater tests
@enxebre
Copy link
Member Author

enxebre commented Mar 17, 2020

/verify-owners

@enxebre enxebre removed the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Mar 17, 2020
@openshift-ci-robot openshift-ci-robot added the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Mar 17, 2020
@enxebre enxebre removed the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Mar 17, 2020
enxebre and others added 5 commits March 17, 2020 22:00
…ployment resource does not exist.

We don't have machineDeployment CRD on OCP. If we introduce this logic upsteam this commit can be dropped.
This is currently used by our e2e testing https://github.com/openshift/cluster-api-actuator-pkg/blob/master/pkg/autoscaler/autoscaler.go#L383.
This should be contributed upsteam and possibly also prevent the e2e from reyling on events.
update cluster-autoscaler OWNERS and remove owners which do not belong the openshift org so also CI is happy.
@openshift-ci-robot openshift-ci-robot added the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Mar 17, 2020
@openshift-ci-robot
Copy link

The following users are mentioned in OWNERS file(s) but are not members of the openshift org.

Once all users have been added as members of the org, you can trigger verification by writing /verify-owners in a comment.

  • jbartosik
    • vertical-pod-autoscaler/OWNERS

@enxebre enxebre removed the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Mar 17, 2020
@JoelSpeed
Copy link

/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JoelSpeed

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 18, 2020
@JoelSpeed
Copy link

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 18, 2020
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 3255052 into openshift:master Mar 18, 2020
enxebre added a commit to enxebre/cluster-autoscaler-operator that referenced this pull request Mar 20, 2020
Since we merged the clusterapi provider upstream we are now consuming that directly openshift/kubernetes-autoscaler#139
This is to minimise the commits we need to carry on top by using the upstream flag/env variables.
@elmiko elmiko mentioned this pull request Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.