Closed Bug 664526 Opened 13 years ago Closed 13 years ago

push developer.mozilla.org 0.9.6

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: groovecoder, Assigned: nmaul)

Details

Added bug 664724 to the push, let me know if anyone needs CC'd to it.
Tentatively assigning to jakem. jakem - please reassign if i've misassigned, thx!
Assignee: server-ops → nmaul
We're on a weekly "push duty" schedule now... this is oremj's week. The topic in #systems should be updated every Monday. :)
Assignee: nmaul → jeremy.orem+bugs
I see a 2pm Pacific time for MDN 0.9.6 on my webdev releases calendar now... is that our launch window? and if so, is it oremj or bkero at the wheel?
I'll take this after all... don't know when/how it got set for 2pm, but oremj's got an AMO and builder push then. 2pm still wfm.
Assignee: jeremy.orem+bugs → nmaul
Status: NEW → ASSIGNED
Sorry that was me. I threw it on at 2pm because everyone else was doing it. Thought that was our group-wide push window. I'll stagger it next time.
I think officially it's 2pm, but realistically anywhere from 1-4pm is pretty common. Staggered works better with our current weekly push-duty rotation system.
Completed. Output copied from the etherpad, below:



0.9.6 Push Instructions
See also https://mana.mozilla.org/wiki/display/websites/developer.mozilla.org#developer.mozilla.org-Update%2FPushprocedure

    django

    git pull --rebase origin mdn_prod

    git submodule sync

    git submodule update --init

    cd vendor

    git pull origin master

    git submodule sync

    git submodule update (--init?)

    cd ..

    ./vendor/src/schematic/schematic migrations

    python26 manage.py migrate

    python26 manage.py compress_assets

    /data/dekiwiki_python/deploy

    MindTouch

    cd /data/dekiwiki/www/dekiwiki_mozilla

    svn up

    cp -vu resources/resources.custom.* ../dekiwiki/resources/

    phpbb

    cd /data/dekiwiki/www/forums/styles/MDN

    svn up

    cd /data/dekiwiki/www/forums/phpbb

    svn up

For https://bugzilla.mozilla.org/show_bug.cgi?id=664724:

    copy all files from https://developer.mozilla.org/media/uploads/demos/ to https://mozillademos.org/demostudio/uploads/demos/

    we're not sure where they are on the servers?

    update settings_local.py:

    DEMO_UPLOADS_ROOT = <wherever the files need to go for the following mozillademos.org location>

    DEMO_UPLOADS_URL = https://mozillademos.org/demostudio/uploads/demos/

    If all demos are still working:

    delete files from old location?

    else:

    rollback settings_local.py changes

================
django:
[root@mradm02 kuma]# cd /data/dekiwiki_python/src/developer.mozilla.org/kuma
[root@mradm02 kuma]# git pull --rebase origin mdn_prod
remote: Counting objects: 291, done.
remote: Compressing objects: 100% (141/141), done.
remote: Total 214 (delta 154), reused 126 (delta 66)
Receiving objects: 100% (214/214), 240.70 KiB, done.
Resolving deltas: 100% (154/154), completed with 47 local objects.
From git://github.com/mozilla/kuma
 * branch            mdn_prod   -> FETCH_HEAD
First, rewinding head to replay your work on top of it...
Fast-forwarded mdn to 9e0ce06da56fac0d8caf29abef3dc19ac77889be.
[root@mradm02 kuma]# git submodule sync
Synchronizing submodule url for 'media/global'
Synchronizing submodule url for 'templates/global'
Synchronizing submodule url for 'vendor'
[root@mradm02 kuma]# git submodule update --init
[root@mradm02 kuma]# cd vendor
[root@mradm02 vendor]# git pull origin master
From git://github.com/mozilla/kuma-lib
 * branch            master     -> FETCH_HEAD
Already up-to-date.
[root@mradm02 vendor]# git submodule sync
Synchronizing submodule url for 'src/bleach'
Synchronizing submodule url for 'src/cache-panel'
Synchronizing submodule url for 'src/check'
Synchronizing submodule url for 'src/commonware'
Synchronizing submodule url for 'src/django'
Synchronizing submodule url for 'src/django-authority'
Synchronizing submodule url for 'src/django-cache-machine'
Synchronizing submodule url for 'src/django-cronjobs'
Synchronizing submodule url for 'src/django-csp'
Synchronizing submodule url for 'src/django-debug-toolbar'
Synchronizing submodule url for 'src/django-extensions'
Synchronizing submodule url for 'src/django-mobility'
Synchronizing submodule url for 'src/django-mozilla-product-details'
Synchronizing submodule url for 'src/django-multidb-router'
Synchronizing submodule url for 'src/django-nose'
Synchronizing submodule url for 'src/django-recaptcha'
Synchronizing submodule url for 'src/django-timezones'
Synchronizing submodule url for 'src/django-waffle'
Synchronizing submodule url for 'src/jingo'
Synchronizing submodule url for 'src/jingo-minify'
Synchronizing submodule url for 'src/py-wikimarkup'
Synchronizing submodule url for 'src/python-magic'
Synchronizing submodule url for 'src/schematic'
Synchronizing submodule url for 'src/smuggler'
Synchronizing submodule url for 'src/sphinxapi'
Synchronizing submodule url for 'src/test-utils'
Synchronizing submodule url for 'src/tower'
Synchronizing submodule url for 'src/tweepy'
[root@mradm02 vendor]# git submodule update --init
[root@mradm02 vendor]# cd ..
[root@mradm02 kuma]# python26 ./vendor/src/schematic/schematic migrations/
[root@mradm02 kuma]# python26 manage.py migrate
Running migrations for demos:
- Nothing to migrate.
 - Loading initial data for demos.
No fixtures found.
Running migrations for taggit:
- Nothing to migrate.
 - Loading initial data for taggit.
No fixtures found.
[root@mradm02 kuma]# python26 manage.py compress_assets
[root@mradm02 kuma]# /data/dekiwiki_python/deploy
[root@mradm02 kuma]# su - apache -c "cd /data/dekiwiki/www/django/developer.mozilla.org/kuma; /usr/bin/python26 manage.py update_product_details"
[root@mradm02 kuma]#
phpbb:
[root@mradm02 kuma]# cd /data/dekiwiki/www/forums/styles/MDN
[root@mradm02 MDN]# svn up
U    theme/stylesheet.css
U    theme/images/nav-arrows.png
A    theme/images/mdn-logo-compact.png
A    theme/images/search-icons.png
U    template/overall_header.html
A    template/jquery.min.js
U    template/overall_footer.html
U    template/init.js
Updated to revision 90702.
[root@mradm02 MDN]# cd /data/dekiwiki/www/forums/phpbb
[root@mradm02 phpbb]# svn up
U    styles/MDN/theme/stylesheet.css
U    styles/MDN/theme/images/nav-arrows.png
A    styles/MDN/theme/images/mdn-logo-compact.png
A    styles/MDN/theme/images/search-icons.png
U    styles/MDN/template/overall_header.html
A    styles/MDN/template/jquery.min.js
U    styles/MDN/template/overall_footer.html
U    styles/MDN/template/init.js
Updated to revision 90702.
Deki:
[root@mradm02 phpbb]# cd /data/dekiwiki/www/dekiwiki_mozilla
[root@mradm02 dekiwiki_mozilla]# svn up
U    skins/mdn/Transitional/html.php
U    skins/mdn/Transitional/screen.css
U    skins/mdn/Transitional/img/nav-arrows.png
U    skins/mdn/Transitional/img/mdn-logo-compact.png
A    skins/mdn/Transitional/img/icons-welcome.png
A    skins/mdn/Transitional/img/search-icons.png
U    skins/mdn/Transitional/js/javascript.js
U    skins/mdn/Transitional/js/javascript.min.js
U    resources/resources.custom.txt
Updated to revision 90702.
[root@mradm02 dekiwiki_mozilla]# cp -vu resources/resources.custom.* ../dekiwiki/resources/
cp: overwrite `../dekiwiki/resources/resources.custom.txt'? y
`resources/resources.custom.txt' -> `../dekiwiki/resources/resources.custom.txt'
deploy:
[root@mradm02 dekiwiki_mozilla]# cd /data/dekiwiki/www
[root@mradm02 www]# git add .
[root@mradm02 www]# git commit -a -m "MANUAL COMMIT"
[master 85d20d6] MANUAL COMMIT
 26 files changed, 881 insertions(+), 675 deletions(-)
 create mode 100644 dekiwiki_mozilla/skins/mdn/Transitional/img/icons-welcome.png
 rewrite dekiwiki_mozilla/skins/mdn/Transitional/img/mdn-logo-compact.png (95%)
 rewrite dekiwiki_mozilla/skins/mdn/Transitional/img/nav-arrows.png (99%)
 create mode 100644 dekiwiki_mozilla/skins/mdn/Transitional/img/search-icons.png
 rewrite forums/phpbb/styles/MDN/template/init.js (92%)
 create mode 100644 forums/phpbb/styles/MDN/template/jquery.min.js
 create mode 100644 forums/phpbb/styles/MDN/theme/images/mdn-logo-compact.png
 rewrite forums/phpbb/styles/MDN/theme/images/nav-arrows.png (99%)
 create mode 100644 forums/phpbb/styles/MDN/theme/images/search-icons.png
 rewrite forums/styles/MDN/template/init.js (92%)
 create mode 100644 forums/styles/MDN/template/jquery.min.js
 copy forums/{phpbb => }/styles/MDN/template/overall_header.html (54%)
 create mode 100644 forums/styles/MDN/theme/images/mdn-logo-compact.png
 rewrite forums/styles/MDN/theme/images/nav-arrows.png (99%)
 create mode 100644 forums/styles/MDN/theme/images/search-icons.png
