Closed Bug 867803 Opened 11 years ago Closed 11 years ago

[QMO] Push updates to stage and prod

Categories

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

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: retornam, Assigned: cturra)

References

()

Details

(Whiteboard: [push interrupt])

We'd like updates to be pushed to stage and prod for QMO. The code can be found it git at https://github.com/mozilla/quality.mozilla.org
Summary: [QMO] Pushupdates to stage and prod → [QMO] Push updates to stage and prod
push to stage complete. let me know when you want this to go to prod.

[root@genericadm.private.phx1 quality.allizom.org]# bash -x update
+ CODE_DIR=/data/genericrhel6-stage/src/quality.allizom.org/quality/qmo_content
+ echo -e 'Updating code...'
Updating code...
+ cd /data/genericrhel6-stage/src/quality.allizom.org/quality/qmo_content
+ git pull
remote: Counting objects: 37, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 28 (delta 20), reused 16 (delta 8)
Unpacking objects: 100% (28/28), done.
From https://github.com/mozilla/quality.mozilla.org
   105649b..5146b4f  master     -> origin/master
Updating 105649b..5146b4f
Fast-forward
 plugins/.DS_Store                             |  Bin 6148 -> 0 bytes
 plugins/browserid/browserid-de_DE.psd         |  Bin 0 -> 70704 bytes
 plugins/browserid/browserid.php               | 2058 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------
 plugins/browserid/login.js                    |  284 +++++++++++++++----
 plugins/browserid/readme.txt                  |   52 ++--
 plugins/browserid/wp-browserid-only-login.php |  398 --------------------------
 themes/QMO5/user-state.php                    |    2 +-
 7 files changed, 1430 insertions(+), 1364 deletions(-)
 delete mode 100644 plugins/.DS_Store
 create mode 100755 plugins/browserid/browserid-de_DE.psd
 delete mode 100755 plugins/browserid/wp-browserid-only-login.php
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ /data/genericrhel6-stage/deploy quality.allizom.org
[2013-05-01 16:01:47] Running rsync_project
[2013-05-01 16:01:47] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6-stage/src/quality.allizom.org/ /data/genericrhel6-stage/www/quality.allizom.org/
[2013-05-01 16:01:49] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6-stage/src/quality.allizom.org/ /data/genericrhel6-stage/www/quality.allizom.org/ (1.738s)
[2013-05-01 16:01:49] Finished rsync_project (1.739s)
[2013-05-01 16:01:49] Running commit_www
[2013-05-01 16:01:49] [localhost] running: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['quality.allizom.org']'
[2013-05-01 16:02:04] [localhost] finished: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['quality.allizom.org']' (15.025s)
[localhost] out: [master a4476ef] deploy [quality.allizom.org]
[localhost] out: 7 files changed, 1470 insertions(+), 1404 deletions(-)
[localhost] out: delete mode 100644 quality.allizom.org/quality/qmo_content/plugins/.DS_Store
[localhost] out: create mode 100755 quality.allizom.org/quality/qmo_content/plugins/browserid/browserid-de_DE.psd
[localhost] out: rewrite quality.allizom.org/quality/qmo_content/plugins/browserid/login.js (75%)
[localhost] out: delete mode 100755 quality.allizom.org/quality/qmo_content/plugins/browserid/wp-browserid-only-login.php
[2013-05-01 16:02:04] Finished commit_www (15.026s)
Assignee: server-ops-webops → cturra
Whiteboard: [push interrupt]
Doh! I needed to make the same change in two places. I just amended my last commit so you can push stage again.
new push to stage complete as requested!

[root@genericadm.private.phx1 quality.allizom.org]# bash -x update
+ CODE_DIR=/data/genericrhel6-stage/src/quality.allizom.org/quality/qmo_content
+ echo -e 'Updating code...'
Updating code...
+ cd /data/genericrhel6-stage/src/quality.allizom.org/quality/qmo_content
+ git pull
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 7 (delta 5), reused 7 (delta 5)
Unpacking objects: 100% (7/7), done.
From https://github.com/mozilla/quality.mozilla.org
 + 5146b4f...f81fc0a master     -> origin/master  (forced update)
