2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-11-12 07:10:45 +00:00
Commit Graph

104 Commits

Author SHA1 Message Date
Christophe Mehay
24a83dd226
Merge pull request #26 from cmehay/post_commands
Add `run_post_commands_in_parallele` to run each post commands in sep…
2020-06-07 13:19:06 +02:00
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
3908415898 update version 2020-05-31 00:12:58 +02:00
Christophe Mehay
0a02bafa0a
Merge pull request #25 from cmehay/set_environment
Set environment
2020-05-30 18:59:22 +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
50540203b1 Fix travis 2020-05-24 21:27:09 +02:00
Christophe Mehay
71b30f4e31 Fix travis 2020-05-24 18:32:34 +02:00
Christophe Mehay
c53175a360
Merge pull request #24 from cmehay/envtobool
Add envtobool function in jinja templates
2020-05-24 18:24:50 +02:00
Christophe Mehay
82180f18f9 Add envtobool function in jinja templates 2020-05-24 18:19:11 +02:00
Christophe Mehay
5389f36478
Merge pull request #23 from cmehay/setup_match
Add support for handling commands matching setup
2020-05-17 23:30:43 +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
f5aec4c0d5
Merge pull request #22 from cmehay/alpine
Alpine
2020-05-11 07:30:23 +02:00
Christophe Mehay
97fedfc9d9 Fix alpine dockerfiles 2020-05-11 07:23:21 +02:00
Christophe Mehay
468a185008 Update .travis.yml 2020-05-10 23:47:08 +02:00
Christophe Mehay
66513ca248
Merge pull request #21 from cmehay/commands
Update to v0.6.0
2020-05-10 23:38:37 +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
55907d1a8c
Merge pull request #20 from cmehay/travis
Deploy to pypi with travis
2019-04-29 11:37:42 +02:00
Christophe Mehay
d9ac0e1c5b Deploy to pypi with travis 2019-04-29 11:36:44 +02:00
Christophe Mehay
84b5fc2098
Merge pull request #19 from cmehay/0.5.2
0.5.2
2019-04-29 11:29:33 +02:00
Christophe Mehay
d1dd6058e9 exit 1 on error 2019-04-29 11:25:17 +02:00
Christophe Mehay
f2112d102d Check if var in env before delete it 2019-04-29 10:40:39 +02:00
Christophe Mehay
d1dd94765d
Merge pull request #18 from scottjs/dockerenv_config
Added config option to specify whether or not to remove the dockerenv and dockerinit files
2019-03-21 18:10:37 +01:00
Scott Salisbury
f7d20cef7d Added config option to specific whether or not to remove the dockerenv and dockerinit files 2019-03-21 17:03:07 +00:00
Christophe Mehay
8d160616b0 Merge pull request #16 from cmehay/yaml
Use safe_load for yaml parsing
2017-08-28 09:50:11 +02:00
Christophe Mehay
d46fee4506 Use safe_load for yaml parsing 2017-08-28 09:46:22 +02:00
Christophe Mehay
b3bb8c270f Merge pull request #15 from cmehay/readme
Update readme
2017-01-01 12:55:03 +01:00
Christophe Mehay
b14aba8c34 Update readme 2016-12-30 20:34:38 +01:00
Christophe Mehay
de20e4a75c Merge pull request #14 from cmehay/post_commands
Add post_run_commands
2016-12-30 20:13:53 +01:00
Christophe Mehay
c0dbfce4c2 Add post_run_commands 2016-12-30 19:58:11 +01:00
Christophe Mehay
72e44abe8c Merge pull request #13 from cmehay/readme
Update readme
2016-12-08 09:55:03 +01:00
Christophe Mehay
c7ee42fdae Update readme 2016-12-08 09:54:28 +01:00
Christophe Mehay
62ddbe3aaa Merge pull request #12 from cmehay/dockerfiles
Fix install dep and add Dockefiles
2016-12-05 23:36:04 +01:00
Christophe Mehay
14f8cb649a Fix install dep and add Dockefiles 2016-12-05 23:35:45 +01:00
Christophe Mehay
4b888c3461 Merge pull request #11 from cmehay/environment
Expends user and group in environment
2016-12-04 21:13:38 +01:00
Christophe Mehay
dd17aadfae Expends user and group in environment 2016-12-04 21:11:57 +01:00
Christophe Mehay
ff9d53fd1b Merge pull request #10 from cmehay/yaml
Add json and yaml modules in Jinja templates

Update to 0.4.5
2016-11-30 08:56:35 +01:00
Christophe Mehay
218a80c690 Add json and yaml modules in Jinja templates 2016-11-30 08:53:54 +01:00
Christophe Mehay
5494d50fb1 Merge pull request #9 from cmehay/reload
Add globbing match to reloader config
2016-11-27 02:18:02 +01:00
Christophe Mehay
3f713cf652 Update reloader.py 2016-11-27 02:17:33 +01:00
Christophe Mehay
88e5a66507 Add globbing match to reloader config 2016-11-27 02:14:10 +01:00
Christophe Mehay
aca34177e5 Merge pull request #8 from cmehay/disable
Add env variable to diable service

v 0.4.3
2016-11-23 12:44:31 +01:00
Christophe Mehay
ea72fac83c Add env variable to diable service 2016-11-23 12:39:30 +01:00
Christophe Mehay
6c1274404d Merge pull request #7 from cmehay/reload
Update version
2016-11-19 17:26:17 +01:00
Christophe Mehay
7eca5b33cd Update version 2016-11-19 17:23:24 +01:00
Christophe Mehay
c7e73788fe Merge pull request #6 from cmehay/reload
Fix setgid, add env to disable reloader
2016-11-19 17:21:58 +01:00
Christophe Mehay
c935e22252 Fix setgid, add env to disable reloader 2016-11-19 17:20:37 +01:00
Christophe Mehay
10d80a705c Merge pull request #5 from cmehay/reloader
Add reloader
2016-10-03 22:44:04 +02:00
Christophe Mehay
18026f1aa3 Add reloader 2016-10-02 00:23:10 +02:00
Christophe Mehay
eb020e5014 Merge pull request #4 from cmehay/secret
Add globing support for secret env
2016-09-23 02:46:00 +02:00
Christophe Mehay
a663b98efb Add globing support for secret env 2016-09-23 02:41:32 +02:00