Confirmed users
4,293
edits
(→BuildAPI: Update for the passage of time) |
(→BuildAPI: Update for changes in bug 1318969) |
||
| Line 156: | Line 156: | ||
The steps are roughly as follows, from the base directory of buildapi: | The steps are roughly as follows, from the base directory of buildapi: | ||
* Push new version of BuildAPI to HG | * Push new version of BuildAPI to HG | ||
** Edit setup.py to show the updated version ( | ** Edit setup.py to show the updated version (eg version='0.3.0' becomes version='0.3.1') | ||
* Build a new sdist tarball of BuildAPI, using normal python techniques, and upload it to the | * Build a new sdist tarball of BuildAPI, using normal python techniques, and upload it to the our pypi repository on relengwebadm.private.scl3.mozilla.com. | ||
** Tarballs can be seen here: http:// | ** Tarballs can be seen here: http://pypi.pub.build.mozilla.org/pub/ | ||
python setup.py sdist | python setup.py sdist | ||
VERSION=0.3.1 | VERSION=0.3.1 | ||
scp dist/buildapi-${VERSION}.tar.gz | scp dist/buildapi-${VERSION}.tar.gz relengwebadm.private.scl3.mozilla.com: | ||
ssh | ssh relengwebadm.private.scl3.mozilla.com | ||
VERSION=0.3.1 | VERSION=0.3.1 | ||
sudo mv buildapi-${VERSION}.tar.gz / | sudo mv buildapi-${VERSION}.tar.gz /mnt/netapp/relengweb/pypi/pub/ | ||
sudo chmod 664 /mnt/netapp/relengweb/pypi/pub/buildapi-${VERSION}.tar.gz | |||
sudo chmod 664 buildapi-${VERSION}.tar.gz | * Deploy to the webheads, reusing the relengwebadm ssh session from above | ||
* | sudo su - | ||
cd /data/releng/src/buildapi # or for staging /data/releng-stage/src/buildapi | |||
./update 0.3.1 | ./update 0.3.1 | ||