[amo] Code update + run marketing script

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
--
major
RESOLVED FIXED
8 years ago
5 years ago

People

(Reporter: jbalogh, Assigned: justdave)

Tracking

Details

(Reporter)

Description

8 years ago
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.
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

8 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

8 years ago
does this email script use socketlabs for outbound emails?
(Reporter)

Comment 4

8 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

8 years ago
woot!  makes me want to hug someone
Assignee: server-ops → justdave
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 ..
er, forgot we had to s/co/checkout/ too, it didn't like it abbreviated.
preview test was shared on irc.

Production mail sent.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.