brainopia
|
2ed1fe8d44
|
Add specs for initialization of Foreman::Process
|
2012-01-22 08:54:42 +04:00 |
|
Matt Griffin
|
92d1a4d367
|
Fix export specs
|
2012-01-16 17:39:21 -05:00 |
|
Matt Griffin
|
f4123f4ae1
|
Merge branch 'master' of https://github.com/michaeldwan/foreman into feature/concurrency
Conflicts:
spec/foreman/engine_spec.rb
spec/foreman/export/bluepill_spec.rb
spec/resources/export/bluepill/app.pill
|
2012-01-16 17:18:14 -05:00 |
|
David Dollar
|
c1f279aa6f
|
run specs in random order
|
2012-01-16 09:33:34 -05:00 |
|
Matthijs Langenberg
|
91140638e1
|
Set executable bit on runit run scripts.
|
2012-01-16 09:33:34 -05:00 |
|
Fletcher Nichol
|
ab29963ee4
|
Expand template path under user's home directory.
* File.join won't expand `~` into `ENV['HOME']`
(http://ruby-doc.org/core-1.9.3/File.html#method-c-expand_path)
* The FakeFS File.exists? implementation calls FileSystem#find
(https://github.com/defunkt/fakefs/blob/master/lib/fakefs/file_system.rb#L22-33)
containing a call to FileSystem#normalize_path which expands the
path variable passed in
(https://github.com/defunkt/fakefs/blob/master/lib/fakefs/file_system.rb#L91-98)
* The file system mocking library sets up a false expectation that `~`
will be expanded in the #export_template method and consequently the
production code can't use the template directory
* To guard against future regressions such as fixes/updates to FakeFS or
using an alternate file system mocking library, the specs were updated
to explicitly set `ENV['HOME']`
|
2012-01-15 19:09:52 -07:00 |
|
Matt Griffin
|
9432989fbe
|
Steal the run method back from Thor so that it can be used in place for exec for running commands in the foreman environment.
Fix some error reporting.
|
2012-01-09 17:11:32 -05:00 |
|
Matt Griffin
|
a34bc59721
|
Add "exec" action to allow execution of arbitrary commands with the app's environment.
|
2012-01-04 15:22:10 -05:00 |
|
David Dollar
|
888520ee99
|
fix pipe error
|
2011-12-08 17:59:27 -08:00 |
|
David Dollar
|
5436b68cf1
|
wip
|
2011-12-08 17:53:13 -08:00 |
|
Chris Continanza
|
58e4cdafd7
|
rename load! to load_env!
|
2011-12-05 12:27:32 -08:00 |
|
Chris Continanza
|
44a5dff724
|
use ./.env as default
|
2011-12-05 11:37:51 -08:00 |
|
Chris Continanza
|
e33921f083
|
load contents from env file
|
2011-12-03 15:43:51 -08:00 |
|
Matthijs Langenberg
|
676d3ff8d1
|
Add runit export format.
Fix #28
|
2011-11-08 23:50:33 +01:00 |
|
David Dollar
|
f6ef5a5b4f
|
display error when process doesnt exist and is run by name
|
2011-11-08 11:54:55 -05:00 |
|
Michael Dwan
|
33aa1efc90
|
default process concurrency is 0 when concurrency options specified, otherwise default concurrency is 1
|
2011-11-07 13:10:18 -07:00 |
|
Chris Lowder
|
02c8d2cb10
|
Memoizing at the Class level wreaks havoc on the specs.
|
2011-10-19 18:02:49 +01:00 |
|
David Dollar
|
86e4251840
|
add ability to test full comamnd line
|
2011-10-04 11:30:28 -04:00 |
|
David Dollar
|
d26ca669a1
|
define procfile regex, refactoring
|
2011-10-04 10:38:13 -04:00 |
|
David Dollar
|
5719f4fc72
|
allow multiple environment files to be specified
|
2011-09-16 18:24:38 -04:00 |
|
Greg Reinacker
|
75d4fc562d
|
accept any whitespace around : in Procfile
|
2011-09-11 17:01:31 -06:00 |
|
David Dollar
|
b25dfee62d
|
Merge pull request #59 from hunter/bluepill
Bluepill export
|
2011-09-09 13:56:02 -07:00 |
|
Thom May
|
8fd9b753f4
|
Actually test that the environment is set correctly
|
2011-09-06 15:59:26 +01:00 |
|
Thom May
|
7fc6d02e7b
|
Read environment at initialisation
This allows us to expose the environment attribute from the engine
object and utilise it to build exported startup files.
|
2011-09-01 17:26:50 +01:00 |
|
Thom May
|
ddcaac8749
|
Move options into class initialisation
|
2011-09-01 17:06:37 +01:00 |
|
Hunter Nield
|
9db97abb10
|
Updates to get Bluepill export working & tweaks to output
|
2011-08-25 21:17:00 +10:00 |
|
David Dollar
|
ffd77312bb
|
Merge pull request #53 from matth/master
Blank line in Procfile breaks Foreman
|
2011-08-22 14:27:03 -07:00 |
|
Hunter Nield
|
21a041527c
|
Added basic support for Bluepill
|
2011-08-22 21:24:34 +10:00 |
|
Matt Haynes
|
2042de7732
|
Fix bug where blank lines in Procfile break Foreman.
|
2011-07-28 11:40:31 +01:00 |
|
Khaja Minhajuddin
|
64338c5a09
|
use a dedicated directory (~/.foreman/templates) to store the templates
|
2011-06-30 22:23:38 +05:30 |
|
Khaja Minhajuddin
|
8cef71766c
|
tweaked the upstart export code so that it looks for templates in ~/.foreman if no template_root is specified.
|
2011-06-30 21:50:12 +05:30 |
|
David Dollar
|
c8d0dba1cb
|
tweaks to template roots, add testing
|
2011-06-27 13:17:26 -04:00 |
|
Nathan L Smith
|
470c8043af
|
fix rspec warnings
|
2011-06-20 21:44:35 -05:00 |
|
David Dollar
|
6c465b4ef1
|
remove debug print
|
2011-06-03 01:31:08 -04:00 |
|
David Dollar
|
577a5c7c5c
|
make sure tests run on machines other than mine
|
2011-06-02 12:09:30 -04:00 |
|
David Dollar
|
9193a675a3
|
add support for process environments
|
2011-05-13 12:02:13 -04:00 |
|
Dan Peterson
|
124e27ed22
|
Change requires so export/upstart_spec can be run on its own.
|
2011-05-13 11:44:53 -03:00 |
|
David Dollar
|
13fd1188ad
|
add export specs
|
2011-05-11 21:41:56 -04:00 |
|
David Dollar
|
6b7d5e5161
|
deprecate colon-less syntax, add check command
|
2011-01-27 16:14:43 -08:00 |
|
David Dollar
|
a504a59f0b
|
add a colon to the mock Procfile
|
2010-12-13 18:08:40 -05:00 |
|
David Dollar
|
9e42dfb253
|
change back to Procfile
|
2010-11-03 14:05:06 -07:00 |
|
David Dollar
|
eca48170a5
|
fixing specs
|
2010-10-15 17:26:18 -07:00 |
|
David Dollar
|
86e3cd12dd
|
using Psfile
|
2010-10-15 17:25:12 -07:00 |
|
David Dollar
|
8446528f5a
|
change to Pstypes
|
2010-10-15 15:50:40 -07:00 |
|
David Dollar
|
31a72b454b
|
clean up development concurrency, make sure ports exist in dev mode
|
2010-07-20 16:20:03 -07:00 |
|
David Dollar
|
51513dcb6d
|
pedantry
|
2010-07-19 17:08:48 -07:00 |
|
David Dollar
|
0b6fdad3a2
|
allow concurrency to be used in development mode
|
2010-07-19 17:08:42 -07:00 |
|
David Dollar
|
096f532624
|
fix failing spec
|
2010-07-19 15:50:19 -07:00 |
|
David Dollar
|
426241d461
|
remove unneeded code
|
2010-06-24 16:51:51 -04:00 |
|
David Dollar
|
6811a8d96a
|
massive reworking of command line interface
|
2010-06-23 17:51:12 -04:00 |
|