Skip to content

Conversation

@elmiko
Copy link
Contributor

@elmiko elmiko commented Apr 16, 2021

This change updates the go.mod and related vendor files to the
kubernetes 1.21 baseline. This was achieved by updating some of the
entries in go.mod and then running make vendor.

The updates to go.mod were as follows:

github.com/openshift/machine-api-operator master

Then ran make vendor to produce output.

@openshift-ci-robot
Copy link

@elmiko: This pull request references Bugzilla bug 1948719, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.8.0) matches configured target release for branch (4.8.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @sunzhaohua2

Details

In response to this:

Bug 1948719: update k8s dependencies to 1.21

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Apr 16, 2021
@elmiko
Copy link
Contributor Author

elmiko commented Apr 16, 2021

govet is failing here, but passing locally. not quite sure why
/test govet

@JoelSpeed
Copy link
Contributor

This is broken due to the Azure/AWS dependencies being out of date, these will need updating too

@elmiko
Copy link
Contributor Author

elmiko commented Apr 20, 2021

i re-updated the vendor here, but i think that was premature. we need to wait for openshift/cluster-api-provider-azure#214 and openshift/cluster-api-provider-gcp#159 to merge, then re-vendor here. iiuc
/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 20, 2021
@lobziik
Copy link
Contributor

lobziik commented Apr 21, 2021

Also bunch of fixes needed due to runtime client changes :(

p.s. https://paste.centos.org/view/3c5e736c - patch

@elmiko
Copy link
Contributor Author

elmiko commented Apr 21, 2021

thanks @lobziik! when the other PRs merge and i update this, i will add the changes from your patch.

@elmiko
Copy link
Contributor Author

elmiko commented Apr 22, 2021

updated

  • re-vendored with newly merged changes from dependencies
  • added fixes for runtime.Object -> runtimeclient.Object
  • removed unused function DeleteObjectsByLabels

@elmiko elmiko force-pushed the bz1948719-1.21deps branch from af19bb1 to 5ee52f4 Compare April 22, 2021 20:38
@elmiko
Copy link
Contributor Author

elmiko commented Apr 22, 2021

minor fixup for go vet errors, also reflowed the commits to make it easier to fix

@elmiko
Copy link
Contributor Author

elmiko commented Apr 23, 2021

/retest

@JoelSpeed
Copy link
Contributor

/approve

Dependencies have been updated, no longer need the hold
/hold cancel

/retest

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 27, 2021
@lobziik
Copy link
Contributor

lobziik commented Apr 27, 2021

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 27, 2021
@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

Details 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 Apr 27, 2021
@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 7, 2021
@JoelSpeed
Copy link
Contributor

@elmiko The dependent PR has merged, could you try updating the MAO dependency here with the latest changes and see if it passes the tests? Feel free to hold cancel once you've pushed the changes

@elmiko
Copy link
Contributor Author

elmiko commented May 12, 2021

thanks @JoelSpeed , i missed that other dep. i will update shortly.

elmiko added 3 commits May 12, 2021 12:27
This change updates the go.mod and related vendor files to the
kubernetes 1.21 baseline. This was achieved by updating some of the
entries in go.mod and then running make vendor.

The updates to go.mod were as follows:
```
github.com/openshift/api master
github.com/openshift/cluster-autoscaler-operator master
github.com/openshift/cluster-api-provider-gcp master
github.com/openshift/machine-api-operator master

replace sigs.k8s.io/cluster-api-provider-aws => github.com/openshift/cluster-api-provider-aws master
replace sigs.k8s.io/cluster-api-provider-azure => github.com/openshift/cluster-api-provider-azure master
```

Then ran `make vendor` to produce output.
This function had errors after the dependency update and is no longer
used in the tests.

thanks to @lobziik for the patch
This change adds a few fixes that are needed for the dependency update.
They are mostly changing `runtime.Object` references into
`runtimeclient.Object`.

thanks to @lobziik for the patch
@elmiko elmiko force-pushed the bz1948719-1.21deps branch from 5ee52f4 to d9491e6 Compare May 12, 2021 16:34
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label May 12, 2021
@elmiko
Copy link
Contributor Author

elmiko commented May 12, 2021

updated

  • revendored from other mao deps again

given that this change set now includes the updates that were added in #211, i am going to change that PR so we don't have duplicates.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 12, 2021

[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

Details 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

@JoelSpeed
Copy link
Contributor

/lgtm
/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 12, 2021
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 12, 2021
this brings the version past the 0.9.0-alpha
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label May 12, 2021
@JoelSpeed
Copy link
Contributor

/lgtm
/retest

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 13, 2021
@JoelSpeed
Copy link
Contributor

/retest

@openshift-merge-robot openshift-merge-robot merged commit 43e5219 into openshift:master May 13, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 13, 2021

@elmiko: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state. Once unlinked, request a bug refresh with /bugzilla refresh.

Bugzilla bug 1948719 has not been moved to the MODIFIED state.

Details

In response to this:

Bug 1948719: update k8s dependencies to 1.21

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants