-
Notifications
You must be signed in to change notification settings - Fork 6
Configration steps report #6
Comments
s/Docker image/Docker container/ ... correct? |
actually both. in container for run-time configuration and in image for build-time. Because if you have cct inside you can run in Dockerfile too. |
Ah, correct..good point. How does this map to the module definition? Are you going to distinguish between build vs. runtime module types? |
No. modules are completely same. Because you typically need similar stuff. Only real difference is that in run-time you will just use new --command parameter to run your desired program in container in a way like: cct --comand "/opt/eap/bin/standalone.sh -b 0.0.0.0" -- eap.yaml so this will just process all changes in eap.yaml file and then it will just start eap. |
Not that it matters much, but from UX point of view, I 'd probably more expect something like:
So that I don't have to care about escaping issues with the command arguments..although I am not entirely sure how hard it would be to define this in ArgParser |
yep, will look more at ArgParser.. but it maybe hard because you can do stuff like cct foo.yaml bar.yaml baz.yaml so you can process multiple yaml files. But wil try to make better syntax. This was just implement to us to be able to really start using it in our images. |
After running the module we should create some easy to read and parse report of steps taken, and their statuses. This can be stored also in a Docker image for audit purposes.
The text was updated successfully, but these errors were encountered: