2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-10-30 15:21:11 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Christophe Mehay
6a457f2398 Add run_post_commands_in_parallele to run each post commands in separate process and stream output 2020-06-07 13:11:41 +02:00
Christophe Mehay
f1882dab3c Add set_environment in settings
```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
```
2020-05-30 18:49:13 +02:00
Christophe Mehay
5b0e0c8657 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.
2020-05-17 23:24:50 +02:00
Christophe Mehay
1770ac87f6 Update to v0.6.0
- Add new `commands` setting to handle multiple commands
- Deprecate `command` and `subcommands`
- Drop support for python 2
- Handle dependancy and build with Poetry
2020-05-10 23:32:31 +02:00
Christophe Mehay
c0dbfce4c2 Add post_run_commands 2016-12-30 19:58:11 +01:00
Christophe Mehay
dd17aadfae Expends user and group in environment 2016-12-04 21:11:57 +01:00
Christophe Mehay
88e5a66507 Add globbing match to reloader config 2016-11-27 02:14:10 +01:00
Christophe Mehay
c935e22252 Fix setgid, add env to disable reloader 2016-11-19 17:20:37 +01:00
Christophe Mehay
18026f1aa3 Add reloader 2016-10-02 00:23:10 +02:00
Christophe Mehay
a663b98efb Add globing support for secret env 2016-09-23 02:41:32 +02:00
Christophe Mehay
251477719e Add warning if entrypoint-config contains invalid parameters 2016-05-30 23:39:28 +02:00
Christophe Mehay
4a56f62f71 Add ENTRYPOINT_DEBUG env config ad fix tests 2016-05-08 18:25:36 +02:00
Christophe Mehay
0bfa834b71 Moar debug and main tests 2016-05-08 17:11:01 +02:00
Christophe Mehay
4711cd8546 Add new format for confg_files setup 2016-04-25 23:23:21 +02:00
Christophe Mehay
69c18e6954 Enable renaming templates 2016-03-27 19:29:53 +02:00
Christophe Mehay
7933137a27 Run unhandled cmd directly 2016-03-06 16:43:51 +01:00
Christophe Mehay
5538aa3da3 Fix guid 2016-03-05 02:21:03 +01:00
Christophe Mehay
026c0b6369 Better tests 2016-03-05 01:37:28 +01:00