Closed Bug 847328 Opened 11 years ago Closed 11 years ago

Update https://gameon.allizom.org/en-US/ [gameon-staging site]

Categories

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

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: boozeniges, Assigned: cturra)

References

()

Details

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

We've had to push out a couple of additional text and view changes as we look to close the challenge for the year (found in a tag here - https://github.com/mozilla/gameon/tree/v1.1)

I've pushed out to github and wondering if we can do a quick update on staging (and then live once staging is confirmed) please?

Am hoping that now the problems with the update scripts look to be fixed this should be easier than the last one :)
Blocks: 847329
i have modified *our* update script to checkout from a git tag and used it for this push to stage.

[root@genericadm.private.phx1 gameon.allizom.org]# bash -x update
+ CODE_DIR=/data/genericrhel6-stage/src/gameon.allizom.org/gameon
+ VENDOR_DIR=/data/genericrhel6-stage/src/gameon.allizom.org/gameon/vendor
+ update_code
+ echo -e 'Updating code...'
Updating code...
+ cd /data/genericrhel6-stage/src/gameon.allizom.org/gameon
+ git fetch origin -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git checkout -f v1.1 -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/genericrhel6-stage/src/gameon.allizom.org/gameon
+ 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/genericrhel6-stage/src/gameon.allizom.org/gameon
+ git rev-parse HEAD
+ generate_revision_info
Running schema/data migrations...
Copying '/data/genericrhel6-stage/src/gameon.allizom.org/gameon/gameon/base/static/base/css/home.css'

1 static file copied, 150 unmodified.
Running migrations for djcelery:
- Nothing to migrate.
 - Loading initial data for djcelery.
Installed 0 object(s) from 0 fixture(s)
Running migrations for users:
- Nothing to migrate.
 - Loading initial data for users.
Installed 0 object(s) from 0 fixture(s)
Running migrations for submissions:
- Nothing to migrate.
 - Loading initial data for submissions.
Installed 0 object(s) from 0 fixture(s)
Running migrations for events:
- Nothing to migrate.
 - Loading initial data for events.
Installed 0 object(s) from 0 fixture(s)
Deploying code...
[2013-03-04 15:37:46] Running rsync_project
[2013-03-04 15:37:46] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6-stage/src/gameon.allizom.org/ /data/genericrhel6-stage/www/gameon.allizom.org/
[2013-03-04 15:37:59] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6-stage/src/gameon.allizom.org/ /data/genericrhel6-stage/www/gameon.allizom.org/ (12.679s)
[2013-03-04 15:37:59] Finished rsync_project (12.680s)
[2013-03-04 15:37:59] Running commit_www
[2013-03-04 15:37:59] [localhost] running: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['gameon.allizom.org']'
[2013-03-04 15:38:37] [localhost] finished: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['gameon.allizom.org']' (38.133s)
[localhost] out: [master 7a35592] deploy [gameon.allizom.org]
[localhost] out: 9 files changed, 49 insertions(+), 24 deletions(-)
[2013-03-04 15:38:37] Finished commit_www (38.134s)


[root@genericadm.private.phx1 gameon]# git log -1
commit 03e0c95a0ec57b247f9bfb32361f515ee104c44a
Merge: 7dfe629 8dd358a
Author: Ross Bruniges <rossbruniges@gmail.com>
Date:   Mon Mar 4 02:36:16 2013 -0800

    Merge pull request #132 from rossbruniges/more-text

    Adding in a number of minor fixes
Assignee: server-ops-webops → cturra
Whiteboard: [triaged 20130304][push interrupt]
That's looking awesome Chris.

Alas I had some additional features sent to us overnight - found in this tag https://github.com/mozilla/gameon/tree/v1.2

Using the new script can we try pushing that one to? 

I'll update the live ticket to highlight which tag to push.

Thanks Ross
v1.2 push to stage complete.

[root@genericadm.private.phx1 gameon.allizom.org]# bash -x update v1.2
+ '[' 1 -lt 1 ']'
+ TAG=v1.2
+ CODE_DIR=/data/genericrhel6-stage/src/gameon.allizom.org/gameon
+ VENDOR_DIR=/data/genericrhel6-stage/src/gameon.allizom.org/gameon/vendor
+ update_code
+ echo -e 'Updating code...'
Updating code...
+ cd /data/genericrhel6-stage/src/gameon.allizom.org/gameon
+ git fetch origin -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git checkout -f v1.2 -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/genericrhel6-stage/src/gameon.allizom.org/gameon
+ 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/genericrhel6-stage/src/gameon.allizom.org/gameon
+ git rev-parse HEAD
+ generate_revision_info
Running schema/data migrations...

0 static files copied, 151 unmodified.
Running migrations for djcelery:
- Nothing to migrate.
 - Loading initial data for djcelery.
Installed 0 object(s) from 0 fixture(s)
Running migrations for users:
- Nothing to migrate.
 - Loading initial data for users.
Installed 0 object(s) from 0 fixture(s)
Running migrations for submissions:
 - Migrating forwards to 0013_auto__add_field_entry_is_grand_champ.
 > submissions:0013_auto__add_field_entry_is_grand_champ
 - Loading initial data for submissions.
Installed 0 object(s) from 0 fixture(s)
Running migrations for events:
- Nothing to migrate.
 - Loading initial data for events.
Installed 0 object(s) from 0 fixture(s)
Deploying code...
[2013-03-05 09:35:20] Running rsync_project
[2013-03-05 09:35:20] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6-stage/src/gameon.allizom.org/ /data/genericrhel6-stage/www/gameon.allizom.org/
[2013-03-05 09:35:28] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6-stage/src/gameon.allizom.org/ /data/genericrhel6-stage/www/gameon.allizom.org/ (7.658s)
[2013-03-05 09:35:28] Finished rsync_project (7.659s)
[2013-03-05 09:35:28] Running commit_www
[2013-03-05 09:35:28] [localhost] running: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['gameon.allizom.org']'
[2013-03-05 09:36:15] [localhost] finished: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['gameon.allizom.org']' (47.187s)
[localhost] out: [master d7e9dbd] deploy [gameon.allizom.org]
[localhost] out: 12 files changed, 152 insertions(+), 23 deletions(-)
[localhost] out: create mode 100644 gameon.allizom.org/gameon/gameon/submissions/migrations/0013_auto__add_field_entry_is_grand_champ.py
[2013-03-05 09:36:15] Finished commit_www (47.187s)
Just looking over things but that's looking awesome, thanks Chris. When confirmed will close!
Awsome!
Status: NEW → RESOLVED
Closed: 11 years ago
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.