Comments (5)
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.
@vpavlin I split the talk about runtime configuration to #5.
from cct.
@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.
@l-d-j Could you please add an example to your wiki post?
from cct.
env was completely reworked
from cct.
Related Issues (20)
- revisit module.yaml syntax
- Remove bash module
- If change yaml file request module which doesn't exists it fail quietly HOT 1
- Remove old and outdated samples HOT 1
- Fix python module names to comply with script ones
- CCT_MODULE_PATH variable is wrongly set in script modules
- remove run from excluded module methods.
- CCT configuration in YAML should be validated HOT 1
- Cache modules locally for faster building HOT 1
- Make it easy to locally develop CCT modules HOT 1
- modules should be cloned with -b and --depth 1 options HOT 1
- misleading errors at build-time due to module scanner
- Pykwalify and logging levels HOT 1
- Remove dummy module causing No such file or directory DEBUG messages
- Show bash command output if any, when debug enabled HOT 2
- Make it possible to add environment variables and labels as part of module.yaml HOT 7
- Release module as part of CCT release HOT 3
- CCT report modules as NotRun HOT 1
- Enable script modules to use any language
- update artifacts fetching to be synced with dogen approach
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cct.