[AMO] Update addons.mozilla.org on 7/13 @ 1600

VERIFIED FIXED

Status

task
VERIFIED FIXED
9 years ago
4 months ago

People

(Reporter: clouserw, Assigned: oremj)

Tracking

other
All
Other
Bug Flags:
needs-downtime +

Details

(Whiteboard: 07/13/2010 @ 4pm)

Reporter

Description

9 years ago
Please update AMO tomorrow at 4.  I'll post instructions tomorrow, this bug is for advance notice.
Flags: needs-downtime+
Summary: [AMO] Update addons.mozilla.org on 7/12 @ 1600 → [AMO] Update addons.mozilla.org on 7/13 @ 1600
Whiteboard: 07/13/2010 @ 4pm
Assignee

Updated

9 years ago
Assignee: server-ops → jeremy.orem+bugs
1. set FETCH_BY_ID = True
2. vendor/src/django-cache-machine has a local patch.  We want to keep that around.  We're not updating cache-machine but there are other vendor updates that might get in the way.  Although I don't think git will care, this is the heads-up.
User facing downtime?  Start @ 4pm, runs for how long?
Reporter

Comment 3

9 years ago
(In reply to comment #2)
> User facing downtime?  Start @ 4pm, runs for how long?

No downtime, shouldn't take long, but lets say 5pm.
Reporter

Comment 4

9 years ago
0) Give us a diff of settings_local.py so we can see if there are any important things we need to add.

1) git fetch && git co -f origin/5.11.4

2) git submodule update --init

3) cd vendor; git co -f origin/5.11.4; git submodule update --init; cd ..

4) whack any .pyc files

5) ./manage.py compress_assets

6) schematic migrations

7) Push the new site to the webhead (AMO + SAMO)

8) Clear memcache

9) Restart celeryd

10) Wait a while for db/memcache to calm down

11) Start sending new pages to zamboni.  That's /user/$id, /search-tools, and /language-tools.  Exact regex's are on PAMO.

12) import scripts/crontab/prod to crontab
Assignee

Comment 5

9 years ago
[root@mradm02 zamboni]# git pull
remote: Counting objects: 537, done.
remote: Compressing objects: 100% (208/208), done.
remote: Total 424 (delta 305), reused 264 (delta 191)
Receiving objects: 100% (424/424), 66.91 KiB, done.
Resolving deltas: 100% (305/305), completed with 81 local objects.
From git://github.com/jbalogh/zamboni
 * [new branch]      admin-login -> origin/admin-login
   98c97d8..fbe2d3e  master     -> origin/master
   98c97d8..fbe2d3e  next       -> origin/next
 + 213431e...f382c44 reviews    -> origin/reviews  (forced update)
 * [new tag]         5.11.4     -> 5.11.4
You are not currently on a branch, so I cannot use any
'branch.<branchname>.merge' in your configuration file.
Please specify which remote branch you want to use on the command
line and try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.
[root@mradm02 zamboni]# git checkout 5.11.4
Previous HEAD position was 98c97d8... update locale
HEAD is now at fbe2d3e... fix broken test
[root@mradm02 zamboni]# cd vendor/
[root@mradm02 vendor]# git pull
remote: Counting objects: 97, done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 92 (delta 20), reused 0 (delta 0)
Unpacking objects: 100% (92/92), done.
From git://github.com/jbalogh/zamboni-lib
   08464b8..de54629  master     -> origin/master
 * [new tag]         5.11.4     -> 5.11.4
You are not currently on a branch, so I cannot use any
'branch.<branchname>.merge' in your configuration file.
Please specify which remote branch you want to use on the command
line and try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.
[root@mradm02 vendor]# git checkout 5.11.4
M	src/django-devserver
M	src/django-extensions
M	src/jingo
M	src/schematic
M	src/test-utils
Previous HEAD position was 08464b8... updating cache machine
HEAD is now at de54629... updating deps
[root@mradm02 vendor]# git submodule update --init
Submodule 'src/hera' (git://github.com/clouserw/hera.git) registered for path 'src/hera'
remote: Counting objects: 34, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 23 (delta 16), reused 0 (delta 0)
Unpacking objects: 100% (23/23), done.
From git://github.com/dcramer/django-devserver
   4a9e8f7..f0d2c8d  master     -> origin/master
Submodule path 'src/django-devserver': checked out 'a42ebc2a84079da2786e12fb2d2dd61e805bab1c'
remote: Counting objects: 19, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 11 (delta 7), reused 0 (delta 0)
Unpacking objects: 100% (11/11), done.
From git://github.com/django-extensions/django-extensions
   12dda86..cdf8fae  master     -> origin/master
Submodule path 'src/django-extensions': checked out 'cdf8fae28b3830f8dcf3d0d9f25992b50261633d'
Initialized empty Git repository in /data/amo_python/src/services.prod/zamboni/vendor/src/hera/.git/
remote: Counting objects: 50, done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 50 (delta 15), reused 0 (delta 0)
Receiving objects: 100% (50/50), 10.51 KiB, done.
Resolving deltas: 100% (15/15), done.
Submodule path 'src/hera': checked out '3f93089fcb9352b0b54432f94cfa7355b89e3241'
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From git://github.com/jbalogh/jingo
   4eb62ef..e6d2acd  master     -> origin/master
Submodule path 'src/jingo': checked out 'e6d2acd14bcac07b1fd7e66675bcc5ad88d7d092'
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From git://github.com/jbalogh/schematic
   e34fa8c..144134c  master     -> origin/master
Submodule path 'src/schematic': checked out '144134c5b5a2d1c6759e2de43d72917bdab9eab2'
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From git://github.com/jbalogh/test-utils
   7b87300..9ec1d7a  master     -> origin/master
Submodule path 'src/test-utils': checked out '9ec1d7a535f552643b2499a4aff3286c12965299'
Assignee

Updated

9 years ago
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verified FIXED (we pushed successfully).
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations

Updated

4 months ago
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.