continuous-deployment

Continuous deployment with multiple website projects in solution

♀尐吖头ヾ 提交于 2019-12-03 13:45:38
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 do a check in and the continuous integrations runs, it's publishes all 4 websites to the same directory

Azure Continuous Deployment with multiple projects

冷暖自知 提交于 2019-12-03 12:27:33
I have found a few questions ( this one , this one , and this one ) related to this question, however none of them clearly answer my question: Do I really need TFS or VSO in order to achieve this? What I have is: A solution with two projects: demo.Web and demo.Api. In Azure I have demo-web.azurewebsites.net (with demo-web-staging.azurewebsites.net) and demo-api.azurewebsites.net (with demo-api-staging.azurewebsites.net). I have the whole solution (with both projects each containing the correct publish profiles pointing to the correct deployment slot in azure) pushed to a git repo. How could I

Why would azure be restarting website when i do a deployment slot swap?

允我心安 提交于 2019-12-03 12:13:34
问题 I've a .net 4.5 website running on Azure Websites. I've a staging deployment set up. I warm up both sites and then i run the swap process (both from azure portal and from Azure powershell). No matter what I try the swapping process restarts my websites (both) and they take about 3 minutes to boot up. I was under the impression the deployment swapping was supposed to keep the websites "warm" and have no down time? My websites are unusuable for about 3 minutes! As far as I can tell both

Azure Cloud Services and Git continuous deployment?

时光怂恿深爱的人放手 提交于 2019-12-03 11:45:27
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. Update : This is now possible http://www.windowsazure.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/#step6 Working like charm with both git and tfs. There is

Scheduled Azure WebJob deployed via Git results in On Demand Job

為{幸葍}努か 提交于 2019-12-03 10:40:51
I have a Git-Enabled ASP.NET WebApp with one associated Azure WebJob. When I deploy this via Visual Studio everything is fine, but this is kinda hard in a Continuous Delivery Environment so I would like to publish the Web App and the WebJob via Git. Via the Azure Tooling I associated my WebJob project and I got a "webjobs-list.json" file inside the WebApp Project: { "$schema": "http://schemastore.org/schemas/json/webjobs-list.json", "WebJobs": [{ "filePath": "../CodeInside.Hub.Job/CodeInside.Hub.Job.csproj" }] } webjobs-list.json Source Inside the Console App Project I got a "webjob-publish

Proper continuous integration and continuous deployment with Git and Heroku

痴心易碎 提交于 2019-12-03 10:10:15
问题 I am developing a ruby on rails website using heroku and git. What tools and features should I use to set up the following simple development process? CODE > CHECK-IN > AUTO TEST > AUTO DEPLOY I check my code into my repository (preferred option, hosted git like github) Tests are automatically run AND website is deployed in my staging heroku app If tests pass, the website is automatically deployed on my production heroku app If tests fail, I want to be notified somehow. How would you do this?

How to auto deploy Docker containers from Amazon ECR to Kubernetes using Jenkins

做~自己de王妃 提交于 2019-12-03 09:54:05
问题 This is our environment: I have a Kubernetes cluster running on Amazon. Jenkins CI/CD running on Amazon that connects to a private GitLab and builds our services as Docker images. Amazon ECR that stores our Docker images. My questions: How can I auto deploy images from ECR to Kubernetes (as pods) once the Jenkins pipeline pushes newly built images to ECR? Can I do that within Jenkins pipeline? I've read lots of material but I couldn't find how should it be done. There is also a 3rd party tool

Configuring Hudson to deploy a build

自古美人都是妖i 提交于 2019-12-03 09:49:43
问题 I'm trying to configure Hudson so that I will be able to automatically deploy a build (a .war file) to Tomcat. The newly deployed build will then be used by someone to test the application. I've tried using the Deploy Plugin to automatically deploy the .war file, and this works. However, the job that builds the .war file will run after every scm change (whenever code is committed). With the Deploy Plugin, the .war file would be deployed to Tomcat every time a build is made. Because code is

how to use gitlab ci to deploy the project to i686 and x86_64 machine at the same time?

て烟熏妆下的殇ゞ 提交于 2019-12-03 09:39:31
I am a Newbie using gitlab-CI and my english is not very good. I want to use gitlab ci to deploy one project to i686, x86_64 linux machine respectively. So I can generate an update package on different types linux centos. Now I use gitlab-server(192.168.1.240), gitlab runner (192.168.1.184) production server1(192.168.1.162) production server2(192.168.1.163); gitlab-server(240) --> runner(184) ^ ^ product_s1(162) product_s2(163) /etc/gitlab-runner/config.toml: concurrent = 1 [[runners]] url = "http://192.168.1.240/ci" token = "fb8b064e53e31159e268853af6f8ea" name = "production162" executor =

production data migration patterns in continuous delivery

笑着哭i 提交于 2019-12-03 07:01:22
问题 What are relational database (and schema) migration patterns on production in continuous delivery? In many traditional developments the DBA arranges a big migration script out of the many smaller scripts created in the current release cycle. But in CD the developer may want to push the change now to production, not wait to compile them with other scripts. I know on rails-migration but to me it looks more reasonable to use raw sql scripts. I've also seen tools like flyway to manage migrations