As I said I do this all the time. If the command can be sent via ssh
then capistrano can do it.
Besides executing tests, I run and gather artifacts that are
downloaded then displayed by cruisecontrol each time one of our
testing stages build.
As an example if a developer builds one of our feature environments
when the build completes succesfully another cc project is triggered
that runs the tests and collects artifacts. If the initial build fails
then it won't bother to run the tests. When we were experimenting
with browser based selenium tests which took a really long time we
triggered them after the test and artifact run was successful.
All of this was implemented with cruisecontrol.rb and capistrano. And
there's nothing magical about cc.rb that any other continuous
integration package couldn't do. We just liked it the most of the ones
we tried.
The real magic is in capistrano.
On Feb 25, 2010, at 9:09 AM, Greg Akins <[email protected]> wrote:
On Thu, Feb 25, 2010 at 12:03 PM, Lee Hambley
<[email protected]> wrote:
Greg,
Depending on the scope, and interest of your project, it might be
incredibly
foolish to link deploys to commits, do you really want to deploy
(automatically) that crazy refactor you just finished at 4:50 on a
Friday?
.... At least in larger organisations there are reasons not to do
such
things, I think the reasons are valid in a lot of smaller
organisations too.
I hear you.. that's one of the reasons I'd like to chain the various
deploy/test sequences.. I'd like to commit.. deploy to test.. run the
test suite.. and if that all passes deploy to prod.
Of course, the risk is that an untested "feature" slips through to
production.
My question was: do you think that Capistrano isn't designed to
handle this scenario, or do you just think the practice is a bad idea?
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
--
* You received this message because you are subscribed to the Google
Groups "Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en