Skip to content

Skaffold project with no deployers doesn't show any warning #8424

@renzodavid9

Description

@renzodavid9

Currently, if we run, e.g, skaffold dev on a project that has no deployers configured, skaffold will show the following message: Starting deploy..., but doesn't warn that no deployers were found. This could be confusing for users, due to it doesn't show exactly what's hapenning. This is something that can happen in multi config/module projects.

Expected behavior

To have a message that warn the user that no deployers were found in a project.

Actual behavior

A Starting deploy... message is shown in the console, but no warning about no deployers found.

Information

  • Skaffold version: v2.1.0
  • Operating system: all
  • Installed via: Built from source code
  • Contents of skaffold.yaml:
apiVersion: skaffold/v4beta2
kind: Config

requires:
  - path: module.yaml
  • Content of module.yaml:
apiVersion: skaffold/v4beta2
kind: Config
build:
  artifacts:
  - image: skaffold-example
manifests:
  rawYaml:
  - k8s-pod.yaml

Steps to reproduce the behavior

  1. Usinge the examples/getting-started project
  2. Rename the skaffold.yaml file to module.yaml
  3. Create a new skaffold.yaml file with the following content:
apiVersion: skaffold/v4beta2
kind: Config

requires:
  - path: module.yaml
  1. Run skaffold dev
  2. It won't deploy anything, but also doesn't show any warn about it

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/moduleskind/frictionIssues causing user pain that do not have a workaroundkind/todoimplementation task/epic for the skaffold teampriority/p2May take a couple of releases

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions