I installed CircleCLI on a Mac running Catalina, using Homebrew:
brew install circlecli
Now I’m trying to follow the “getting started” instructions from https://circleci.com/docs/2.0/local-cli-getting-started/. I already have a github enterprise repo for trying things in CircleCLI, and I know commits from it do build, but I haven’t done anything interesting with it yet other then testing out a config.yml with some jobs that “exit 1” or “echo foo” just to see them run. But for this getting started, I changed my .circlecli/config.yml to be exactly the sample shown on that web page, and committed it to my repo and pushed to github.
The very next step is to run
circlecli config validate, but that gives me this error:
Error: Unable to validate config: Variable 'pipelineValues' definition references unknown type 'StringKeyVal'.
I also tried explicitly naming the config.yml,
circleci config validate .circleci/config.yml, but got the same error.
I checked our local circleci and I can see that my commit of the new config.yml did build, and I can see its “Hello World” in the logs, so clearly this config is valid. It’s just something wrong with the CLI. But I haven’t defined any variables called pipelineValues that I know of, and I’m trying with a fresh install.
Has anyone seen this error, or know what it means, or what I should do?