[basket] Push new tag to stage, then prod

RESOLVED INVALID

Status

Infrastructure & Operations Graveyard
WebOps: Product Delivery
--
major
RESOLVED INVALID
3 years ago
2 years ago

People

(Reporter: pmac, Assigned: cyliang)

Tracking

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/1289] )

Please push the tag v2015.3 to stage, then after some testing by us, prod.

I bumped the severity on this one a bit since this is "spring campaign" related and therefore a bit of a rush. Today or tomorrow would be great.

Thanks!

Updated

3 years ago
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/1289]
(Assignee)

Updated

3 years ago
Assignee: server-ops-webops → cliang
(Assignee)

Comment 1

3 years ago
The push to stage is completed.   Let me know when it should get pushed to prod.

# bash -x update v2015.3
+ 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
+ '[' v2015.3 '!=' '' ']'
+ TAG=v2015.3
+ techo 'Updating code.'
++ date -u '+%F %T'
+ STAMP='[2015-05-28 16:52:32]'
+ echo '[2015-05-28 16:52:32] Updating code.'
[2015-05-28 16:52:32] Updating code.
+ cd /data/genericrhel6-stage/src/basket.allizom.org/basket
+ git fetch origin -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git checkout -f v2015.3 -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 d9a3be6e2dd9685c4b1f95a7a911b99062ffcf12
Merge: b4c375c ae85b44
Author: Josh Mize <jgmize@gmail.com>
Date:   Thu May 28 09:38:31 2015 -0500

    Merge pull request #136 from pmclanahan/add-sms-messages-1169026

    Bug 1169026: Add SMS messages for spring campaign.

commit ae85b447dbc9b22dd8d966bcf347a270f23e5de8
Author: Paul McLanahan <pmac@mozilla.com>
Date:   Thu May 28 10:32:26 2015 -0400

    Bug 1169026: Add SMS messages for spring campaign.

    Also fix a flake8 complaint.

commit b4c375cf1f1a62920f06dc6ce258e471d97f7974
Author: Paul McLanahan <pmac@mozilla.com>
Date:   Wed Apr 15 15:00:10 2015 -0400

    Bug 1154584: Disable ratelimit for email subscribe.

    We think it might be causing problems. Disabling temporarily
    to see if our theory is correct.
+ techo 'Updating vendor.'
++ date -u '+%F %T'
+ STAMP='[2015-05-28 16:52:33]'
+ echo '[2015-05-28 16:52:33] Updating vendor.'
[2015-05-28 16:52:33] 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='[2015-05-28 16:52:34]'
+ echo '[2015-05-28 16:52:34] Collect static assets.'
[2015-05-28 16:52:34] 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='[2015-05-28 16:52:36]'
+ echo '[2015-05-28 16:52:36] Sync & migrate database.'
[2015-05-28 16:52:36] Sync & migrate database.
+ cd /data/genericrhel6-stage/src/basket.allizom.org/basket
+ python manage.py syncdb --noinput
/data/genericrhel6-stage/src/basket.allizom.org/basket/vendor/packages/django-picklefield/src/picklefield/compat.py:13: DeprecationWarning: django.utils.simplejson is deprecated; use json instead.
  from django.utils import simplejson as json
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
/data/genericrhel6-stage/src/basket.allizom.org/basket/vendor/packages/django-picklefield/src/picklefield/compat.py:13: DeprecationWarning: django.utils.simplejson is deprecated; use json instead.
  from django.utils import simplejson as json
Running migrations for news:
- Nothing to migrate.
 - 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='[2015-05-28 16:52:38]'
+ echo '[2015-05-28 16:52:38] Clean up old deploy.'
[2015-05-28 16:52:38] 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='[2015-05-28 16:52:39]'
+ echo '[2015-05-28 16:52:39] Deploying.'
[2015-05-28 16:52:39] Deploying.
+ '[' xterm == dumb ']'
+ /data/genericrhel6-stage/deploy basket.allizom.org
(Assignee)

Updated

3 years ago
Flags: needinfo?(pmac)
Thanks for hoping on this :cyliang. Things changed Friday and we had to postpone this feature rollout. It's fine to leave this on stage though. I'll get back to you as soon as I know more. Closing for now.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(pmac)
Resolution: --- → INVALID
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.