continuous-deployment

Continuous deployment with multiple website projects in solution

浪子不回头ぞ 提交于 2019-12-04 21:51:53
问题 We are using VS2012 and have a solution with 4 website projects in it. We have added the following MSBuild arguments to our Continuous Integration msbuild arguments: /p:DeployOnBuild=True /P:Configuration=Testing /p:DeployTarget=MsDeployPublish /p:MSDeployPublishMethod=WMSvc /p:CreatePackageOnPublish=False /p:DeployIisAppPath="{test}" /p:SkipExtraFilesOnServer=true /p:MsDeployServiceUrl={test}/MsDeploy.axd /P:AllowUntrustedCertificate=True /p:username={username}/p:password={password} When we

How to specify the submodule branch in gitlab-ci?

廉价感情. 提交于 2019-12-04 17:54:27
How to specify branch in .gitlab-ci.yml for a submodule (different repo) in gitlab-ci? You don't. You specify it in the .gitmodules file of the project you are building. [submodule "MyRepo"] path = MyRepo url = https://github.com/vendor/MyRepo.git branch = master Along with @stefan's answer to this question. You also have to tell Git to only look at the specified branch for the latest commit. git submodule update seems to always fetch the latest commit regardless of the branch. Doing git submodule update --remote seems to force git to focus on the branch you specify in the .gitmodules file. So

Azure Cloud Services and Git continuous deployment?

拈花ヽ惹草 提交于 2019-12-04 17:49:48
问题 Is there a way by which I can use Git not only as a code repository but also for a build and continuous deployment to Azure (Cloud service, NOT web site)? I suspect not given the missing build environment unless but want to confirm this before writing it off. In theory I can see having Git hosted on a Windows server that also does the build and deployment - not sure if anyone has reduced this to practice. 回答1: Update : This is now possible http://www.windowsazure.com/en-us/documentation

Continuous deployment of OSGi-based application on jenkins

ぐ巨炮叔叔 提交于 2019-12-04 08:35:27
问题 After spending a couple of hours trying to understand how to make continuous deployment work in the case of an OSGi-based application , I am finally posing my first question on stackoverflow, hoping for some indications on what I might have done wrong or missed - somehow I feel being on the wrong track... This is what I want to achieve: build some bundles and install them to the maven repository (no problem here, using bnd) now having all the bundles making up my application (passing all

Jenkins continuous delivery pipeline skip stage based on input

谁说胖子不能爱 提交于 2019-12-04 07:52:09
A simplified pipeline will look something like: 1. build 2. unit test 3. deploy to dev 4. integration tests 5. deploy to prod For step #5 I've setup a Jenkins pipeline input command. We won't be deploying to prod on every commit so if we abort all those jobs it will have a big list of grey builds. Is it possible to have a skip option so the build can still be shown as green blue? MaTePe Can't you do something like this, it will be blue/green whatever you choose from input, and you can then run the deployment depending on it too? def deployToProduction = true try{ input 'Deploy to Production'

Build Error. Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages

百般思念 提交于 2019-12-04 07:50:25
Build Errors unable to find jq. Err http://deb.debian.org jessie/main amd64 Packages 404 Not Found Err http://deb.debian.org jessie-updates/main amd64 Packages 404 Not Found Fetched 723 kB in 2s (357 kB/s) W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages 404 Not Found W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. $ apt-get install jq Reading package lists... Building dependency tree... Reading state

Continuous deployment of IIS settings with MSDeploy

女生的网名这么多〃 提交于 2019-12-04 07:15:24
We practice continuous deployment with TFS (2008) and are looking for a nice way to handle IIS settings changes. MSDeploy seems like it should be the way to handle this, but after much reading and searching, I haven't found a good answer. The problem with MSDeploy, as I see it, is that you need to create a deployment package using an existing IIS website. I would like to be able to have the appropriate IIS configuration for the website in source control and have the build create the package. The only way I can see to do this is to hand craft the archive.xml file. Is my thinking correct or is

Deploy to Google Play Store via API

三世轮回 提交于 2019-12-04 05:00:42
I'm a big fan of continuous integration / deployment and we build our Android apps with Jenkins and deploy every build from specific branches (mostly git flow 's develop branch) to our testers via HockeyApp . What I want to achieve is that every new (tagged) commit to master will endup in the Play Store. So I don't have to manually upload APKs via the Play Store developer console . I've already searched for an API. But Google doesn't provide any and the two unofficial projects I found ( Android Market API and Play PHP API ) only support downloading metrics like the download count of your app.

VSTS - Take app offline before deployment

こ雲淡風輕ζ 提交于 2019-12-04 04:39:47
问题 I'm getting this problem using VSTS continuous deployment to azure Web Deploy cannot modify the file 'XXX' on the destination because it is locked by an external process the solution provided in this thread is to manually restart my app in azure, however he's not using VSTS and the question was asked 2 years ago, is this issue fixed on the current VSTS and if so, I would like to know how because I'm having the same problem as the link referenced above. Thanks 回答1: You can use

download roles and cookbooks from ChefServer with knife

倖福魔咒の 提交于 2019-12-03 14:08:26
Given I started working with Chef using the Chef Server Management Console and I now want to start using a files and upload them via knife. Is there a way to retrive roles and environments that are stored on the ChefServer via knife, so I can them into git? You can use the knife environment list and knife environment show commands to download environments and replace "environment" with "role" to do the same for roles. mkdir environments for env in `knife environment list`; do knife environment show $env --format=json > environments/$env.json done You can then check these JSON files into git