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

[release-1.7] 🌱 Refactor how tools are built to align with CAPI and get rid of tools go.mod #2094

Merged

Conversation

chrischdi
Copy link
Member

Manual cherry-pick of #2080

Remove go module in hack/tools and align to core CAPI with regards to tools installation

  • Uses hack/go-install.sh to install:
    • setup-envtest
    • conversion-gen
    • go-apidiff
    • ginkgo
    • kind
  • Uses hack/go-tools-build.sh to install:
    • conversion-verifier
    • release-notes
  • Adjusts help display function to core CAPI
  • Reorders definitions in Makefile to improve comparability to core CAPI Makefile
  • Implements hack/go-tools-build.sh to install binaries from sigs.k8s.io/cluster-api/hack/tools/...
  • Removes Makefile and go module in hack/tools

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Part of #2060

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

NONE

… tools installation.

* Uses hack/go-install.sh to install:
  * setup-envtest
  * conversion-gen
  * go-apidiff
  * ginkgo
  * kind
* Uses hack/go-tools-build.sh to install:
  * conversion-verifier
  * release-notes
* Adjusts help display function to core CAPI
* Reorders definitions in Makefile to improve comparability to core CAPI Makefile
* Implements hack/go-tools-build.sh to install binaries from sigs.k8s.io/cluster-api/hack/tools/...
* Removes Makefile and go module in hack/tools
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 26, 2023
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jul 26, 2023
@chrischdi
Copy link
Member Author

/test help

@k8s-ci-robot
Copy link
Contributor

@chrischdi: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

  • /test pull-cluster-api-provider-vsphere-e2e-release-1-7
  • /test pull-cluster-api-provider-vsphere-full-e2e-release-1-7
  • /test pull-cluster-api-provider-vsphere-integration-test-release-1-7
  • /test pull-cluster-api-provider-vsphere-test-release-1-7
  • /test pull-cluster-api-provider-vsphere-verify-markdown
  • /test pull-cluster-api-provider-vsphere-verify-shell

The following commands are available to trigger optional jobs:

  • /test pull-cluster-api-provider-vsphere-apidiff-main
  • /test pull-cluster-api-provider-vsphere-conformance-1-7
  • /test pull-cluster-api-provider-vsphere-verify-crds
  • /test pull-cluster-api-provider-vsphere-verify-gen

Use /test all to run the following jobs that were automatically triggered:

  • pull-cluster-api-provider-vsphere-apidiff-main
  • pull-cluster-api-provider-vsphere-e2e-release-1-7
  • pull-cluster-api-provider-vsphere-integration-test-release-1-7
  • pull-cluster-api-provider-vsphere-test-release-1-7
  • pull-cluster-api-provider-vsphere-verify-crds
  • pull-cluster-api-provider-vsphere-verify-gen
  • pull-cluster-api-provider-vsphere-verify-shell

In response to this:

/test help

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.

@chrischdi
Copy link
Member Author

Let's see if that one works:

/test pull-cluster-api-provider-vsphere-conformance-1-7

@sbueringer
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 26, 2023
@randomvariable
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: randomvariable

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 28, 2023
@k8s-ci-robot k8s-ci-robot merged commit 52b225f into kubernetes-sigs:release-1.7 Jul 28, 2023
4 checks passed
@chrischdi chrischdi deleted the pr-makefile-sync-1-7 branch July 28, 2023 12:11
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants