Closed
Bug 593468
Opened 15 years ago
Closed 15 years ago
[amo] Code update + run marketing script
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jbalogh, Assigned: justdave)
Details
We're going to update zamboni code and then run an email script. The first time we run the script will be a test; we'll pipe the output to a file and show fligtar to make sure it looks good.
This is separate from bug 593409 because it's not a security issue. I can combine them if you want. No downtime expected.
1) git fetch && git co -f origin/5.11.9.3
2) git submodule update --init
3) cd vendor; git co -f origin/5.11.9.3; git submodule update --init; cd ..
4) whack any .pyc files
5) Push the new site to the webheads (AMO + SAMO) and restart Apache
Now we do the email:
6) python26 manage.py collection_emailer > output.txt
We can ctrl-c that after about 15 seconds; we just want a sample of the output.
And for real:
7) python26 manage.py collection_emailer no really
I'm on #remora and #sysadmins if you have questions. Please let us know when you can schedule it.
Comment 1•15 years ago
|
||
This email script is to announce changes pushed last night to users who have existing collections that will be affected (we changed the URLs and permissions of their collections). If at all possible we'd like to send this out today so these users can make any changes they need to quickly.
Thanks.
| Reporter | ||
Comment 2•15 years ago
|
||
(In reply to comment #0)
> 1) git fetch && git co -f origin/5.11.9.3
Sorry, that should be 5.11.9.4.
> 2) git submodule update --init
> 3) cd vendor; git co -f origin/5.11.9.3; git submodule update --init; cd ..
This is still 5.11.9.3.
Comment 3•15 years ago
|
||
does this email script use socketlabs for outbound emails?
| Reporter | ||
Comment 4•15 years ago
|
||
oremj added the socketlabs config yesterday. We have `EMAIL_HOST = 'smtp2301.socketlabs-od.com'`. It's going to send about 40,000 emails.
Comment 5•15 years ago
|
||
woot! makes me want to hug someone
| Assignee | ||
Updated•15 years ago
|
Assignee: server-ops → justdave
| Assignee | ||
Comment 6•15 years ago
|
||
Had to make these changes to the instructions:
-1) git fetch && git co -f origin/5.11.9.3
+1) git fetch && git co -f 5.11.9.3
2) git submodule update --init
-3) cd vendor; git co -f origin/5.11.9.3; git submodule update --init; cd ..
+3) cd vendor; git fetch && git co -f 5.11.9.3; git submodule update --init; cd ..
| Assignee | ||
Comment 7•15 years ago
|
||
er, forgot we had to s/co/checkout/ too, it didn't like it abbreviated.
| Assignee | ||
Comment 8•15 years ago
|
||
preview test was shared on irc.
Production mail sent.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•7 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•