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.
- https://gist.github.com/suzuki-shunsuke/df616713daf490f59d2cc0a039c552b1#file-orb-yml
- https://gist.github.com/suzuki-shunsuke/df616713daf490f59d2cc0a039c552b1#file-result-of-circleci-config-validate .
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.