Status

Infrastructure & Operations
WebOps: Other
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: boozeniges, Assigned: cturra)

Tracking

Details

(URL)

(Reporter)

Description

6 years ago
After a very busy work week have only just been able to review that everything worked as expected on the push to stage last week.

Everything is looking good so hoping we can push the production repo to live. 

Just a code update, no DB syncing or migrations needed to be run.

Saying that, as we're pushing to live can we please have a DB back-up made before running anything just in case of DB error.

Thanks very much,

Ross
(Assignee)

Updated

6 years ago
Assignee: server-ops-webops → cturra
(Assignee)

Comment 1

6 years ago
push complete with db dump.

[root@genericadm.private.phx1 mozillaignite.org]# bash -x update 
+ CODE_DIR=/data/genericrhel6/src/mozillaignite.org/mozillaignite
+ VENDOR_DIR=/data/genericrhel6/src/mozillaignite.org/mozillaignite/vendor
+ update_code
+ echo -e 'Updating code...'
Updating code...
+ cd /data/genericrhel6/src/mozillaignite.org/mozillaignite
+ 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 'Updating vendor submodules...'
Updating vendor submodules...
+ cd /data/genericrhel6/src/mozillaignite.org/mozillaignite/vendor
+ 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/genericrhel6/src/mozillaignite.org/mozillaignite
+ find . -type f -name .gitignore -or -name '*.pyc' -delete
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Running migrate...'
Running migrate...
+ echo -e 'Compressing assets'
Compressing assets
+ python manage.py compress_assets
To turn on cache busting, use settings.CACHEBUST_IMGS
Unchanged files skipped for minification: 3
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Storing revision information...'
Storing revision information...
+ cd /data/genericrhel6/src/mozillaignite.org/mozillaignite
+ git rev-parse HEAD
+ generate_revision_info
Deploying code...
[2012-09-17 09:21:06] Running rsync_project
[2012-09-17 09:21:06] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6/src/mozillaignite.org/ /data/genericrhel6/www/mozillaignite.org/
[2012-09-17 09:21:07] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6/src/mozillaignite.org/ /data/genericrhel6/www/mozillaignite.org/ (1.301s)
[2012-09-17 09:21:07] Finished rsync_project (1.302s)
[2012-09-17 09:21:07] Running commit_www
[2012-09-17 09:21:07] [localhost] running: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['mozillaignite.org']'
[2012-09-17 09:21:22] [localhost] finished: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['mozillaignite.org']' (15.084s)
[localhost] out: [master ded37a0] deploy [mozillaignite.org]
[localhost] out: 9 files changed, 43 insertions(+), 33 deletions(-)
[2012-09-17 09:21:22] Finished commit_www (15.085s)
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
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.