[webby] Port stage_auth_url to pre-playdoh production

RESOLVED FIXED in 1.2

Status

RESOLVED FIXED
7 years ago
4 years ago

People

(Reporter: stas, Assigned: stas)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

7 years ago
+++ This bug was initially created as a clone of Bug #653180 +++

See bug 653180 for details.  We're not ready to move to playdoh just yet, and I really need the fix from that bug on the current production for some engagement work.

I'm filing this bug to track what needs to be done and what gets done.
(Assignee)

Comment 1

7 years ago
1. Create a hotfix branch off of master.
2. Transplant (cherry-pick?) the commit from bug 653180 onto it.
3. Merge the hotfix branch onto master.
4. Run schematic migrations from my machine connected to MPT and update the schema on bm-l10n-db.
5. git pull master on production.
(Assignee)

Comment 2

7 years ago
Some additional thoughts:

Re 1. "hotfix" was inspired by git flow, but this will not be a git flow hotfix branch.  The reason is that git flow marges hotfix branches to both master and develop, and we don't need that.

Re 4. We don't have schematic on master, so I'll either run the sql by hand and then run 'schematic -u 1 migrations', or run schemtic from the develop branch on the prod DB.
(Assignee)

Comment 3

7 years ago
(In reply to comment #1)
> 1. Create a hotfix branch off of master.
> 2. Transplant (cherry-pick?) the commit from bug 653180 onto it.
> 3. Merge the hotfix branch onto master.

https://github.com/mozilla/elmo/commit/c80fb267686771a8f38aa066401fc33f5e266b91

> 4. Run schematic migrations from my machine connected to MPT and update the
> schema on bm-l10n-db.

(elmo)stas@5tas:~/mozilla/code/elmo/elmo (develop)$ ./vendor/src/schematic/schematic migrations/
Running migration 1:
ALTER TABLE `webby_project` ADD `stage_login` varchar(80);
ALTER TABLE `webby_project` ADD `stage_passwd` varchar(80);
ALTER TABLE `webby_project` ADD `stage_auth_url` varchar(250);

That took 2.09 seconds
################################################## 

> 5. git pull master on production.

Done: https://l10n-stage-sj.mozilla.org/webby/markup (you need to be logged in)
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Updated

7 years ago
Target Milestone: --- → 1.2

Updated

4 years ago
Assignee: nobody → stas
You need to log in before you can comment on or make changes to this bug.