3608 Commits

Author SHA1 Message Date
Unitech
6dbee3d1b9 (API) right error message 2017-06-23 17:56:03 +02:00
vmarchaud
86619b6b0e (changelog) update 2.5.1 2017-06-23 16:47:22 +02:00
vmarchaud
ac7691e73a (km) add header to track register source 2017-06-23 15:51:12 +02:00
vmarchaud
ff819f7824 (tests) increase timeout to have a stable test 2017-06-23 15:02:46 +02:00
vmarchaud
15f3277c4f (god.prepare) propagate error when trying to start multiples instances of an app #2964 2017-06-23 14:42:33 +02:00
vmarchaud
637b227017 (tests) add test for #2953 2017-06-23 11:33:21 +02:00
vmarchaud
469c9bf428 (tests) increase timeout for old node versions 2017-06-21 14:01:12 +02:00
vmarchaud
dab8b072fa (interactor) implement a 30 ttl for cached file in ram (#2763) 2017-06-21 13:33:47 +02:00
vmarchaud
840865ec1d (interactor) find context by finding error callsite with regex 2017-06-20 21:15:08 +02:00
vmarchaud
6d5f5bff1e (interactor) attach logs based on application name 2017-06-20 21:14:43 +02:00
vmarchaud
006a28a4fd (god) handle invalid instances number #2953 2017-06-20 10:54:15 +02:00
Alexandre Strzelewicz
4c21e3e49f Merge pull request #2933 from gabrielcsapo/development
updates async version
2017-06-09 12:02:53 +02:00
vmarchaud
7d2169d363 (changelog) update 2017-06-08 14:48:36 +02:00
Gabriel J. Csapo
4b139a381c updates async version 2017-06-07 18:55:29 -07:00
Unitech
44506e5d07 update chokidar, pmx, shelljs, sprintf, yamljs 2017-06-07 16:32:42 +02:00
Unitech
a105f6fed0 pm2@2.5.0-beta1 2017-06-07 16:21:59 +02:00
vmarchaud
129a81c10f (tests) add test for increment_var and instance_var options 2017-06-06 17:25:35 +02:00
vmarchaud
d43e44f8b2 (instance_var) allow to overide the key NODE_APP_INSTANCE #2045 2017-06-06 15:57:32 +02:00
vmarchaud
35945e82d0 (increment) allow to increment a env variable with a options #2743 2017-06-06 15:49:43 +02:00
vmarchaud
0b4a134dda (changelog) update 2017-06-06 14:32:19 +02:00
Dinesh Balaji
f1bf777692 Update pm2 logs to accept regex for names (#2924) 2017-06-06 14:15:39 +02:00
vmarchaud
620b2910e3 (changelog) update 2017-06-06 10:14:56 +02:00
Alexandre Strzelewicz
7c91321fdc (test) fix npm 5 test (drop unused npm variables) 2017-06-04 14:01:11 +02:00
vmarchaud
7eb80f65e2 (npm) remove package-lock.json 2017-06-01 15:41:45 +02:00
vmarchaud
42cd294f80 (tests) increase timeout for instable test 2017-06-01 15:40:49 +02:00
vmarchaud
970720d173 (tests) run tests with node 8 2017-05-31 10:03:23 +02:00
vmarchaud
1a34cf1050 (changelog) update 2017-05-26 01:11:57 +02:00
vmarchaud
f5c192c660 (tests) fix test broken with random hostname + re-add test for wait-ready in cluster mode #2890 2017-05-26 00:08:20 +02:00
Libin Lu
0473099e32 add wait ready for cluster mode (#2904)
* add wait ready for cluster mode
2017-05-25 23:53:22 +02:00
vmarchaud
ebddff2db0 (interactor) add randomized bytes to default hostname when linking #2906 2017-05-25 23:47:45 +02:00
vmarchaud
4d07d66c10 (changelog) update 2017-05-23 23:49:53 +02:00
Michiel De Mey
9433f1fc16 Stripping environment variables from the HttpInterface (#2895)
* Fixes 452

* Renamed to `proc`

* Default to false to keep backwards compatibility
2017-05-23 23:48:21 +02:00
vmarchaud
22df02093e (tests) fix failing tests 2017-05-21 11:58:38 +02:00
vmarchaud
408a75fcc0 merge conflict 2017-05-21 01:56:43 +02:00
vmarchaud
a64cd7a185 (changelog) update 2.4.7 changelog 2017-05-21 01:55:51 +02:00
masted
6648847230 "Not any default deployment file exists" error explanation (#2754) 2017-05-21 01:53:23 +02:00
Raphael Luba
1b0a89dc83 Fix: Callbacks for process.stdout / .stderr (#2810)
* Fix callbacks for process.stdout /.stderr

The overrides for `process.stdout.write` and `process.stderr.write` did not invoke the provided callbacks when they’re done.

* Fix: write callback is an optional parameter

* Append encoding parameter to all  calls
2017-05-21 01:51:43 +02:00
Jaime Agudo
aeb6137d28 (readme) Update restart command usage (#2805)
After 2.2 to 2.4 upgrade `restart` doesn't remember the named env it was deployed to
2017-05-21 01:42:52 +02:00
vmarchaud
64b0793d19 (tests) fix newly added tests + remove aggregation bug 2017-05-21 01:39:30 +02:00
vmarchaud
f31f8f3cc7 (readme) typo 2017-05-21 01:30:53 +02:00
PoppinL
678264519a (bugfix) #2868: fix --raw not display previous logs (#2876) 2017-05-21 01:29:19 +02:00
pva
0bcee6f8d1 Improve gentoo init script (#2849)
Use default start() function that is configured with command* variables.
It'll use start-stop-daemon to start daemon and check that pidfile was
created.

Allow user to override user that will be used to run pm2 daemon. As a
consequence install init script with pm2 name instead of pm2-root.

Provide some information on how to start services aftewards.

Make reload function working.
2017-05-21 01:28:31 +02:00
vmarchaud
53c88bdc50 (interpreter) dont reset interpreter to node when isBinary return false #2847 2017-05-21 00:58:16 +02:00
vmarchaud
da7f7698b9 (docker) better auto exit trigger (#2861) 2017-05-21 00:49:09 +02:00
PoppinL
64fe775ce3 (update) #2872: no load balance warn for 1 instance config (#2875) 2017-05-21 00:41:27 +02:00
vmarchaud
2d0e9370c6 (fix) verify that prepare returned data to avoid undefined error #2870 2017-05-21 00:40:19 +02:00
vmarchaud
76803d7c2f (daemon) allow to override daemon process name via env 2017-05-21 00:30:35 +02:00
vmarchaud
1343478138 (daemon) allow to override daemon configured paths via env #438 2017-05-21 00:28:57 +02:00
Unitech
d72509e637 #2867 2017-05-10 15:17:47 +02:00
Unitech
af4091e9b1 pm2-daemon 2017-05-10 12:38:09 +02:00