Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

circleci config validate does not check that jobs listed in a workflow are defined #20

Closed
federicobond opened this issue Jun 28, 2018 · 5 comments

Comments

@federicobond
Copy link

When a job is listed in a workflow but missing from the jobs section, the config validator will report the config as valid but will fail immediately when pushed to CircleCI:

* Cannot find a job named `build` to run in the `jobs:` section of your configuration file.

The validator should ensure that all jobs listed in workflows are actually defined.

@felicianotech
Copy link
Contributor

@marcomorain Thoughts here?

@marcomorain
Copy link

We are working on a new CLI tool that will do full config validation server-side. You can follow progress at https://github.com/CircleCI-Public/circleci-cli. I'll move this issue there.

@marcomorain
Copy link

@marcomorain
Copy link

@felicianotech you can close this issue 👌

@federicobond
Copy link
Author

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants