ReleaseEngineering/How To/Update Mercurial: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 138: Line 138:
* login to your host and run puppet
* login to your host and run puppet
** '''''CHANGE THE PUPPET ARGS APPROPRIATELY''''
** '''''CHANGE THE PUPPET ARGS APPROPRIATELY''''
  ssh root@t-snow-r4-0000.build.mozilla.org
  SLAVE=t-snow-r4-0001
  puppet agent --server foo --test --environment jwood
ssh root@$SLAVE.build.mozilla.org
USER=yourusername
  puppet agent --server foo --test --environment $USER
* change to cltbld
* change to cltbld
  su - cltbld
  su - cltbld
Line 196: Line 198:
* login to your host and run puppet
* login to your host and run puppet
** '''''CHANGE THE PUPPET ARGS APPROPRIATELY''''
** '''''CHANGE THE PUPPET ARGS APPROPRIATELY''''
  ssh root@talos-mtnlion-r5-XXX.build.mozilla.org
  SLAVE=talos-mtnlion-r5-001
  puppet agent --server foo --test --environment jwood
ssh root@$SLAVE.build.mozilla.org
USER=yourusername
  puppet agent --server foo --test --environment $USER
* change to cltbld
* change to cltbld
  su - cltbld
  su - cltbld
Line 238: Line 242:
* login to your host and run puppet
* login to your host and run puppet
** '''''CHANGE THE PUPPET ARGS APPROPRIATELY''''
** '''''CHANGE THE PUPPET ARGS APPROPRIATELY''''
  ssh root@talos-t-yosemite-r5-XXXX.build.mozilla.org
  SLAVE=talos-t-yosemite-r5-0001
  puppet agent --server foo --test --environment jwood
ssh root@$SLAVE.build.mozilla.org
USER=yourusername
  puppet agent --server foo --test --environment $USER
* change to cltbld
* change to cltbld
  su - cltbld
  su - cltbld
Line 272: Line 278:


* Transfer the files from local to releng-puppet2 (your user dir)
* Transfer the files from local to releng-puppet2 (your user dir)
  scp ./*.rpm `whoami`@releng-puppet2.srv.releng.scl3.mozilla.com:mercurial/
USER=yourusername
  scp ./*.rpm $USER@releng-puppet2.srv.releng.scl3.mozilla.com:mercurial/
* As root, copy the files over and fixup
* As root, copy the files over and fixup
  **CHANGE THE USERNAME**
  **CHANGE THE USERNAME**
  sudo su -
  sudo su -
  for i in `ls ~jwood/mercurial/mozilla-python27-mercurial-*.el6.{src,x86_64,i686}.rpm`;
USER=yourusername
  for i in `ls ~$USER/mercurial/mozilla-python27-mercurial-*.el6.{src,x86_64,i686}.rpm`;
   do
   do
     cp ./$i /data/repos/yum/releng/public/CentOS/6/x86_64/$i;  
     cp ./$i /data/repos/yum/releng/public/CentOS/6/x86_64/$i;  
  done
  done
  for i in `ls ~jwood/mercurial/mozilla-python27-mercurial-*.el6.{src,i686}.rpm`;
  for i in `ls ~$USER/mercurial/mozilla-python27-mercurial-*.el6.{src,i686}.rpm`;
   do
   do
     cp ./$i /data/repos/yum/releng/public/CentOS/6/i386/$i;  
     cp ./$i /data/repos/yum/releng/public/CentOS/6/i386/$i;  
Line 296: Line 304:


* Transfer the files from local to releng-puppet2 (your user dir)
* Transfer the files from local to releng-puppet2 (your user dir)
  scp ./* `whoami`@releng-puppet2.srv.releng.scl3.mozilla.com:mercurial-apt/
USER=yourusername
  scp ./* $USER@releng-puppet2.srv.releng.scl3.mozilla.com:mercurial-apt/
* As root, copy the files over and fixup
* As root, copy the files over and fixup
  **CHANGE THE USERNAME**
  **CHANGE THE USERNAME**
  sudo su -
  sudo su -
USER=yourusername
  cd /data/repos/apt/custom/mozilla-mercurial
  cd /data/repos/apt/custom/mozilla-mercurial
  cp -v ~jwood/mercurial-apt/amd64/mozilla-python27-mercurial_*{_amd64.changes,_amd64.deb,.debian.tar.gz,.dsc,.orig.tar.gz} ./pool/precise/
  cp -v ~$USER/mercurial-apt/amd64/mozilla-python27-mercurial_*{_amd64.changes,_amd64.deb,.debian.tar.gz,.dsc,.orig.tar.gz} ./pool/precise/
  cp -v ~jwood/mercurial-apt/i386/mozilla-python27-mercurial_*{_i386.changes,_i386.deb,.debian.tar.gz,.dsc,.orig.tar.gz} ./pool/precise/
  cp -v ~$USER/mercurial-apt/i386/mozilla-python27-mercurial_*{_i386.changes,_i386.deb,.debian.tar.gz,.dsc,.orig.tar.gz} ./pool/precise/
  ./update.sh
  ./update.sh
  puppetmaster-fixperms
  puppetmaster-fixperms
Line 311: Line 321:


* Transfer the files from local to releng-puppet2 (your user dir)
* Transfer the files from local to releng-puppet2 (your user dir)
  scp ./*.dmg `whoami`@releng-puppet2.srv.releng.scl3.mozilla.com:mercurial-DMGs/
USER=yourusername
  scp ./*.dmg $USER@releng-puppet2.srv.releng.scl3.mozilla.com:mercurial-DMGs/
  ** This instruction assumes your DMGs are located at 10.X/ under that directory
  ** This instruction assumes your DMGs are located at 10.X/ under that directory
* As root, copy the files over and fixup
* As root, copy the files over and fixup
  **CHANGE THE USERNAME**
  **CHANGE THE USERNAME**
  sudo su -
  sudo su -
USER=yourusername
  cd /data/repos/DMGs
  cd /data/repos/DMGs
  cp -v ~jwood/mercurial-DMGs/10.6/* 10.6/
  cp -v ~$USER/mercurial-DMGs/10.6/* 10.6/
  cp -v ~jwood/mercurial-DMGs/10.7/* 10.7/
  cp -v ~$USER/mercurial-DMGs/10.7/* 10.7/
  cp -v ~jwood/mercurial-DMGs/10.8/* 10.8/
  cp -v ~$USER/mercurial-DMGs/10.8/* 10.8/
  cp -v ~jwood/mercurial-DMGs/10.10/* 10.10/
  cp -v ~$USER/mercurial-DMGs/10.10/* 10.10/
  # 10.9 uses the same build as 10.8
  # 10.9 uses the same build as 10.8
  cp -v ~jwood/mercurial-DMGs/10.8/* 10.9/
  cp -v ~$USER/mercurial-DMGs/10.8/* 10.9/
  puppetmaster-fixperms
  puppetmaster-fixperms


Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
1,529

edits

Navigation menu