[root@mradm02 www]# issue-multi-command dekiwiki "/data/bin/update-www.sh"
[pm-dekiwiki01] running: /data/bin/update-www.sh
[pm-dekiwiki02] running: /data/bin/update-www.sh
[pm-dekiwiki03] running: /data/bin/update-www.sh
[pm-dekiwiki02] finished: /data/bin/update-www.sh (2.456s)
[pm-dekiwiki02] out: Not removing .wapi/
[pm-dekiwiki02] out: Not removing dekiwiki/bin/_x002F_deki/site_developer.mozilla.org/
[pm-dekiwiki02] out: Not removing dekiwiki/bin/_x002F_deki_x002F_pagesubservice/
[pm-dekiwiki02] out: Not removing dekiwiki/bin/_x002F_deki_x002F_services_x002F_developer.mozilla.org_x002F_12/
[pm-dekiwiki02] out: Not removing dekiwiki/bin/_x002F_deki_x002F_services_x002F_developer.mozilla.org_x002F_21/
[pm-dekiwiki02] out: Not removing dekiwiki/bin/_x002F_deki_x002F_services_x002F_developer.mozilla.org_x002F_23/
[pm-dekiwiki02] out: Not removing dekiwiki/bin/cache/
[pm-dekiwiki03] finished: /data/bin/update-www.sh (2.456s)
[pm-dekiwiki03] out: Not removing dekiwiki/bin/_x002F_deki/site_developer.mozilla.org/
[pm-dekiwiki03] out: Not removing dekiwiki/bin/_x002F_deki_x002F_pagesubservice/
[pm-dekiwiki03] out: Not removing dekiwiki/bin/_x002F_deki_x002F_services_x002F_developer.mozilla.org_x002F_12/
[pm-dekiwiki03] out: Not removing dekiwiki/bin/_x002F_deki_x002F_services_x002F_developer.mozilla.org_x002F_21/
[pm-dekiwiki03] out: Not removing dekiwiki/bin/_x002F_deki_x002F_services_x002F_developer.mozilla.org_x002F_23/
[pm-dekiwiki01] finished: /data/bin/update-www.sh (2.497s)
[pm-dekiwiki01] out: Not removing dekiwiki/bin/_x002F_deki_x002F_pagesubservice/
[pm-dekiwiki01] out: Not removing dekiwiki/bin/_x002F_deki_x002F_services_x002F_developer.mozilla.org_x002F_21/
[pm-dekiwiki01] out: Not removing dekiwiki/bin/_x002F_deki_x002F_services_x002F_developer.mozilla.org_x002F_23/
[root@mradm02 www]# issue-multi-command dekiwiki "service dekiwiki restart"
[pm-dekiwiki01] running: service dekiwiki restart
[pm-dekiwiki02] running: service dekiwiki restart
[pm-dekiwiki03] running: service dekiwiki restart
[pm-dekiwiki03] finished: service dekiwiki restart (6.407s)
[pm-dekiwiki03] out: Stopping MindTouch Deki API: mindtouch.host.exe.
[pm-dekiwiki03] out: Starting MindTouch Deki API: mindtouch.host.exe.
[pm-dekiwiki02] finished: service dekiwiki restart (6.538s)
[pm-dekiwiki02] out: Stopping MindTouch Deki API: mindtouch.host.exe.
[pm-dekiwiki02] out: Starting MindTouch Deki API: mindtouch.host.exe.
[pm-dekiwiki01] finished: service dekiwiki restart (6.566s)
[pm-dekiwiki01] out: Stopping MindTouch Deki API: mindtouch.host.exe.
[pm-dekiwiki01] out: Starting MindTouch Deki API: mindtouch.host.exe.
[root@mradm02 www]# issue-multi-command dekiwiki "service httpd restart"
[pm-dekiwiki01] running: service httpd restart
[pm-dekiwiki02] running: service httpd restart
[pm-dekiwiki03] running: service httpd restart
[pm-dekiwiki03] finished: service httpd restart (1.406s)
[pm-dekiwiki03] out: Stopping httpd: [  OK  ]
[pm-dekiwiki03] out: Starting httpd: [  OK  ]
[pm-dekiwiki02] finished: service httpd restart (2.815s)
[pm-dekiwiki02] out: Stopping httpd: [  OK  ]
[pm-dekiwiki02] out: Starting httpd: [  OK  ]
[pm-dekiwiki01] finished: service httpd restart (11.688s)
[pm-dekiwiki01] out: Stopping httpd: [  OK  ]
[pm-dekiwiki01] out: Starting httpd: [  OK  ]
[root@mradm02 locale]# svn up
U    sq/LC_MESSAGES/messages.po
U    ja/LC_MESSAGES/messages.mo
U    ja/LC_MESSAGES/messages.po
U    zh_TW/LC_MESSAGES/messages.po
U    templates/LC_MESSAGES/messages.pot
A    pt_BR
A    pt_BR/LC_MESSAGES
A    pt_BR/LC_MESSAGES/messages.mo
A    pt_BR/LC_MESSAGES/messages.po
U    es/LC_MESSAGES/messages.po
U    en_US/LC_MESSAGES/messages.po
U    nl/LC_MESSAGES/messages.mo
U    nl/LC_MESSAGES/messages.po
U    pl/LC_MESSAGES/messages.po
U    sl/LC_MESSAGES/messages.mo
U    sl/LC_MESSAGES/messages.po
Updated to revision 90707.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
verified fixed https://developer.mozilla.org/en-US/demos/
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.