Deploying to production enviroments

Hi!

Quick couple of questions, I’m trying to configure Octopus so that developers can create and deploy releases to a test enviroment (roles of project contributor, project lead and project deployer), and only the members of the Admin Group, or those in a release group in Project Deployer can promote a release to the production/dr environments and I noticed that people in the developer group can still see the ‘Promote to…’ button and press it, but a red error bar comes up with no message in it.

I’m assuming the red error bar is to inform the developer they can’t perform that action…

So, is there meant to be a message in the red bar, and is there a way to simplify what I’m trying to do? Our company policy is that developers shouldn’t have access to the live servers, so we’re planning to use Ocotpus to package it all up for them to just hit a button and release, rather than have them, manually copy files and run SQL scripts.

Hi Emma,

Thanks for reaching out. There should be an error message on the red bar, indeed. Could you share me the current set of permissions of one of your Developers and the set of one of your Project Deployers?

To get these you can go to Configuration > Teams > Test Permissions > [select a user]

Also please let me know the names of the environments to which each should be able to deploy.

Thanks!

Dalmiro.

Hi Dalmiro,

Someone in the developers team will be in the following roles, to the TEST environment only

· Project Contributor

· Project Lead

· Project Deployer

Permission

Projects

Environments

ActionTemplateCreate

All projects

All environments

ActionTemplateDelete

All projects

All environments

ActionTemplateEdit

All projects

All environments

ActionTemplateView

All projects

All environments

ArtifactCreate

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

ArtifactDelete

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

ArtifactEdit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

ArtifactView

All projects

All environments

ArtifactView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

DeploymentCreate

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

DeploymentView

All projects

All environments

DeploymentView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

EnvironmentView

All projects

All environments

EnvironmentView

All projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

EventView

All projects

All environments

EventView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

FeedView

All projects

All environments

InterruptionSubmit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

InterruptionView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

InterruptionViewSubmitResponsible

All projects

All environments

InterruptionViewSubmitResponsible

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

LibraryVariableSetCreate

All projects

All environments

LibraryVariableSetDelete

All projects

All environments

LibraryVariableSetEdit

All projects

All environments

LibraryVariableSetView

All projects

All environments

LifecycleView

All projects

All environments

MachineView

All projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

ProcessEdit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ProcessView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ProjectEdit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ProjectGroupView

All projects

All environments

ProjectView

All projects

All environments

ProjectView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ReleaseCreate

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ReleaseDelete

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ReleaseEdit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ReleaseView

All projects

All environments

ReleaseView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

TaskCancel

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

TaskCreate

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

TaskView

All projects

All environments

TaskView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

TaskViewLog

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

TeamView

All projects

All environments

UserRoleView

All projects

All environments

UserView

All projects

All environments

VariableEdit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsAll environments

VariableView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environments

Someone in the release group will be in the following role, on both the TEST and PROD enviornments

· Project Deployer

Permission

Projects

Environments

ActionTemplateCreate

All projects

All environments

ActionTemplateDelete

All projects

All environments

ActionTemplateEdit

All projects

All environments

ActionTemplateView

All projects

All environments

ArtifactCreate

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

ArtifactView

All projects

All environments

ArtifactView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

DeploymentCreate

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

DeploymentView

All projects

All environments

DeploymentView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

EnvironmentView

All projects

All environments

EnvironmentView

All projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

EventView

All projects

All environments

EventView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

FeedView

All projects

All environments

InterruptionSubmit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

InterruptionView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

InterruptionViewSubmitResponsible

All projects

All environments

InterruptionViewSubmitResponsible

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

LibraryVariableSetCreate

All projects

All environments

LibraryVariableSetDelete

All projects

All environments

LibraryVariableSetEdit

All projects

All environments

LibraryVariableSetView

All projects

All environments

LifecycleView

All projects

All environments

MachineView

All projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

ProcessEdit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ProcessView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ProjectEdit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ProjectGroupView

All projects

All environments

ProjectView

All projects

All environments

ProjectView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

ReleaseView

All projects

All environments

ReleaseView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

All environments

TaskCancel

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

TaskCreate

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

TaskView

All projects

All environments

TaskView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

TaskViewLog

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

TeamView

All projects

All environments

UserRoleView

All projects

All environments

UserView

All projects

All environments

VariableEdit

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environmentsAll environments

VariableView

GitPMTesthttp://gbbed13ws03v:81/app#/projects/gitpmtestAll projects

TESThttp://gbbed13ws03v:81/app#/environmentsPRODhttp://gbbed13ws03v:81/app#/environments

Hope that helps!

Emma

Hi Emma,

I just found this reply from yours that I left unanswered a WHILE ago. I was wondering if you still needed help with this?

Very sorry for not replying when I had to :(. Hopefully you found an answer for this already.

Best regards,
Dalmiro

Pretty much - it’s called self control!

Being serious, the solution turned out to be leaving the developers with permissions to push all the way through to the live environment in case emergency hot fixes needed to be pushed out - the release team being 5 hours behind us developers, so if something goes wrong in our morning…:wink:

Makes sense - Sometimes the workaround has to be installed in the user instead of the computer :wink: