Closed
Bug 688476
Opened 14 years ago
Closed 14 years ago
Deploy master to stage mozillians.allizom.org
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ozten, Assigned: bhourigan)
References
()
Details
+++ This bug was initially created as a clone of Bug #688170 +++
We should get the latest code onto stage. Please:
1) git pull origin master && git submodule update --init
2) cd vendor
3) git pull origin master && git submodule update --init
4) cd ../directory
5) git pull origin master
6) python vendor/src/schematic/schematic migrations/
7) python manage.py compress_assets
8) reload apache
Comment 1•14 years ago
|
||
These steps should all be handled by the update script for mozillians stage (and the update script should also trigger the deploy at the end).
Going to let Brian do this to experience the joy that is pushing a new version of a stage site.
Brian, this should be as easy as running genericadm.private.phx1.mozilla.com:/data/genericrhel6-stage/src/mozillians.allizom.org/update
but glance through the update script first and make sure the steps above are all taken.
Assignee: server-ops → bhourigan
Assignee | ||
Comment 2•14 years ago
|
||
The update script takes care of steps mentioned with the exception of 'git pull origin master'. In lieu of this, the following actions take place:
git fetch origin -q
git checkout -f origin/master -q
git submodule sync -q
And then:
git submodule update --init -q
Steps 6-8 are handled properly. Please advise if I should proceed.
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to Brian Hourigan [:digi] from comment #2)
Wonderful. fetch + checkout is just like pull.
We'll just mention the update script in future IT requests.
Assignee | ||
Comment 4•14 years ago
|
||
Hi Austin,
Great! I've gone ahead and ran the script. Your deployment should be complete. Please let us know if you have any trouble.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•14 years ago
|
||
Still seeing exceptions. Did all the webheads get the code? Did all apaches get restarted?
Verification:
grep 'def profile_photo' apps/larper/__init__.py
This should show "def profile_photo(self, unique_id, use_master=False):" in new code.
Comment 6•14 years ago
|
||
[root@genericadm.private.phx1 tbpl.mozilla.org]# issue-multi-command genericrhel6-stage 'grep "def profile_photo" /data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py'
[generic1.stage.seamicro.phx1.mozilla.com] running: grep "def profile_photo" /data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py
[generic2.stage.seamicro.phx1.mozilla.com] running: grep "def profile_photo" /data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py
[generic3.stage.seamicro.phx1.mozilla.com] running: grep "def profile_photo" /data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py
[generic4.stage.seamicro.phx1.mozilla.com] running: grep "def profile_photo" /data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py
[generic2.stage.seamicro.phx1.mozilla.com] finished: grep "def profile_photo" /data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py (0.693s)
[generic2.stage.seamicro.phx1.mozilla.com] out: def profile_photo(self, unique_id, use_master=False):
[generic1.stage.seamicro.phx1.mozilla.com] finished: grep "def profile_photo" /data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py (0.701s)
[generic1.stage.seamicro.phx1.mozilla.com] out: def profile_photo(self, unique_id, use_master=False):
[generic4.stage.seamicro.phx1.mozilla.com] finished: grep "def profile_photo" /data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py (0.753s)
[generic4.stage.seamicro.phx1.mozilla.com] out: def profile_photo(self, unique_id, use_master=False):
[generic3.stage.seamicro.phx1.mozilla.com] finished: grep "def profile_photo" /data/www/mozillians.allizom.org/mozillians/apps/larper/__init__.py (0.763s)
[generic3.stage.seamicro.phx1.mozilla.com] out: def profile_photo(self, unique_id, use_master=False):
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•