Hi,
I have a Capybara smoke test that executes against my production
server that I would like to run as part of my deploy process. I was
doing this through fileutils and sh %{ cucumber smoketest.feature -p
test_deploy } in a rake task, but this doesn't seem to work after I
moved to capistrano.
Justin,
There's nothing special to do, but consider using something proper such as
popen4, or you can try run_locally, which is a helper from Cap.
- Lee
--
* You received this message because you are subscribed to the Google Groups
Capistrano group.
* To post to this group, send email to
Is there any way/callback to run commands after scm export/clone on
localhost before packaging tar.gz
PS
I am trying to make client side assets precompile for rails 3.1
--
* You received this message because you are subscribed to the Google Groups
Capistrano group.
* To post to this group,
No, there isn't Serg, we'd be open to adding some in-scm callbacks, if there
are some common paradigms which apply to the popular SCMs.
--
* You received this message because you are subscribed to the Google Groups
Capistrano group.
* To post to this group, send email to
Hum... It seems nice to have the option to tweek your code before
uploading.
As a workaround: When I've faced similar needs, I've done it like this:
1. Create a rake task in my codebase that does the processing I want
(invoke yui-compress, etc...). Make sure this task is committed.
2. Create
Hey Lee, thanks. run_locally works, but doesn't output the results
nicely. May explore popen4 if I get some more time.
I took your advice and whipped up a gist demonstrating capybara
capistrano cucumber smoketest integration:
https://gist.github.com/1184354
Which is based on: