deployment

How to do a rolling restart of a cluster of mongrels

百般思念 提交于 2019-12-22 04:43:32
问题 Anybody know a nice way to restart a mongrel cluster via capistrano in a "rolling" style, eg, one mongrel at a time. Would be great to have a bit of wait time in there as well for each, to let the mongrel load the rails app up as well. I've done some searching, and haven't found too much, so looking for help before I dive into the mongrel_cluster gem myself. Thanks! 回答1: I agree with the seesaw approach more than the rolling approach you are seeking. The problem is that you end up in

Automatically deploying assets to Rackspace CDN via git and updating references to those assets?

跟風遠走 提交于 2019-12-22 04:39:04
问题 I'm looking for some help in designing a strategy to automate deployment of a web application's assets (images, css, js) to Rackspace's Cloud Files (CDN) service. I currently use git push to deploy the web app to a remote server. So here's one way I'm thinking this could happen. Are there any better/cleaner methods? Dev makes changes to an asset file (css, js, or an image) Dev commits his changes Dev pushes his changes to the server Assets are automatically renamed to eliminate cache issues

Maven site deploy using ftp

北城余情 提交于 2019-12-22 04:03:10
问题 I am using Maven2 and would like to deploy my generated site to a web server using ftp. i tried to use: <distributionManagement> <site> <id>website</id> <url>ftp://host/pub/</url> </site> </distributionManagement> the problem is that get an error that ftp is not supported. could it be that this basic feature doesn't work. Thanks, Ronen. 回答1: As I misinterpreted your intention the first time. Here the right solution: Deploy site via ftp-server <project> [...] <distributionManagement>

Jenkins: deploying war files from artifactory

柔情痞子 提交于 2019-12-22 03:43:44
问题 We are using Jenkins to build ( maven ) & deploy artifacts (JARs & * WAR *s) to an in-house artifactory server (both snapshots and releases). For deployment, currently, we got Jenkins jobs that package the war file (from a release scm tag) and deploy to different environments/servers. We want to skip the package phase as it seems unnecessary to package it again & again for a released version because it's not possible to get a different copy of war file even after trying 1000 times. We are

Capistrano Deploy Wipes Database?

試著忘記壹切 提交于 2019-12-22 03:33:15
问题 I've managed to deploy my app to production using Capistrano, but I don't understand how to deal with my database. I'm using subversion and passenger. When I run cap deploy, the new deployment starts everything fresh. It wipes out the data that was added to the database. Obviously, there must be a solution, but I'm very surprised not to find anything online about how to deal with this. I've read the Capistrano documentation and many tutorials. The best I can find is the Advanced Rails recipes

Can't get Jenkins to start using Tomcat

两盒软妹~` 提交于 2019-12-22 03:16:25
问题 I'm having a problem trying to deploy Jenkins war to Tomcat. I'm using CentOS with Java 1.6.0_28, Tomcat 6.0.24 and last version of jenkins as of January 21, 2014. I think the problem is more related to Jenkins because of the log but not sure. When I google the error only find the classes that fire the exception but no solution. Here is the log. Any help is appreciated. Jan 21, 2014 9:30:26 PM hudson.util.BootFailure publish SEVERE: Failed to initialize Jenkins hudson.util.NoHomeDir at hudson

Instance Failure in asp.net

纵饮孤独 提交于 2019-12-22 02:04:12
问题 I have a web application that is working perfectly in my system. However, when I copied it to another system, I couldn't login to the application. There is an error: Server Error in '/' Application. -------------------------------------------------------------------------------- Instance failure. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Enterprise deployment of Chrome extension on locked down Windows computers with no internet access to chrome web store

拥有回忆 提交于 2019-12-22 00:34:23
问题 For enterprise-installed Chrome extensions on Windows, is there any alternative deployment methodology which does NOT fetch the extension from the Chrome web store? Situation is that some enterprises use a locked-down network with no external internet access, and will not allow access to public Google URL from which to fetch the extension. Does anyone have any experience with Chrome browser plus extension deployments on Microsoft App-V? 回答1: Absolutely, it's possible. Though it requires a

Rails Capistrano 3 - how to share production.log file into the shared folder of Capistrano?

╄→尐↘猪︶ㄣ 提交于 2019-12-21 23:26:06
问题 I'm using Capistrano 3 for deployment with my Rails app. The problem is that every time I deploy my app to the server the ./log/production.log file is reset. I've heard it's possible to have the production.log file into the shared folder and being appended at each deployment. I thought this was made by default by Capistrano but apparently not for me :( Any thoughts? Thanks! 回答1: In your config/deploy.rb you need a line similar to this: set :linked_dirs, %w{log public/system} This will tell

How to deploy private python pip dependency with Amazon AWS Elastic Beanstalk?

喜夏-厌秋 提交于 2019-12-21 23:15:54
问题 When I tried to set one of the services into AWS Elastic Beanstalk , the problem appeared. One of our python pip dependencies set up on private repository was causing errors during deployment process, since it was not accessible for pip process. Bellow I present description how we solved this issue. It is worth to mention that there are other solutions that bind SSH keys used during deployment, to application project git repository. I find them a bit dirty, so I would like to share this one