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

30 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
82180f18f9 Add envtobool function in jinja templates 2020-05-24 18:19:11 +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
dd17aadfae Expends user and group in environment 2016-12-04 21:11:57 +01:00
Christophe Mehay
218a80c690 Add json and yaml modules in Jinja templates 2016-11-30 08:53:54 +01:00
Christophe Mehay
ea72fac83c Add env variable to diable service 2016-11-23 12:39:30 +01:00
Christophe Mehay
c935e22252 Fix setgid, add env to disable reloader 2016-11-19 17:20:37 +01:00
Christophe Mehay
a663b98efb Add globing support for secret env 2016-09-23 02:41:32 +02:00
Christophe Mehay
48d9965d5c Remove .dockerenv and .dockerinit if they exist 2016-07-02 15:47:23 +02:00
Christophe Mehay
248ce38c88 Add ENTRYPOINT_PRECONF_COMMAND and ENTRYPOINT_POSTCONF_COMMAND in env configuration 2016-05-12 00:31:26 +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
01cd8137cc Add PYENTRYPOINT_RAW option 2016-05-07 13:58:06 +02:00
Christophe Mehay
d00705bb36 Add ENTRYPOINT_FORCE environment variable 2016-04-30 00:58:14 +02:00
Christophe Mehay
4711cd8546 Add new format for confg_files setup 2016-04-25 23:23:21 +02:00
Christophe Mehay
addd714f8b Work without entrypoint-config 2016-03-27 20:42:50 +02:00
Christophe Mehay
69c18e6954 Enable renaming templates 2016-03-27 19:29:53 +02:00
Christophe Mehay
8ca90451f9 Add tests for environ in template 2016-03-21 19:32:00 +01:00
Christophe Mehay
99578fd6ec Add ID in container 2016-03-08 00:14:38 +01:00
Christophe Mehay
7518e360be Sort link names by len 2016-03-07 23:04:09 +01:00
Christophe Mehay
091e623c70 Better sorting links names 2016-03-07 03:07:03 +01: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
Christophe Mehay
a7dfafdc00 Fix subcommand pattern 2016-02-29 00:34:24 +01:00
Christophe Mehay
7735943986 Release v0.1.9 beta 2016-02-23 01:44:04 +01:00
Christophe Mehay
36dc9ba11c Done - before package 2016-01-25 12:11:50 +01:00
Christophe Mehay
4a01020efd pre-test 2015-12-15 08:56:17 +01:00