[basket] Push basket master branch to stage, then prod.

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: pmac, Assigned: cturra)

Tracking

Details

(Whiteboard: [triaged 20130123][push interrupt])

Need a push for adding a newsletter for in-product Firefox OS subscriptions.
Let me know when it's on stage, I'll verify, then we can go to prod.
Blocks: 826292
(Assignee)

Comment 2

6 years ago
:pmac - push to stage complete. 

[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
+ date
Wed Jan 23 11:01:45 PST 2013
+ echo -e 'Updating code...'
Updating code...
+ cd /data/genericrhel6-stage/src/basket.allizom.org/basket
+ git fetch origin -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git checkout -f origin/master -q
+ git submodule sync -q
+ git submodule update --init -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git log -3
commit 39f05a7339293b6e760913152cf0b05f65ee4740
Author: Paul McLanahan <paul@mclanahan.net>
Date:   Wed Jan 23 13:46:52 2013 -0500

    Bug 826292: Add Firefox OS newsletter.

commit 8e06d9aa018ffd71eb6407e0910a17e76987e216
Merge: 0ceaf3b fff0ca7
Author: Paul McLanahan <pmclanahan@gmail.com>
Date:   Wed Dec 19 12:49:39 2012 -0800

    Merge pull request #12 from pmclanahan/bug-811808-more-dataextension-data
    
    Bug 811808: Add endpoint for populating phonebook data ext.

commit fff0ca744554ed8a93fc4bfc6941c9e5d7d3f99b
Author: Paul McLanahan <paul@mclanahan.net>
Date:   Wed Dec 19 13:32:29 2012 -0500

    Bug 811808: Add endpoint for populating phonebook data ext.
+ echo -e 'Updating vendor...'
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 ]]
+ 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
+ echo -e 'Deploying code...'
Deploying code...
+ '[' xterm == dumb ']'
+ /data/genericrhel6-stage/deploy basket.allizom.org
[2013-01-23 11:01:48] Running rsync_project
[2013-01-23 11:01:48] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6-stage/src/basket.allizom.org/ /data/genericrhel6-stage/www/basket.allizom.org/
[2013-01-23 11:01:50] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6-stage/src/basket.allizom.org/ /data/genericrhel6-stage/www/basket.allizom.org/ (1.500s)
[2013-01-23 11:01:50] Finished rsync_project (1.501s)
[2013-01-23 11:01:50] Running commit_www
[2013-01-23 11:01:50] [localhost] running: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['basket.allizom.org']'
[2013-01-23 11:02:37] [localhost] finished: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['basket.allizom.org']' (47.399s)
[localhost] out: [master 597d560] deploy [basket.allizom.org]
[localhost] out: 1 file changed, 1 insertion(+)
[2013-01-23 11:02:37] Finished commit_www (47.400s)
Assignee: server-ops-webops → cturra
Status: NEW → ASSIGNED
Whiteboard: [triaged 20130123][push interrupt]
Works great. Set course for prod. Engage!
(Assignee)

Comment 4

6 years ago
:pmac - we have arrived at destination: production!

[root@genericadm.private.phx1 basket.mozilla.org]# bash -x update
+ CODE_DIR=/data/genericrhel6/src/basket.mozilla.org/basket
+ VENDOR_DIR=/data/genericrhel6/src/basket.mozilla.org/basket/vendor
+ LOCALE_DIR=/data/genericrhel6/src/basket.mozilla.org/basket/locale
+ date
Wed Jan 23 13:24:14 PST 2013
+ echo -e 'Updating code...'
Updating code...
+ cd /data/genericrhel6/src/basket.mozilla.org/basket
+ git fetch origin -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git checkout -f origin/master -q
+ git submodule sync -q
+ git submodule update --init -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git log -3
commit 39f05a7339293b6e760913152cf0b05f65ee4740
Author: Paul McLanahan <paul@mclanahan.net>
Date:   Wed Jan 23 13:46:52 2013 -0500

    Bug 826292: Add Firefox OS newsletter.

commit 8e06d9aa018ffd71eb6407e0910a17e76987e216
Merge: 0ceaf3b fff0ca7
Author: Paul McLanahan <pmclanahan@gmail.com>
Date:   Wed Dec 19 12:49:39 2012 -0800

    Merge pull request #12 from pmclanahan/bug-811808-more-dataextension-data
    
    Bug 811808: Add endpoint for populating phonebook data ext.

commit fff0ca744554ed8a93fc4bfc6941c9e5d7d3f99b
Author: Paul McLanahan <paul@mclanahan.net>
Date:   Wed Dec 19 13:32:29 2012 -0500

    Bug 811808: Add endpoint for populating phonebook data ext.
+ echo -e 'Updating vendor...'
Updating vendor...
+ cd /data/genericrhel6/src/basket.mozilla.org/basket/vendor
+ git submodule sync -q
+ git submodule update --init -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/genericrhel6/src/basket.mozilla.org/basket
+ find . -type f -name .gitignore -or -name '*.pyc' -delete
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/genericrhel6/src/basket.mozilla.org/basket
+ touch wsgi/basket.wsgi
+ echo -e 'Deploying code...'
Deploying code...
+ '[' xterm == dumb ']'
+ /data/genericrhel6/deploy basket.mozilla.org
[2013-01-23 13:24:17] Running rsync_project
[2013-01-23 13:24:17] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6/src/basket.mozilla.org/ /data/genericrhel6/www/basket.mozilla.org/
[2013-01-23 13:24:18] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6/src/basket.mozilla.org/ /data/genericrhel6/www/basket.mozilla.org/ (0.973s)
[2013-01-23 13:24:18] Finished rsync_project (0.974s)
[2013-01-23 13:24:18] Running commit_www
[2013-01-23 13:24:18] [localhost] running: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['basket.mozilla.org']'
[2013-01-23 13:24:45] [localhost] finished: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['basket.mozilla.org']' (27.295s)
[localhost] out: [master c7a03aa] deploy [basket.mozilla.org]
[localhost] out: 1 file changed, 1 insertion(+)
[2013-01-23 13:24:45] Finished commit_www (27.295s)
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Blocks: 835363
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.