Closed Bug 984391 Opened 10 years ago Closed 10 years ago

please update aus4 stage/prod to ead9377b9bf1e0d2c1f9f9de44945b01f7ff4518

Categories

(Infrastructure & Operations Graveyard :: WebOps: Product Delivery, task)

task
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bhearsum, Assigned: cturra)

References

Details

A regression with the most recent push was found over the weekend. I just finished testing a fix in dev, can we get it pushed to prod sometime today?
Ran into an error with the update script on dev. I guess we will wait for cturra to get in as he set this up and likely knows why this happened.


+ CODE_DIR=/data/aus-dev/src/aus4-dev.allizom.org/app/
+ echo -e 'Updating code...'
Updating code...
+ cd /data/aus-dev/src/aus4-dev.allizom.org/app/
+ git pull
Updating 2fc40a8..ead9377
error: Your local changes to the following files would be overwritten by merge:
        admin.wsgi
Please, commit your changes or stash them before you can merge.
Aborting
+ checkretval
+ retval=1
+ [[ 1 -gt 0 ]]
+ 'Error!!! Exit status of the last command was 1'
/data/aus-dev/src/aus4-dev.allizom.org/update: line 8: Error!!! Exit status of the last command was 1: command not found
+ exit 1
Flags: needinfo?(cturra)
this has been pushed to stage for both aus4 and aus4-admin. please let me know when you've reviewed this and are happy with it going into prod.

[cturra@ausadm.private.phx1 aus4.allizom.org]$ sudo bash -x update
+ CODE_DIR=/data/aus-stage/src/aus4.allizom.org/app/
+ echo -e 'Updating code...'
Updating code...
+ cd /data/aus-stage/src/aus4.allizom.org/app/
+ git pull
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 5), reused 1 (delta 0)
Unpacking objects: 100% (6/6), done.
From https://github.com/mozilla/balrog
   9ff17bd..ead9377  master     -> origin/master
Updating 9ff17bd..ead9377
Fast-forward
 auslib/db.py           |  9 +++++++--
 auslib/test/test_db.py | 21 +++++++++++++--------
 2 files changed, 20 insertions(+), 10 deletions(-)
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/aus-stage/src/aus4.allizom.org/app/
+ git rev-parse HEAD
+ /data/aus-stage/deploy -n aus4.allizom.org

[cturra@ausadm.private.phx1 aus4-admin.allizom.org]$ sudo bash -x  update
+ CODE_DIR=/data/aus-stage/src/aus4-admin.allizom.org/app
+ VENDOR_DIR=/data/aus-stage/src/aus4-admin.allizom.org/app/vendor
+ update_code
+ echo -e 'Updating code...'
Updating code...
+ cd /data/aus-stage/src/aus4-admin.allizom.org/app
+ git pull -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Updating vendor submodules...'
Updating vendor submodules...
+ git submodule update --init --recursive
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Cleaning gitignore and pyc files...'
Cleaning gitignore and pyc files...
+ cd /data/aus-stage/src/aus4-admin.allizom.org/app
+ 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/aus-stage/src/aus4-admin.allizom.org/app
+ git rev-parse HEAD
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ touch /data/aus-stage/src/aus4-admin.allizom.org/app/admin.wsgi
+ echo -e 'Deploying code...'
Deploying code...
+ '[' xterm == dumb ']'
+ /data/aus-stage/deploy aus4-admin.allizom.org
Assignee: server-ops-webops → cturra
Flags: needinfo?(cturra) → needinfo?(bhearsum)
OS: Linux → All
Hardware: x86_64 → All
as discussed on irc, i have now pushed this to prod.

[cturra@ausadm.private.phx1 aus4.mozilla.org]$ sudo bash -x update
+ CODE_DIR=/data/aus/src/aus4.mozilla.org/app/
+ echo -e 'Updating code...'
Updating code...
+ cd /data/aus/src/aus4.mozilla.org/app/
+ git pull
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 5), reused 1 (delta 0)
Unpacking objects: 100% (6/6), done.
From git://github.com/mozilla/balrog
   9ff17bd..ead9377  master     -> origin/master
Updating 9ff17bd..ead9377
Fast-forward
 auslib/db.py           |  9 +++++++--
 auslib/test/test_db.py | 21 +++++++++++++--------
 2 files changed, 20 insertions(+), 10 deletions(-)
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/aus/src/aus4.mozilla.org/app/
+ git rev-parse HEAD
+ /data/aus/deploy -n aus4.mozilla.org

[cturra@ausadm.private.phx1 aus4-admin.mozilla.org]$ sudo bash -x update
+ CODE_DIR=/data/aus-admin/src/aus4-admin.mozilla.org/app
+ VENDOR_DIR=/data/aus-admin/src/aus4-admin.mozilla.org/app/vendor
+ update_code
+ echo -e 'Updating code...'
Updating code...
+ cd /data/aus-admin/src/aus4-admin.mozilla.org/app
+ git pull -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Updating vendor submodules...'
Updating vendor submodules...
+ git submodule update --init --recursive
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Cleaning gitignore and pyc files...'
Cleaning gitignore and pyc files...
+ cd /data/aus-admin/src/aus4-admin.mozilla.org/app
+ 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/aus-admin/src/aus4-admin.mozilla.org/app
+ git rev-parse HEAD
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ touch /data/aus-admin/src/aus4-admin.mozilla.org/app/admin.wsgi
+ echo -e 'Deploying code...'
Deploying code...
+ '[' xterm == dumb ']'
+ /data/aus-admin/deploy aus4-admin.mozilla.org
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(bhearsum)
Resolution: --- → FIXED
Looks good, thanks folks!
Status: RESOLVED → VERIFIED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.