release-management

Precompile ASP.NET MVC views on Azure Web App

♀尐吖头ヾ 提交于 2019-12-03 04:44:11
问题 Is there a way to precompile the ASP.NET MVC views on an Azure Web App (specifically when published via Release Management on VSTS)? Once each view has been hit once, the page subsequently renders very quickly. But that first delay can be a doozy for users and there's no way to script touching each page. I'm not sure if I need to change something in the build/release processes on VSTS (I am using the Visual Studio Build build step and the Azure Web App release task) or if I need to run

How do you remotely update Java applications?

守給你的承諾、 提交于 2019-12-03 04:24:56
问题 We've got a Java server application that runs on a number of computers, all connected to the Internet, some behind firewalls. We need to remotely update the JAR files and startup scripts from a central site, with no noticeable interruption to the app itself. The process has to be unattended and foolproof (i.e. we can't afford to break the app due to untimely internet outages). In the past we've used a variety of external scripts and utilities to handle similar tasks, but because they have

Deployment of war file on Tomcat

心已入冬 提交于 2019-12-03 04:24:46
问题 Is there a way to deploy a given war file on Tomcat server? I want to do this without using the web interface. 回答1: Just copy the war file into the $TOMCAT_HOME/webapps/ directory. Tomcat will deploy the war file by automatically exploding it. FYI - If you want you can make updates directly to the exploded directory, which is useful for development. 回答2: There are several ways to deploy a Tomcat webapp: Dropping into $CATALINA_HOME/webapps, as was already mentioned. Using your build scripts

Getting software version numbers right. v1.0.0.1 [closed]

a 夏天 提交于 2019-12-03 03:47:06
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . I distribute software online, and always wonder if there is a proper way to better define version numbers. Let's assume A.B.C.D in the answers. When do you increase each of the components? Do you use any other version number tricks such as D mod 2 == 1 means it is an in house

Maven artifact version for patches

自作多情 提交于 2019-12-03 03:37:06
I'm currently working on Maven tools for Project Dash . One of the open issues is how to handle mistakes. Maven central says: Nothing published ever changes. This is because Maven never tries to figure out whether a release has changed (unlike for SNAPSHOTs). But I might have to create a new "release" of, say, part of Eclipse 3.6.2. Which version number should I use? 3.6.2.1 , 3.6.2-1 , 3.6.2_1 , 3.6.2pl1 ? Why? The convention for version numbers is major.minor.build . major is incremented when the public interface changes incompatibly. For example, a method is removed, or its signature

Best practices for new Rails deployments on Linux?

我与影子孤独终老i 提交于 2019-12-03 02:01:58
问题 I've used straight Mongrel, I've used Mongrel clusters behind Apache, I've looked at Thin, and I'm becoming very intrigued by Passenger. I've looked at Nginx, too. I've looked at MRI, Ruby Enterprise Edition, Rubinius, and JRuby. There are a lot of options, each claiming to be the new holy grail. What is the best option out there for a brand new, fully up-to-date deployment? The only assumptions are this: The app is Rails 2.2 based. (I know 2.2 isn't fully released yet, but neither is this

How often should you release software updates? [closed]

流过昼夜 提交于 2019-12-03 01:56:01
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Moments ago Jeff Atwood said the following on twitter : Look, I love rapid new software releases, but the frequency of WordPress releases is just ridiculous. Which makes me think, how often should you release software updates? Daily? Weekly? Monthly? Yearly?

Canary release strategy vs. Blue/Green

怎甘沉沦 提交于 2019-12-03 01:30:41
问题 My understanding of a canary release is that it's a partial release to a subset of production nodes with sticky sessions turned on. That way you can control and minimize the number of users/customers that get impacted if you end up releasing a bad bug. My understanding of a blue/green release is that you have 2 mirrored production environments ("blue" and "green"), and you push changes out to all the nodes of either blue or green at once, and then use networking magic to control which

Best practices for deploying tools & scripts to production?

天涯浪子 提交于 2019-12-03 01:25:33
问题 I've got a number of batch processes that run behind the scenes for a Linux/PHP website. They are starting to grow in number and complexity, so I want to bring a small amount of process to bear on them. My source tree has a bunch of cpp files and scripts, organized with development but not deployment in mind. After compiling all the executables, I need to put various scripts and binaries on a cluster of machines. Different machines need different executables, scripts, and config files for

Maven release via Hudson

ⅰ亾dé卋堺 提交于 2019-12-02 19:34:04
I'm setting up Hudson to use the batch-task plugin to do maven releases to our internal repository. I'm doing it via: mvn --batch-mode release:prepare mvn --batch-mode release:perform I'm interested in other methods people have used and the pros and cons of those methods. Also, any gotchas people have come across. I have tended to do the releases always by hand for a few reasons. First if you have to roll back it's easier when you can go back to the original release location and do it. Secondly because you need to resolve all snapshot dependencies as part of the process. Our development