Questions tagged [automated-deploy]

Automated code deployment to multiple servers.

126 questions
130
votes
10 answers

Activate a virtualenv via fabric as deploy user

I want to run my fabric script locally, which will in turn, log into my server, switch user to deploy, activate the projects .virtualenv, which will change dir to the project and issue a git pull. def git_pull(): sudo('su deploy') # here i…
Thomas Schreiber
  • 1,828
  • 2
  • 14
  • 11
35
votes
4 answers

Why does Cordova/Phonegap append 8 to my Android Version Code?

I am currently working on a Cordova project and had the problem that 8 was appended mysteriously to the versionCode of my project. For example: My original Version code was 100, the new Version code is 1008 I tracked the problem through my whole…
Paul Weber
  • 6,518
  • 3
  • 43
  • 52
24
votes
3 answers

MSDeploy to install windows service?

We have a website which publishes events using NServiceBus. The site is deployed using msdeploy. We also have the NServiceBus.exe which should run as a windows service to subscribe to these events, and we'd like to deploy that as well. Is there…
Andy
  • 8,432
  • 6
  • 38
  • 76
17
votes
9 answers

Php deployment to remote server using FTP from SVN after each commit

I coudn't find the solution for Php deployment to remote server using FTP from SVN after each commit. How can I upload to server by FTP the only added or edited files and delete the deleted files from SVN I think about write post-commit script...
user312729
  • 171
  • 1
  • 3
17
votes
3 answers

Automated MSI installation

What is the best way to automatically install an MSI file or installer .exe? We want to do some automated testing from our build system on the installed copy of the product. Our installer has the usual license acceptance screen, install location,…
Luke Quinane
  • 16,447
  • 13
  • 69
  • 88
14
votes
4 answers

MSBuild - Getting the target called from command line

Does anyone know how to get the name of the TARGET (/t) called from the MSBuild command line? There are a few types of targets that can be called and I want to use that property in a notification to users. Example: msbuild Project.proj…
ferventcoder
  • 11,952
  • 3
  • 57
  • 90
12
votes
2 answers

Is it possible to add environment variables in automated builds in docker hub?

I want to automate my build process and need to pass an environment variable to run some of the commands in the Dockerfile. I was wondering if there was any way to do this in Dockerhub. I know docker cloud has something like this, but I was…
Soccergods
  • 440
  • 5
  • 17
12
votes
2 answers

How to display a hyperlink in hudson/jenkins build output console

How do I display a hyperlink (weblink) in hudson/jenkins build output console? What I'm trying to achieve is, during a hudson/jenkins build based on certain condition, I would like to display a hyperlink. When a user click on that link, it should…
12
votes
10 answers

How to programmatically change a project's product version?

I have several deployment projects. In order to deploy an application, I need to do several tasks, one of them is to change each deployment project's product version and product code. I can't find a way to programmatically change them. Since it's a…
El Padrino
  • 1,141
  • 1
  • 11
  • 26
12
votes
2 answers

Is there a Perl or Lua alternative to Capistrano?

For a number of web-applications I need something like Capistrano to automate deployment. I know Capistrano can be used to deploy non-ruby applications but I'm not familiar with Ruby, so I expect writing deployment configurations can be a bit of a…
Htbaa
  • 2,319
  • 18
  • 28
11
votes
5 answers

how to detect modified properties using SVN log

Background: writing an automated release script to export changed files between versions from SVN and upload to remote server. The svn log command shows modified files and properties, but seems to not distinguish its verbose output between a content…
Dan
  • 183
  • 2
  • 7
9
votes
3 answers

Best strategy for automating multiple builds from a single white-label xcode project?

I'm researching the best approach to automating our build process. I've got my own ideas (through experience on a previous non-iOS project) but need good arguments for and against various possibilities. Objective: A single xcode project with a…
Rich
  • 532
  • 3
  • 17
9
votes
7 answers

Tool (or combination of tools) for reproducible environments in Python

I used to be a java developer and we used tools like ant or maven to manage our development/testing/UAT environments in a standardized way. This allowed us to handle library dependencies, setting OS variables, compiling, deploying, running unit…
9
votes
3 answers

What is a good build automation and deployment process for use with asp.net?

I’m looking for some recommendations to do project building and deployment automatically. Our current development setup uses ASP.NET, SVN, CCNET and an MSBuild script for the dev server build. I was thinking of switching over to Cruise instead of…
8
votes
3 answers

Classic asp - How to automate deployment - in continuous integration environment

I've been doing some reading http://vishaljoshi.blogspot.com/2010/11/team-build-web-deployment-web-deploy-vs.html and https://michaelbaylon.wordpress.com/2011/04/13/managing-sql-scripts-and-continuous-integration/ ... etc on automated deployment and…
1
2 3
8 9