GithubHelp home page GithubHelp logo

Comments (3)

ailiev avatar ailiev commented on June 11, 2024

The alternative would be for the deployer to do some kind of templating and merging outside the barn process. This is extra work for many users, and also complicated by having most barn components in a bare Docker image without any tools to do the file munging at runtime. (The bare image is fine in itself I'd say)

from bb-storage.

mickael-carl avatar mickael-carl commented on June 11, 2024

One of the reasons of moving all configuration to json based-file is that you can use jsonnet to actually template the common part of each components, rather than adding extra logic to merge config files.
I think using jsonnet is simple enough that it can be done by most users of Buildbarn. However we can also provide examples in the bb-deployment repo to help users get started, and that should solve the usability issue?

from bb-storage.

mickael-carl avatar mickael-carl commented on June 11, 2024

@ailiev this is now supported out of the box since a56d3a1: you can feed bb-storage (and all other components of Buildbarn) Jsonnet files and it will render them for you, allowing you to merge multiple configuration files without depending on any extra tooling.
bb-deployments will be updated to reflect that change shortly.

from bb-storage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.