mirror of
https://github.com/cmehay/pyentrypoint
synced 2024-10-30 15:21:11 +00:00
f1882dab3c
```yaml set_environment: - ENV_1: echo 'The environment variable ENV_1 will be added with this phrase' - ENV_2: head /dev/urandom | base64 - ENV_3: echo ${ENV_1} and ${ENV_2} are now available here - ENV_4: exit 1 || true # Set like this if you need to ignore error ```
69 lines
874 B
YAML
69 lines
874 B
YAML
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
|
|
|
|
set_environment:
|
|
- bash:
|
|
- ENV_1: echo set ENV_1
|
|
- zsh:
|
|
- ENV_2: echo set ENV_2
|
|
|
|
debug:
|
|
- zsh: false
|
|
- '*sh': true
|
|
|
|
clean_env:
|
|
- bash: true
|
|
- '*sh': false
|
|
|
|
remove_dockerenv:
|
|
- bash: true
|
|
- zsh: true
|