Questions tagged [octopus-deploy]

Octopus Deploy is an automated deployment system designed for .NET developers. It also supports other languages/platforms and non-Windows deployment.

Octopus Deploy is an automated deployment system for ASP.NET applications and Windows Services.

Links:

804 questions
6
votes
1 answer

Azure web apps: Warning about an "auto-swap lock file"

I'm using Octopus Deploy to deploy a web application to Azure web apps. I'm using the deployment slots with auto-swap feature to warm the app up before making it accessible. Now Octopus Deploy issues a warning after every deployment: An auto-swap…
theDmi
  • 17,546
  • 6
  • 71
  • 138
6
votes
1 answer

Azure web apps auto-swap notifications

I'm using a deployment slot called warmup on my Azure web app with the auto-swap feature. My deployment process is as follows: Octopus Deploy creates a release and deploys to the warmup slot Auto-swap warms up the slot and swaps to production as…
theDmi
  • 17,546
  • 6
  • 71
  • 138
6
votes
2 answers

Publish nuget package during TeamCity build to Octopus

There is a known problem that if you deploy during a TeamCity build, a previous version will be deployed (as the current will be available only after the build is finished). Documentation suggests creating a secondary TeamCity BuildConfiguration as…
SiberianGuy
  • 24,674
  • 56
  • 152
  • 266
6
votes
1 answer

Create Nuget package for Dacpac and Powershell script

How do I create a Nuget package in Visual Studio 2013 that includes a dacpac and a Powershell script? Would I have the two files in the same location then call nuget pack {folder name}? The Powershell script essentially deploys the dacpac to Octopus…
m00nbeam360
  • 1,357
  • 2
  • 21
  • 36
6
votes
1 answer

Cannot find path 'HKLM:\SOFTWARE\Microsoft\InetStp\'

I setup a new project in Octopus Deploy but the deployment failed with the following message: get-itemproperty : Cannot find path 'HKLM:\SOFTWARE\Microsoft\InetStp\' because it does not exist. What would cause this error?
Daniel Little
  • 16,975
  • 12
  • 69
  • 93
6
votes
1 answer

Publishing NuGet Packages - TeamCity

I have just setup TeamCity to automate our builds, our current solution has both a dev and main branch. What I am trying to achieve is to have the development branch build and publish to a development NuGet feed on our ProGet installation, and then…
user351711
  • 3,171
  • 5
  • 39
  • 74
6
votes
3 answers

Update Azure CSPKG with a transformed web.config post-publish

My build: Build with msbuild (/t: build) Publish with msbuild (/t: publish) Package with nuget Deploy with octopus produces an artifact (nuget package) that contains the following…
David Peden
  • 17,596
  • 6
  • 52
  • 72
6
votes
2 answers

Web.Config Transformations with Octopus Deploy

I want to apply web.config transformations with Octopus Deploy, but only on the production environment. I don't want to create separate configs for all of our other environments. At the moment i'm using this following custom expression but it…
MrBliz
  • 5,830
  • 15
  • 57
  • 81
6
votes
1 answer

TeamCity NuGet Installer step issue

I'm building a project in TeamCity with NuGet package restore enabled. I have two build steps: NuGet installer MSBuild One of the projects has the log4net-package from the official feed installed. (But don't get to hung up on which package) …
HaraldV
  • 737
  • 9
  • 13
6
votes
1 answer

Use a different package feed based on environment in Octopus Deploy

I understand that there is currently a feature request for something like this, but I'm hoping that there is some sort of workaround using the current version (1.6) We build for our dev and test environments from a dev branch in TFS, and build for…
LockeCJ
  • 558
  • 1
  • 4
  • 21
6
votes
3 answers

Octopus Deploy - Deploy.ps1 script for setting up SSL bindings on IIS

Using the octopus deploy script for creating websites found here I am trying to setup up a website that uses SSL. I have changed the http -> https and the variable is set to this $MyWebAppIisBindings = "*:433:" This script does everything to create…
Peter
  • 7,792
  • 9
  • 63
  • 94
5
votes
2 answers

Only install PowerShell PackageProvider and Module if not already installed

I have running the following Powershell script as part of an Octopus Deploy. However, I only want them to install if they are not already installed. I they are installed, preferably it would also only install them if they are below a certain…
PatrickNolan
  • 1,671
  • 2
  • 20
  • 40
5
votes
2 answers

Push Team City Release to Octopus Deploy

I am having problems trying to push a .zip artifact from Team City to Octopus Deploy and would like to requisition some help with this. Using the "OctopusDeploy: Push packages" runner on Team City, I am trying to push the artifact…
Kira Resari
  • 1,718
  • 4
  • 19
  • 50
5
votes
1 answer

Start-job results in "The background process reported an error with the following message: ."

I have a simple Powershell script (that's being run in a step in Octopus deploy) that I'm trying to run as another user. We need it for future steps (each application on our platform runs as its own user account, and I need to be able to run an…
Richiban
  • 5,569
  • 3
  • 30
  • 42
5
votes
0 answers

Transforming Web.Config in a Windows Docker container

I have a .NET app that uses Octopus to deploy to the server. In this process, Octopus updates some of the values in the Web.Config (API keys, database connection string etc). I'm moving this app into a container on the same server, and the image has…
Colm Prunty
  • 1,595
  • 1
  • 11
  • 29
1 2
3
53 54