Skip to content

DOTD script: Create deploy candidate branch without switching to it#15425

Merged
islemaster merged 2 commits into
stagingfrom
dotd-stage-candidate-locally
May 26, 2017
Merged

DOTD script: Create deploy candidate branch without switching to it#15425
islemaster merged 2 commits into
stagingfrom
dotd-stage-candidate-locally

Conversation

@islemaster

Copy link
Copy Markdown
Contributor

Fix to solve an issue I encountered as Dev-of-the-Day yesterday:

I started DTT #3, and shortly thereafter started a DTP from DTT #2's green commit using the DOTD script (which creates a deploy candidate branch for you). When DTT #3 reached eyes tests, I was surprised to find that the applitools dashboard reported that it was testing the deploy candidate branch, and was trying to compare it against staging baselines (very old):

image

It looks like the DOTD script actually used the test machine to create the candidate branch and left it checked out there - when I SSH'd into test at the end of the day and it was on dtp_candidate_1183fa3d and I had to change it back manually.

In this change to the script it still uses test to create and push the deploy candidate branch, but it does so without ever actually switching to that branch. This should avoid what happened to DTT#3 yesterday.

@Bjvanminnen

Copy link
Copy Markdown
Contributor

Changes lgtm. Is there some steps you wanted me to take to verify today?

@islemaster

Copy link
Copy Markdown
Contributor Author

Not necessarily, just wanted to give you a heads-up in case you wanted this change for your DTP today. You should be able to safely DTP with the current script too, as long as nobody's doing anything on test while we DTP (which means technically we should keep DTT: no while DTPing).

@islemaster islemaster merged commit 607b382 into staging May 26, 2017
@islemaster islemaster deleted the dotd-stage-candidate-locally branch May 26, 2017 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants