David Dollar
3077857ab7
Merge pull request #191 from ged/profile_load_write_append
...
Add Procfile load/write/append API
2012-05-02 10:03:31 -07:00
Michael Granger
771489dec9
Remove spec obsoleted by 91a8704
2012-05-02 09:37:32 -07:00
Michael Granger
053ae8f0be
Add Profile load/write/append API
2012-05-02 09:30:57 -07:00
David Dollar
638005403f
clean up file/directory interaction, add some tests
2012-04-23 15:50:23 -04:00
David Dollar
ce3003b026
factor out wrap_environment
2012-04-20 17:40:53 -04:00
Raphael Randschau
b721fd894e
per default wrap every environment value in quotes
2012-04-20 21:15:43 +02:00
Raphael Randschau
b8ea6fd4b3
fix typo in spec description
2012-04-20 09:14:12 +02:00
Raphael Randschau
dbda63263b
fix supervisord export for environments containing commas
2012-04-20 09:11:25 +02:00
David Dollar
0b34f067cb
Revert "Merge pull request #176 from rtyler/feature/156-foreman-stop-command"
...
Rewriting using a better Process API
This reverts commit dbe51832b0 , reversing
changes made to 69216b4c5e .
2012-04-18 12:48:51 -04:00
R. Tyler Croy
48f764e347
Refactor #spawn_processes into #start(name)
...
When passed nil (aka ALL_PROCESSES) #start will start all processes in the
Procfile as per existing behavior
2012-04-10 20:35:59 -07:00
R. Tyler Croy
de62d0655e
Re-name the main Foreman::Engine method to #run to avoid a name collision with #start(name)
2012-04-10 20:35:59 -07:00
R. Tyler Croy
c705b5fbef
Add #stop method on Foreman::Engine for stopping certain named processes
...
This will make embedding foreman "nicer" since the embedder can then stop
a specific process (e.g. turning off a service for an integration fail-over test)
2012-04-10 20:10:51 -07:00
David Dollar
8fc3d1ef24
Merge pull request #161 from leahpar/master
...
Supervisord Support (Update & Bugfix)
2012-03-16 18:47:15 -07:00
David Dollar
2f982ff9c7
replace term-ansicolor with built-in colorization
2012-03-16 16:34:14 -04:00
Raphael Randschau
1217ef1b56
fix typo
2012-03-05 15:51:10 +01:00
Raphael Randschau
c9943d70ec
add group support for supervisord
2012-03-05 15:48:40 +01:00
David Dollar
bb3377407a
Merge pull request #160 from leahpar/master
...
supervisord support
2012-02-24 11:49:55 -08:00
Raphael Randschau
279a251c78
fix whitespaces
2012-02-24 20:29:16 +01:00
Raphael Randschau
a49ef286e8
all specs are passing
2012-02-24 20:18:38 +01:00
Raphael Randschau
0b3da59947
passing first export
2012-02-24 19:52:18 +01:00
David Dollar
12f825204b
support various quoting styles in .env
2012-02-24 11:31:21 -05:00
David Dollar
62c9d1db45
remove load_env! as it's made unnecessary by foreman run
2012-02-24 11:31:21 -05:00
Raphael Randschau
1127551369
rename supervisord base template to app
...
add supervisord stub
2012-02-23 17:24:08 +01:00
R. Tyler Croy
c23dbb79af
Provide a useful error if foreman check fails to find a Procfile
...
Fixes #152
2012-02-21 17:27:15 -08:00
David Dollar
3af0dfb4ae
bring back single process starting
2012-02-02 17:26:25 -05:00
David Dollar
976fbc0bb0
stub out proctitle/termtitle
2012-02-01 10:19:33 -05:00
David Dollar
51f5ff3842
latest jruby fixed non-excutable to raise EACCESS
2012-01-31 18:01:53 -05:00
David Dollar
0d6b784de1
disable test in jruby
2012-01-29 23:02:10 -05:00
David Dollar
2dcd2c03db
wait for process termination instead of sleeping
2012-01-29 23:02:03 -05:00
David Dollar
e053dc8434
cleanup
2012-01-29 13:58:16 -05:00
David Dollar
557a08ea77
add utf8 test to engine
2012-01-29 13:56:51 -05:00
David Dollar
8eccc819d6
remove nonfunctional utf8 test
2012-01-29 13:56:42 -05:00
David Dollar
1da034ce66
try to add failing test for utf8
2012-01-29 10:03:31 -05:00
David Dollar
5fc7552572
refactor resource_file
2012-01-29 10:03:14 -05:00
David Dollar
083efe3ae9
sleep longer after loading scripts
2012-01-29 10:03:03 -05:00
David Dollar
224fe94dc2
add more tests
2012-01-28 18:48:26 -05:00
Chris Lowder
1b701cddf3
Simplify subclassing by adding all arguments to the initializer. Also, clean up the method signatures for existing exporters.
2012-01-24 15:10:18 +00:00
Chris Lowder
84c49ae2b8
Attempt to require the custom export class.
2012-01-24 14:36:38 +00:00
Chris Lowder
bc1c5e4c74
Extract commonality into the base class, make life easy for our plugin writers.
2012-01-24 14:36:38 +00:00
David Dollar
7ee2edcc60
Merge pull request #136 from fnichol/foreman
...
---
Simple enough, but this helps when re-exporting runit services. Cheers, and thanks!
Conflicts:
spec/foreman/export/runit_spec.rb
2012-01-22 21:46:57 -05:00
David Dollar
724812d6e3
fix up specs
2012-01-22 21:17:54 -05:00
David Dollar
ce6ec4848d
we're not chdiring any more
2012-01-22 21:17:38 -05:00
David Dollar
a37a097f73
use strings rather than symbols to better emulate the real thing
2012-01-22 21:17:18 -05:00
David Dollar
f28725bdac
Merge pull request #139 from brainopia/foreman
...
---
If you remember Ive wanted to implement a prototype of process-tree monitor (and therefore restore support for complex commands), but decided to start with specing current behavior and marking desired behavior as pending specs.
This pull-request is a first pass. Its mainly Foreman::Process specs and a bit of refactoring. Specs for Foreman::Engine will be coming next (theyll cover a wide ground of possible uses). Afterwards I will replace machinery a bit to remove pending specs and ensure the rest is still passing on all available to me platforms.
If you have any notices, Ill gladly hear them.
2012-01-22 20:58:51 -05:00
David Dollar
d7000bccfa
fix specs
2012-01-22 19:14:24 -05:00
brainopia
ade0005a92
Add specs for Foreman::Process#run
2012-01-22 22:07:53 +04:00
brainopia
047f106d48
- Use explicit fakefs tag in specs
...
- Clean up trailing whitespace
2012-01-22 15:00:43 +04:00
brainopia
158c184f8c
Add specs for options of Foreman::Process#run
2012-01-22 08:55:45 +04:00
brainopia
2ed1fe8d44
Add specs for initialization of Foreman::Process
2012-01-22 08:54:42 +04:00
Fletcher Nichol
e76f3533dc
runit creates a full path to export directory.
2012-01-18 20:13:08 -07:00