Closed Bug 860448 Opened 11 years ago Closed 11 years ago

Datazilla Repository Update

Categories

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

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jeads, Assigned: cturra)

Details

(Whiteboard: [push interrupt])

A new datazilla repository is ready to push to stage. This release includes the following changes:

1.) Added facilities for removing b2g applications by name in the UI and removed the 'ftu' and 'marketplace' applications from the display.

2.) Added a new manage command to transfer json objects from the production database to the development database to support development.
push to stage complete.

[root@datazillaadm.private.scl3 datazilla.allizom.org]# bash -x update
+ CODE_DIR=/data/datazilla-stage/src/datazilla.allizom.org/datazilla
+ VENDOR_DIR=/data/datazilla-stage/src/datazilla.allizom.org/datazilla/vendor
+ update_code
+ echo -e 'Updating code...'
Updating code...
+ cd /data/datazilla-stage/src/datazilla.allizom.org/datazilla
+ git fetch origin -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git checkout -f origin/master -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git submodule sync -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git submodule update --init --recursive -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Cleaning gitignore and pyc files...'
Cleaning gitignore and pyc files...
+ cd /data/datazilla-stage/src/datazilla.allizom.org/datazilla
+ find . -type f -name .gitignore -or -name '*.pyc' -delete
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Storing revision information...'
Storing revision information...
+ cd /data/datazilla-stage/src/datazilla.allizom.org/datazilla
+ git rev-parse HEAD
update: line 40: /data/datazilla-stage/src/datazilla.allizom.org/datazilla/media/revision: No such file or directory
+ generate_revision_info
update: line 43: /data/datazilla-stage/src/datazilla.allizom.org/datazilla/media/revision_info.txt: No such file or directory
+ echo -e 'Deploying code...'
Deploying code...
+ '[' xterm == dumb ']'
+ /data/datazilla-stage/deploy datazilla.allizom.org
[2013-04-10 13:15:30] Running rsync_project
[2013-04-10 13:15:30] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/datazilla-stage/src/datazilla.allizom.org/ /data/datazilla-stage/www/datazilla.allizom.org/
[2013-04-10 13:15:31] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/datazilla-stage/src/datazilla.allizom.org/ /data/datazilla-stage/www/datazilla.allizom.org/ (0.295s)
[2013-04-10 13:15:31] Finished rsync_project (0.295s)
[2013-04-10 13:15:31] Running commit_www
[2013-04-10 13:15:31] [localhost] running: cd /data/datazilla-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['datazilla.allizom.org']'
[2013-04-10 13:15:31] [localhost] finished: cd /data/datazilla-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['datazilla.allizom.org']' (0.238s)
[localhost] out: [master a4868f9] deploy [datazilla.allizom.org]
[localhost] out: 5 files changed, 180 insertions(+), 24 deletions(-)
[localhost] out: create mode 100644 datazilla.allizom.org/datazilla/datazilla/controller/admin/management/commands/transfer_production_data.py
[2013-04-10 13:15:31] Finished commit_www (0.239s)
[2013-04-10 13:15:31] Running push_www
[2013-04-10 13:15:31] [datazilla1.stage.webapp.scl3.mozilla.com] running: /data/bin/update-www.sh datazilla.allizom.org
[2013-04-10 13:15:33] [datazilla1.stage.webapp.scl3.mozilla.com] finished: /data/bin/update-www.sh datazilla.allizom.org (2.489s)
[2013-04-10 13:15:33] Finished push_www (2.490s)
Assignee: server-ops-webops → cturra
Whiteboard: [push interrupt]
Stage looks good, please go ahead and push this to production. Thank you!
push to prod complete.

[root@datazillaadm.private.scl3 datazilla.mozilla.org]# bash -x update
+ CODE_DIR=/data/datazilla/src/datazilla.mozilla.org/datazilla
+ VENDOR_DIR=/data/datazilla/src/datazilla.mozilla.org/datazilla/vendor
+ update_code
+ echo -e 'Updating code...'
Updating code...
+ cd /data/datazilla/src/datazilla.mozilla.org/datazilla
+ git fetch origin -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git checkout -f origin/master -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git submodule sync -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git submodule update --init --recursive -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Cleaning gitignore and pyc files...'
Cleaning gitignore and pyc files...
+ cd /data/datazilla/src/datazilla.mozilla.org/datazilla
+ find . -type f -name .gitignore -or -name '*.pyc' -delete
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Storing revision information...'
Storing revision information...
+ cd /data/datazilla/src/datazilla.mozilla.org/datazilla
+ git rev-parse HEAD
update: line 40: /data/datazilla/src/datazilla.mozilla.org/datazilla/media/revision: No such file or directory
+ generate_revision_info
update: line 43: /data/datazilla/src/datazilla.mozilla.org/datazilla/media/revision_info.txt: No such file or directory
+ echo -e 'Deploying code...'
Deploying code...
+ '[' xterm == dumb ']'
+ /data/datazilla/deploy datazilla.mozilla.org
[2013-04-10 14:33:02] Running rsync_project
[2013-04-10 14:33:02] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/datazilla/src/datazilla.mozilla.org/ /data/datazilla/www/datazilla.mozilla.org/
[2013-04-10 14:33:03] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/datazilla/src/datazilla.mozilla.org/ /data/datazilla/www/datazilla.mozilla.org/ (0.317s)
[2013-04-10 14:33:03] Finished rsync_project (0.318s)
[2013-04-10 14:33:03] Running commit_www
[2013-04-10 14:33:03] [localhost] running: cd /data/datazilla/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['datazilla.mozilla.org']'
[2013-04-10 14:33:03] [localhost] finished: cd /data/datazilla/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['datazilla.mozilla.org']' (0.227s)
[localhost] out: [master 019d783] deploy [datazilla.mozilla.org]
[localhost] out: 6 files changed, 182 insertions(+), 24 deletions(-)
[localhost] out: create mode 100644 datazilla.mozilla.org/datazilla/datazilla/controller/admin/management/commands/transfer_production_data.py
[2013-04-10 14:33:03] Finished commit_www (0.227s)
[2013-04-10 14:33:03] Running push_www
[2013-04-10 14:33:03] [datazilla1.webapp.scl3.mozilla.com] running: /data/bin/update-www.sh datazilla.mozilla.org
[2013-04-10 14:33:06] [datazilla1.webapp.scl3.mozilla.com] finished: /data/bin/update-www.sh datazilla.mozilla.org (2.905s)
[2013-04-10 14:33:06] Finished push_www (2.906s)
Status: NEW → RESOLVED
Closed: 11 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
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.