Merge made by the 'recursive' strategy.
 themes/QMO4/user-state.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ /data/genericrhel6-stage/deploy quality.allizom.org
[2013-05-02 08:46:43] Running rsync_project
[2013-05-02 08:46:43] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6-stage/src/quality.allizom.org/ /data/genericrhel6-stage/www/quality.allizom.org/
[2013-05-02 08:46:44] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6-stage/src/quality.allizom.org/ /data/genericrhel6-stage/www/quality.allizom.org/ (0.625s)
[2013-05-02 08:46:44] Finished rsync_project (0.626s)
[2013-05-02 08:46:44] Running commit_www
[2013-05-02 08:46:44] [localhost] running: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['quality.allizom.org']'
[2013-05-02 08:46:55] [localhost] finished: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['quality.allizom.org']' (10.866s)
[localhost] out: [master 5721596] deploy [quality.allizom.org]
[localhost] out: 1 file changed, 1 insertion(+), 2 deletions(-)
[2013-05-02 08:46:55] Finished commit_www (10.867s)
fixed on stage please push to production https://quality.allizom.org/
push to prod complete.

[root@genericadm.private.phx1 quality.mozilla.org]# bash -x update
+ CODE_DIR=/data/genericrhel6/src/quality.mozilla.org/quality/qmo_content
+ echo -e 'Updating code...'
Updating code...
+ cd /data/genericrhel6/src/quality.mozilla.org/quality/qmo_content
+ git pull
remote: Counting objects: 40, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 30 (delta 22), reused 18 (delta 10)
Unpacking objects: 100% (30/30), done.
From git://github.com/mozilla/quality.mozilla.org
   105649b..f81fc0a  master     -> origin/master
Updating 105649b..f81fc0a
Fast-forward
 plugins/.DS_Store                             |  Bin 6148 -> 0 bytes
 plugins/browserid/browserid-de_DE.psd         |  Bin 0 -> 70704 bytes
 plugins/browserid/browserid.php               | 2058 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
 plugins/browserid/login.js                    |  284 ++++++++++++++++++++++------
 plugins/browserid/readme.txt                  |   52 ++++--
 plugins/browserid/wp-browserid-only-login.php |  398 ---------------------------------------
 themes/QMO4/user-state.php                    |    3 +-
 themes/QMO5/user-state.php                    |    2 +-
 8 files changed, 1431 insertions(+), 1366 deletions(-)
 delete mode 100644 plugins/.DS_Store
 create mode 100755 plugins/browserid/browserid-de_DE.psd
 delete mode 100755 plugins/browserid/wp-browserid-only-login.php
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ /data/genericrhel6/deploy quality.mozilla.org
[2013-05-02 14:37:40] Running rsync_project
[2013-05-02 14:37:40] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6/src/quality.mozilla.org/ /data/genericrhel6/www/quality.mozilla.org/
[2013-05-02 14:37:43] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6/src/quality.mozilla.org/ /data/genericrhel6/www/quality.mozilla.org/ (3.128s)
[2013-05-02 14:37:43] Finished rsync_project (3.129s)
[2013-05-02 14:37:43] Running commit_www
[2013-05-02 14:37:43] [localhost] running: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['quality.mozilla.org']'
[2013-05-02 14:37:49] [localhost] finished: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['quality.mozilla.org']' (5.535s)
[localhost] out: [master 410f92a] deploy [quality.mozilla.org]
[localhost] out: 9 files changed, 1472 insertions(+), 1407 deletions(-)
[localhost] out: delete mode 100644 quality.mozilla.org/quality/qmo_content/plugins/.DS_Store
[localhost] out: create mode 100755 quality.mozilla.org/quality/qmo_content/plugins/browserid/browserid-de_DE.psd
[localhost] out: rewrite quality.mozilla.org/quality/qmo_content/plugins/browserid/login.js (75%)
[localhost] out: delete mode 100755 quality.mozilla.org/quality/qmo_content/plugins/browserid/wp-browserid-only-login.php
[2013-05-02 14:37:49] Finished commit_www (5.536s)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
verified fixed  https://quality.mozilla.org
Status: RESOLVED → VERIFIED
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.