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

Oc 4.7 kubernetes 1.20.0 beta.2 #467

Conversation

ingvagabund
Copy link
Member

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 19, 2020
@openshift-ci-robot openshift-ci-robot added the area/dependency Issues or PRs related to dependency changes label Nov 19, 2020
@ingvagabund ingvagabund force-pushed the oc-4.7-kubernetes-1.20.0-beta.2 branch from 2088028 to 188f5d1 Compare November 20, 2020 15:18
@ingvagabund ingvagabund changed the title WIP: Oc 4.7 kubernetes 1.20.0 beta.2 Oc 4.7 kubernetes 1.20.0 beta.2 Nov 20, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 20, 2020
@ingvagabund
Copy link
Member Author

/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 Nov 20, 2020
@ingvagabund ingvagabund force-pushed the oc-4.7-kubernetes-1.20.0-beta.2 branch from 188f5d1 to 3b0947c Compare November 20, 2020 15:38
@ingvagabund
Copy link
Member Author

/hold cancel

@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 Nov 20, 2020
@ingvagabund ingvagabund force-pushed the oc-4.7-kubernetes-1.20.0-beta.2 branch 2 times, most recently from c5fb61c to 04e2077 Compare November 20, 2020 17:46
@ingvagabund
Copy link
Member Author

/retest

Had to patch hack/update-vendor.sh to get rid of:

$ ./hack/update-vendor.sh
+++ [1119 14:23:06] logfile at /tmp/update-vendor.USbV/update-vendor.log
+++ [1119 14:23:06] go.mod: update staging references
+++ [1119 14:23:14] go.mod: propagate to staging modules
+++ [1119 14:23:15] go.mod: sorting staging modules
+++ [1119 14:23:32] go.mod: tidying
tsort: /tmp/update-vendor.USbV/tidy_deps.txt: input contains a loop:
tsort: k8s.io/api
tsort: k8s.io/code-generator
tsort: k8s.io/client-go
tsort: k8s.io/apimachinery
tsort: /tmp/update-vendor.USbV/tidy_deps.txt: input contains a loop:
tsort: k8s.io/api
tsort: k8s.io/code-generator
tsort: k8s.io/client-go
tsort: /tmp/update-vendor.USbV/tidy_deps.txt: input contains a loop:
tsort: k8s.io/api
tsort: k8s.io/code-generator
tsort: /tmp/update-vendor.USbV/tidy_deps.txt: input contains a loop:
tsort: k8s.io/code-generator
tsort: k8s.io/client-go
tsort: k8s.io/apimachinery
tsort: /tmp/update-vendor.USbV/tidy_deps.txt: input contains a loop:
tsort: k8s.io/code-generator
tsort: k8s.io/client-go
tsort: /tmp/update-vendor.USbV/tidy_deps.txt: input contains a loop:
tsort: k8s.io/client-go
tsort: k8s.io/apimachinery

github.com/openshift/* repos are adding unnecessary deps to staging repos.

Patch:

diff --git a/hack/update-vendor.sh b/hack/update-vendor.sh
index 35b1ef22c49..9afa63a2124 100755
--- a/hack/update-vendor.sh
+++ b/hack/update-vendor.sh
@@ -191,7 +191,7 @@ for repo in $(kube::util::list_staging_repos); do
   pushd "staging/src/k8s.io/${repo}" >/dev/null 2>&1
     echo "=== propagating to ${repo}" >> "${LOG_FILE}"
     # copy root go.mod, changing module name
-    sed "s#module k8s.io/kubernetes#module k8s.io/${repo}#" < "${KUBE_ROOT}/go.mod" > "${KUBE_ROOT}/staging/src/k8s.io/${repo}/go.mod"
+    cat "${KUBE_ROOT}/go.mod" | grep -v "github.com/openshift/" | sed "s#module k8s.io/kubernetes#module k8s.io/${repo}#" > "${KUBE_ROOT}/staging/src/k8s.io/${repo}/go.mod"
     # remove `require` directives for staging components (will get re-added as needed by `go list`)
     kube::util::list_staging_repos | xargs -n 1 -I {} echo "-droprequire k8s.io/{}"   | xargs -L 100 go mod edit
     # rewrite `replace` directives for staging components to point to peer directories
@ingvagabund ingvagabund force-pushed the oc-4.7-kubernetes-1.20.0-beta.2 branch from 04e2077 to 4144759 Compare November 20, 2020 18:20
Copy link
Member

@soltysh soltysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 20, 2020
@soltysh soltysh added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 20, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: ingvagabund, soltysh

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-merge-robot openshift-merge-robot merged commit 99ac8bc into openshift:oc-4.7-kubernetes-1.20.0-beta.2 Nov 20, 2020
@ingvagabund ingvagabund deleted the oc-4.7-kubernetes-1.20.0-beta.2 branch November 20, 2020 18:50
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. area/dependency Issues or PRs related to dependency changes lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants