Skip to content

tests: Test image operations in smoke test #21154

@nirs

Description

@nirs

Currently we test only starting, stopping and deleting cluster, so we don't catch regression like #21103. This makes it harder to contribute and maintain minikube.

We have image tests the functional test but they assume docker daemon and fail on macOS. We can test using minikube cluster and external repo with a tiny image (such as the alpine image).

The image commands do not require kubernetes and are very lightweight, so we can test them in GitHub runners.

Add image tests to the smoke test:

  • minikube image load docker.io/library/alpine
  • minikube image load image.tar
  • minikube image build
  • minikube image ls
  • minikube image pull
  • minikube image push
  • minikube image rm
  • minikube image save
  • minikube image tag

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions