Update addons.mozilla.org on 9/14 @ 1600

VERIFIED FIXED

Status

VERIFIED FIXED
8 years ago
5 years ago

People

(Reporter: clouserw, Assigned: oremj)

Tracking

other
All
Other
Bug Flags:
needs-downtime +

Details

(Whiteboard: 09/14/2010 @ 4pm)

(Reporter)

Description

8 years ago
Please update AMO, instructions to follow.  This is a small update, no downtime expected.

Updated

8 years ago
Flags: needs-downtime+
Whiteboard: 09/14/2010 @ 4pm
(Assignee)

Updated

8 years ago
Assignee: server-ops → jeremy.orem+bugs
(Reporter)

Comment 1

8 years ago
    Update to 5.11.10

    Update submodules

    Update vendor

    ./manage.py compress_assets

    ./schematic migrations

    ./manage.py fix_user_images 

    (while that is running, you can push the site - should take 10 or 15 minutes, I/O and CPU bound, no db)

    Make sure redis is configured to not write to disk

    Restart Redis

    Add to settings_local to enable Redis:

    Comment out CACHE_MACHINE_NO_INVALIDATION:

    # CACHE_MACHINE_NO_INVALIDATION = True

    Add to settings_local:

    STATIC_URL = "https://static.addons.mozilla.org"

    Push to all webheads (AMO, SAMO, VAMO, StAMO, )

    Restart Celeryd

    Copy crontab to prod
(Reporter)

Comment 2

8 years ago
Oh, you can leave out the StAMO setting if you don't want to turn that on today
(Assignee)

Comment 3

8 years ago
+ git fetch -t origin
remote: Counting objects: 301, done.
remote: Compressing objects: 100% (195/195), done.
remote: Total 242 (delta 157), reused 63 (delta 35)
Receiving objects: 100% (242/242), 91.38 KiB, done.
Resolving deltas: 100% (157/157), completed with 45 local objects.
From git://github.com/jbalogh/zamboni
 * [new tag]         5.11.10    -> 5.11.10
 * [new tag]         5.11.9.3   -> 5.11.9.3
 * [new tag]         5.11.9.4   -> 5.11.9.4
+ git checkout 5.11.10
M	locale
Previous HEAD position was d0b97fb... drop triggers we now calculate with tasks
HEAD is now at bc80c3f... use https for the gd fonts
+ git submodule update --init
remote: Counting objects: 227, done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 197 (delta 140), reused 165 (delta 115)
Receiving objects: 100% (197/197), 1.99 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (140/140), completed with 16 local objects.
From git://github.com/jbalogh/amo-locales2
   d757b74..c4a89fe  master     -> origin/master
Submodule path 'locale': checked out 'c4a89fe25041393330ef096042e0c5f0f08d5d44'
+ set +x
+ pushd vendor
+ git fetch -t origin
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (6/6), done.
From git://github.com/jbalogh/zamboni-lib
 * [new tag]         5.11.10    -> 5.11.10
 * [new tag]         5.11.9.3   -> 5.11.9.3
+ git checkout 5.11.10
M	src/bleach
M	src/commonware
Previous HEAD position was 976673c... update redis
HEAD is now at fdc0fe1... update commonware
+ git submodule update --init
remote: Counting objects: 25, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 17 (delta 11), reused 0 (delta 0)
Unpacking objects: 100% (17/17), done.
From git://github.com/jsocol/bleach
   d4bdcba..d1b2a25  master     -> origin/master
Submodule path 'src/bleach': checked out 'd1b2a25e29f9a2d1e1d8dc793c623489e9224252'
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/jsocol/commonware
   3ca2020..d52ee98  master     -> origin/master
Submodule path 'src/commonware': checked out 'd52ee98d95f3ffa0d3114deedaf27f2f220aab24'
+ popd
+ set +x
+ git fetch -t origin
remote: Counting objects: 236, done.
remote: Compressing objects: 100% (163/163), done.
remote: Total 195 (delta 121), reused 38 (delta 21)
Receiving objects: 100% (195/195), 84.91 KiB, done.
Resolving deltas: 100% (121/121), completed with 30 local objects.
From git://github.com/jbalogh/zamboni
 * [new tag]         5.11.10    -> 5.11.10
+ git checkout 5.11.10
M	locale
Previous HEAD position was e25c224... use @write for userprofile editing
HEAD is now at bc80c3f... use https for the gd fonts
+ git submodule update --init
remote: Counting objects: 227, done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 197 (delta 140), reused 165 (delta 115)
Receiving objects: 100% (197/197), 1.99 MiB | 1.25 MiB/s, done.
Resolving deltas: 100% (140/140), completed with 16 local objects.
From git://github.com/jbalogh/amo-locales2
   d757b74..c4a89fe  master     -> origin/master
Submodule path 'locale': checked out 'c4a89fe25041393330ef096042e0c5f0f08d5d44'
+ set +x
+ pushd vendor
+ git fetch -t origin
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/jbalogh/zamboni-lib
 * [new tag]         5.11.10    -> 5.11.10
+ git checkout 5.11.10
M	src/commonware
M	src/django
M	src/django-multidb-router
M	src/django-queryset-transform
M	src/easy-thumbnails
M	src/happyforms
M	src/hera
M	src/tower
Previous HEAD position was 3753ce2... update bleach
HEAD is now at fdc0fe1... update commonware
+ git submodule update --init
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/jsocol/commonware
   3ca2020..d52ee98  master     -> origin/master
Submodule path 'src/commonware': checked out 'd52ee98d95f3ffa0d3114deedaf27f2f220aab24'
+ popd
+ set +x
Compess assets? [y/n]: y
Run schematic? [y/n]: y
Running migration 77:
INSERT INTO download_sources (name, type, created)
    VALUES ('discovery-pane', 'full', NOW());

That took 0.02 seconds
##################################################
(Assignee)

Comment 4

8 years ago
All set.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED

Comment 5

8 years ago
done
Status: RESOLVED → VERIFIED
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.