Giter Site home page Giter Site logo

Environment variables about cct HOT 5 CLOSED

vpavlin avatar vpavlin commented on July 24, 2024
Environment variables

from cct.

Comments (5)

rwngwn avatar rwngwn commented on July 24, 2024

For the first part yes. There will be possibility of using real environment in yaml file. But I'm now thinking of correct way to do it. Because I don't want host environment to silently override yaml ones. Because it will be hard for modules to unset. So I'm thinking of doing stuff like that you can reference variable in a form like:

...
   environment:
     foo: {env.FOO}
   dumy:
      dump: {env.ENVIRON2_NAME} {env.ENVIRON3_NAME}

But I dont get second part of question clearly. I will look closer at nulecule and will answer it later.

from cct.

goldmann avatar goldmann commented on July 24, 2024

@vpavlin I split the talk about runtime configuration to #5.

from cct.

rwngwn avatar rwngwn commented on July 24, 2024

@vpavlin I've just implement support for environment variables and it works like that https://github.com/containers-tools/cct/wiki/Environment-variables
basicaly you can use any variable from YAML or environment just by specifying its name prefixed with $.
I hope its sufficient.

from cct.

vpavlin avatar vpavlin commented on July 24, 2024

@l-d-j Could you please add an example to your wiki post?

from cct.

rwngwn avatar rwngwn commented on July 24, 2024

env was completely reworked

from cct.

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.