CircleCI Ideas

Allow authoring build config in EDN instead of YAML

We're Clojurists! You're Clojurists! We'd love to be able to replace `.circleci/config.yml` with EDN.  I guess we could check in an EDN file and generate YAML from it and check that in too, but the duplication is even less palatable.

This is probably too wild but in a wonderful future world, we could use Clojure 1.9's tools.deps and code-generate a config file at the start of each build.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Aug 21 2018
  • Not planned
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    21 Aug, 2018 04:47pm

    It's true we are unlikely to make EDN a first-class config, but we are looking at ways to let config generation happen automatically. That's in early R&D, so no promises, but if we were to support something like this you'd likely do it by doing your own parsing of your EDN and feeding a data structure through as JSON or something like that.