Add support for handling commands matching setup
It's now possible to map setups to specific commands. It's easier to handle many commands in one container.pull/23/head
parent
f5aec4c0d5
commit
5b0e0c8657
@ -1,2 +1,9 @@
|
|||||||
|
v0.7.0
|
||||||
|
- Add mapping of config commands and conf files to root commands
|
||||||
|
|
||||||
|
v0.6.0:
|
||||||
|
- Drop python 2 support
|
||||||
|
- Deprecation of `command` and `subcommands` settings for `commands`
|
||||||
|
|
||||||
v0.5.0:
|
v0.5.0:
|
||||||
- add post_run_commands in entrypoint-config.yml
|
- add post_run_commands in entrypoint-config.yml
|
||||||
|
@ -0,0 +1,62 @@
|
|||||||
|
commands:
|
||||||
|
- bash
|
||||||
|
|
||||||
|
user:
|
||||||
|
- bash: 1000
|
||||||
|
- zsh: 1001
|
||||||
|
|
||||||
|
group:
|
||||||
|
bash: 1002
|
||||||
|
zsh: 1003
|
||||||
|
|
||||||
|
config_files:
|
||||||
|
- bash:
|
||||||
|
- file1.tpl
|
||||||
|
- file2: file3
|
||||||
|
- file4
|
||||||
|
- zsh:
|
||||||
|
- file5.tpl
|
||||||
|
- file6: file7
|
||||||
|
- file8
|
||||||
|
- file9
|
||||||
|
- file10: file11
|
||||||
|
|
||||||
|
secret_env:
|
||||||
|
- secret1
|
||||||
|
- bash:
|
||||||
|
- secret2
|
||||||
|
- zsh:
|
||||||
|
- secret3
|
||||||
|
|
||||||
|
pre_conf_commands:
|
||||||
|
- bash:
|
||||||
|
- cmd1
|
||||||
|
- zsh:
|
||||||
|
- cmd2
|
||||||
|
- cmd3
|
||||||
|
|
||||||
|
post_conf_commands:
|
||||||
|
- cmd4
|
||||||
|
- zsh:
|
||||||
|
- cmd5
|
||||||
|
- bash:
|
||||||
|
- cmd6
|
||||||
|
|
||||||
|
post_run_commands:
|
||||||
|
- bash:
|
||||||
|
- cmd7
|
||||||
|
- cmd8
|
||||||
|
- zsh:
|
||||||
|
- cmd9
|
||||||
|
|
||||||
|
debug:
|
||||||
|
- zsh: false
|
||||||
|
- '*sh': true
|
||||||
|
|
||||||
|
clean_env:
|
||||||
|
- bash: true
|
||||||
|
- '*sh': false
|
||||||
|
|
||||||
|
remove_dockerenv:
|
||||||
|
- bash: true
|
||||||
|
- zsh: true
|
Loading…
Reference in New Issue