Merge branch 'master' of github.com:kubernetes/minikube into windows-mount
commit
cf0e99adf6
|
@ -42,14 +42,14 @@ func CreateSSHShell(api libmachine.API, cc config.ClusterConfig, n config.Node,
|
|||
return errors.Errorf("%q is not running", machineName)
|
||||
}
|
||||
|
||||
client, err := host.CreateSSHClient()
|
||||
|
||||
if native {
|
||||
ssh.SetDefaultClient(ssh.Native)
|
||||
} else {
|
||||
ssh.SetDefaultClient(ssh.External)
|
||||
}
|
||||
|
||||
client, err := host.CreateSSHClient()
|
||||
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "Creating ssh client")
|
||||
}
|
||||
|
|
|
@ -20,13 +20,12 @@ description: >
|
|||
|
||||
See [ISO release instructions]({{<ref "iso.md">}})
|
||||
|
||||
## Tag KIC base image
|
||||
## Release new kicbase image
|
||||
|
||||
for container drivers (docker,podman), if there has been any change in Dockerfile
|
||||
(and there is a -snapshot image), should tag with latest release and push to gcr and docker hub and github packages.
|
||||
If there are changes to the Dockerfile for the docker and/or podman drivers
|
||||
(and there is a -snapshot image), you should retag it as a new version and push it to GCR, dockerhub and github packages.
|
||||
|
||||
for example if you are releasing v0.0.13 and latest kicbase image is v0.0.12-snapshot
|
||||
should tag v0.0.13 and change the [kic/types.go](https://github.com/medyagh/minikube/blob/635ff53a63e5bb1be4e1abb9067ebe502a16224e/pkg/drivers/kic/types.go#L29-L30) file as well.
|
||||
For example, if you are releasing v0.0.13 and the current kicbase image tag is v0.0.12-snapshot, you should tag v0.0.13 and change [kic/types.go](https://github.com/medyagh/minikube/blob/635ff53a63e5bb1be4e1abb9067ebe502a16224e/pkg/drivers/kic/types.go#L29-L30) as well.
|
||||
|
||||
## Update Release Notes
|
||||
|
||||
|
|
|
@ -497,7 +497,7 @@ func validateCacheCmd(ctx context.Context, t *testing.T, profile string) {
|
|||
|
||||
t.Run("cache", func(t *testing.T) {
|
||||
t.Run("add_remote", func(t *testing.T) {
|
||||
for _, img := range []string{"k8s.gcr.io/pause:3.0", "k8s.gcr.io/pause:3.3", "k8s.gcr.io/pause:latest"} {
|
||||
for _, img := range []string{"k8s.gcr.io/pause:3.1", "k8s.gcr.io/pause:3.3", "k8s.gcr.io/pause:latest"} {
|
||||
rr, err := Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "cache", "add", img))
|
||||
if err != nil {
|
||||
t.Errorf("failed to 'cache add' remote image %q. args %q err %v", img, rr.Command(), err)
|
||||
|
@ -587,7 +587,7 @@ func validateCacheCmd(ctx context.Context, t *testing.T, profile string) {
|
|||
|
||||
// delete will clean up the cached images since they are global and all other tests will load it for no reason
|
||||
t.Run("delete", func(t *testing.T) {
|
||||
for _, img := range []string{"k8s.gcr.io/pause:3.0", "k8s.gcr.io/pause:latest"} {
|
||||
for _, img := range []string{"k8s.gcr.io/pause:3.1", "k8s.gcr.io/pause:latest"} {
|
||||
rr, err := Run(t, exec.CommandContext(ctx, Target(), "cache", "delete", img))
|
||||
if err != nil {
|
||||
t.Errorf("failed to delete %s from cache. args %q: %v", img, rr.Command(), err)
|
||||
|
|
Loading…
Reference in New Issue