Closed Bug 1081995 Opened 10 years ago Closed 10 years ago

[basket] Please push tag to stage then prod.

Categories

(Infrastructure & Operations Graveyard :: WebOps: Product Delivery, task)

task
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: pmac, Assigned: cliang)

References

Details

(Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1605] )

Please push tag v2014.5 to stage, then we'll test and let you know when we're ready for production.

Thanks!
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1606] [kanban:https://kanbanize.com/ctrl_board/4/1605]
Assignee: server-ops-webops → cliang
Blocks: 1082079
push to stage complete. Please update the bug when your testing is complete and things are ready to push to production.

[root@genericadm.private.phx1 basket.allizom.org]# bash -x update
+ CODE_DIR=/data/genericrhel6-stage/src/basket.allizom.org/basket
+ VENDOR_DIR=/data/genericrhel6-stage/src/basket.allizom.org/basket/vendor
+ LOCALE_DIR=/data/genericrhel6-stage/src/basket.allizom.org/basket/locale
+ techo 'Updating code.'
++ date -u '+%F %T'
+ STAMP='[2014-10-13 18:13:31]'
+ echo '[2014-10-13 18:13:31] Updating code.'
[2014-10-13 18:13:31] Updating code.
+ cd /data/genericrhel6-stage/src/basket.allizom.org/basket
+ git fetch origin -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git checkout -f v2014.5 -q
+ git submodule sync -q
+ git submodule update --init -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git log -3
+ tee /data/genericrhel6-stage/src/basket.allizom.org/basket/revision_info.txt
commit 955fdbd237d4cdfeed8fb8a0203a4b2c8ce6bc7e
Author: Paul McLanahan <pmac@mozilla.com>
Date:   Sat Oct 11 00:15:31 2014 -0400

    Add email format support for get-involved.

    Add "name" info to stewards email.

commit f73924ca2ff244801d3dab42e1722be1fe51e42d
Merge: d98c991 6218efb
Author: Paul McLanahan <pmac@mozilla.com>
Date:   Thu Oct 9 15:20:09 2014 -0400

    Merge pull request #115 from Osmose/locale-stewards

    Fix bug 1080066: Add per-locale stewards and fix email field.

commit 6218efbd11d197f5d0f573d5b1325dc6473e8a22
Author: Michael Kelly <mkelly@mozilla.com>
Date:   Thu Oct 9 10:28:10 2014 -0400

    Fix bug 1080066: Add per-locale stewards and fix email field.

    Adds a new model for tracking per-locale stewards for a given interest.

    Removes the magic in CommaSeparatedEmailField that converts the value
    to a list, as this was screwing up the text inputs in the admin.

    Also uses a text input for the fields instead of a textarea.
+ techo 'Updating vendor.'
++ date -u '+%F %T'
+ STAMP='[2014-10-13 18:13:32]'
+ echo '[2014-10-13 18:13:32] Updating vendor.'
[2014-10-13 18:13:32] Updating vendor.
+ cd /data/genericrhel6-stage/src/basket.allizom.org/basket/vendor
+ git submodule sync -q
+ git submodule update --init -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ techo 'Collect static assets.'
++ date -u '+%F %T'
+ STAMP='[2014-10-13 18:13:32]'
+ echo '[2014-10-13 18:13:32] Collect static assets.'
[2014-10-13 18:13:32] Collect static assets.
+ cd /data/genericrhel6-stage/src/basket.allizom.org/basket
+ python manage.py collectstatic --noinput -v 0
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ techo 'Sync & migrate database.'
++ date -u '+%F %T'
+ STAMP='[2014-10-13 18:13:34]'
+ echo '[2014-10-13 18:13:34] Sync & migrate database.'
[2014-10-13 18:13:34] Sync & migrate database.
+ cd /data/genericrhel6-stage/src/basket.allizom.org/basket
+ python manage.py syncdb --noinput
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Synced:
 > corsheaders
 > south
 > raven.contrib.django.raven_compat
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.sites
 > django.contrib.messages
 > django.contrib.admin
 > django.contrib.staticfiles

Not synced (use migrations):
 - news
 - djcelery
(use ./manage.py migrate to migrate these)
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ python manage.py migrate --noinput
Running migrations for news:
 - Migrating forwards to 0011_auto__add_localestewards__add_unique_localestewards_interest_locale__d.
 > news:0009_auto__add_interest
 > news:0010_auto__add_field_interest_steward_emails
 > news:0011_auto__add_localestewards__add_unique_localestewards_interest_locale__d
 - Loading initial data for news.
Installed 0 object(s) from 0 fixture(s)
Running migrations for djcelery:
- Nothing to migrate.
 - Loading initial data for djcelery.
Installed 0 object(s) from 0 fixture(s)
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ techo 'Clean up old deploy.'
++ date -u '+%F %T'
+ STAMP='[2014-10-13 18:13:36]'
+ echo '[2014-10-13 18:13:36] Clean up old deploy.'
[2014-10-13 18:13:36] Clean up old deploy.
+ cd /data/genericrhel6-stage/src/basket.allizom.org/basket
+ find . -type f -name .gitignore -or -name '*.pyc' -delete
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/genericrhel6-stage/src/basket.allizom.org/basket
+ touch wsgi/basket.wsgi
+ techo Deploying.
++ date -u '+%F %T'
+ STAMP='[2014-10-13 18:13:38]'
+ echo '[2014-10-13 18:13:38] Deploying.'
[2014-10-13 18:13:38] Deploying.
+ '[' xterm == dumb ']'
+ /data/genericrhel6-stage/deploy basket.allizom.org
We are ready for prod. Thanks :cyliang!
Turns out we need this very soon. Required for new pages launching on bedrock today.
Severity: normal → blocker
Pushed out to production.

# ./update
[2014-10-15 16:01:59] Updating code.
commit 955fdbd237d4cdfeed8fb8a0203a4b2c8ce6bc7e
Author: Paul McLanahan <pmac@mozilla.com>
Date:   Sat Oct 11 00:15:31 2014 -0400

    Add email format support for get-involved.

    Add "name" info to stewards email.

commit f73924ca2ff244801d3dab42e1722be1fe51e42d
Merge: d98c991 6218efb
Author: Paul McLanahan <pmac@mozilla.com>
Date:   Thu Oct 9 15:20:09 2014 -0400

    Merge pull request #115 from Osmose/locale-stewards

    Fix bug 1080066: Add per-locale stewards and fix email field.

commit 6218efbd11d197f5d0f573d5b1325dc6473e8a22
Author: Michael Kelly <mkelly@mozilla.com>
Date:   Thu Oct 9 10:28:10 2014 -0400

    Fix bug 1080066: Add per-locale stewards and fix email field.

    Adds a new model for tracking per-locale stewards for a given interest.

    Removes the magic in CommaSeparatedEmailField that converts the value
    to a list, as this was screwing up the text inputs in the admin.

    Also uses a text input for the fields instead of a textarea.
[2014-10-15 16:02:00] Updating vendor.
[2014-10-15 16:02:01] Collect static assets.
[2014-10-15 16:02:05] Sync & migrate database.
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Synced:
 > corsheaders
 > south
 > raven.contrib.django.raven_compat
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.sites
 > django.contrib.messages
 > django.contrib.admin
 > django.contrib.staticfiles

Not synced (use migrations):
 - news
 - djcelery
(use ./manage.py migrate to migrate these)
Running migrations for news:
 - Migrating forwards to 0011_auto__add_localestewards__add_unique_localestewards_interest_locale__d.
 > news:0009_auto__add_interest
 > news:0010_auto__add_field_interest_steward_emails
 > news:0011_auto__add_localestewards__add_unique_localestewards_interest_locale__d
 - Loading initial data for news.
Installed 0 object(s) from 0 fixture(s)
Running migrations for djcelery:
- Nothing to migrate.
 - Loading initial data for djcelery.
Installed 0 object(s) from 0 fixture(s)
[2014-10-15 16:02:08] Clean up old deploy.
[2014-10-15 16:02:10] Deploying.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Looks great. Thanks for jumping on this :cyliang!!
Status: RESOLVED → VERIFIED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.