Circleci orb validate is valid but circleci config validate raises schema violation

I’m developing Orb and published suzuki-shunsuke/tfenv@dev:first.
This Orb seems to be valid.

$ circleci version
0.1.6915+e5767b0

$ circleci orb source suzuki-shunsuke/tfenv@dev:first | circleci orb validate -
Orb input is valid.

But when I try to use this orb, schema violations occur.

$ cat .circleci/config.yml
version: 2.1
orbs:
  tfenv: suzuki-shunsuke/tfenv@dev:first
jobs:
  clone:
    docker:
      - image: alpine:3.11.3
    steps:
      - run:
          command: echo hello

workflows:
  build:
    jobs:
      - clone

$ circleci config validate
Error: ERROR IN CONFIG FILE:
[#] 32 schema violations found
...

I uploaded orb.yml and the perfect output of circleci config validate at Gist.

When I comment out the orb declaration, the configuration seems to be valid.

$ cat .circleci/config.yml
version: 2.1
# orbs:
#   tfenv: suzuki-shunsuke/tfenv@dev:first
jobs:
  clone:
    docker:
      - image: alpine:3.11.3
    steps:
      - run:
          command: echo hello

workflows:
  build:
    jobs:
      - clone

$ circleci config validate
Config file at .circleci/config.yml is valid.

What is the orb wrong?

I’m using macOS Catalina 10.15.3 .

Thank you.

My problem was resolved.
I removed an unneeded job then circleci config validate passed.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.