-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
exit with usage when need login to image registry #8225
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh 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 |
/ok-to-test |
kvm2 Driver Times for Minikube (PR 8225): [68.21249204 69.615924894 66.408918407] Averages Time Per Log
docker Driver Times for Minikube (PR 8225): [28.538387113 28.051964047 28.305918612000003] Averages Time Per Log
|
Codecov Report
@@ Coverage Diff @@
## master #8225 +/- ##
==========================================
- Coverage 34.52% 34.50% -0.02%
==========================================
Files 147 147
Lines 9408 9412 +4
==========================================
Hits 3248 3248
- Misses 5761 5765 +4
Partials 399 399
|
/retest-this-please |
It will still fail, though. Just with a different error message. It would be better to use a more public image mirror.... |
still fail. $ docker login https://docker.pkg.github.com 1
Username (xxxxx):
Password:
Login Succeeded
$ minikube start --driver=docker
* minikube v1.11.0 on Centos 7.6.1810
* Using the docker driver based on existing profile
* Starting control plane node minikube in cluster minikube
* Pulling base image ...
* Unfortunately, could not download the base image gcr.io/k8s-minikube/kicbase:v0.0.10
! In order to use the fall back image, you need to log in to the github packages registry
* Please visit the following link for documentation around this:
https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages#authenticating-to-github-packages
* Please either authenticate to the registry or use --base-image flag to use a different registry. |
closes #8124
before this PR
if user needed logging into the regsitry, (in this case github packages) there would be
long error lines and crash
After this PR: exit short and sweet and provide link to how to login to the fall back image repos
After this PR: