-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
🐛 Remove install.sh #2256
🐛 Remove install.sh #2256
Conversation
Welcome @yuswift! |
Hi @yuswift. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/retitle Fix: adjust install.sh for releases after v3 |
@yuswift: Re-titling can only be requested by trusted users, like repository collaborators. In response to this:
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. |
:bug:
) adjust install.sh for releases after v3
:bug:
) adjust install.sh for releases after v3:bug:
) adjust install.sh for releases after v3
:bug:
) adjust install.sh for releases after v3:bug:
) Adjust install.sh for releases after v3
:bug:
) Adjust install.sh for releases after v3
/ok-to-test |
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.
Hi @yuswift,
This script is used only for the CI. Users should not use that to install the CLI.
However, if your changes does not broke the CI/prow jobs I am ok with
Does the ci only test v2? IMO, for v3 the script can't be executed successfully. Could you tell me where do we use the script in CI? |
736f4b1
to
83bca4d
Compare
814c830
to
9c620db
Compare
9c620db
to
a82d995
Compare
Rebase done. |
friendly ping @camilamacedo86 |
scripts/install.sh
Outdated
@@ -70,37 +70,31 @@ fi | |||
|
|||
KUBEBUILDER_VERSION=${KUBEBUILDER_VERSION#"v"} | |||
KUBEBUILDER_VERSION_NAME="kubebuilder_${KUBEBUILDER_VERSION}" | |||
KUBEBUILDER_DIR=/usr/local/kubebuilder | |||
KUBEBUILDER_DIR=/usr/local/bin/kubebuilder | |||
|
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.
I think we need to check where this script has been used.
Did you test these changes? Could you please add in the first comment how are you testing the changes and its result?
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.
Done. Please take a look at the first comment.
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.
Currently it's not used anywhere. Sounds like we should remove it.
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.
Done.
Signed-off-by: yuswift <yuswift2018@gmail.com>
a82d995
to
631b627
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: estroz, yuswift 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 |
Signed-off-by: yuswift yuswift2018@gmail.com
This pr adjusts scripts/install.sh for releases after v3. For releases before v3, it doesn't work. I see there already exists a document for installation, so I'm not sure if we need this script again. If not, I'm glad to remove it. I've tested on my local environment. If the users have used the script before, the new change will not affect the old dir, there will generate a new binary file called
kubebuilder
under the/usr/local/bin/
dir.Usage:
bash scripts/install.sh
Fixes #2248