Project

General

Profile

Release Process

Testing

TBD

Release

1. Position the code for external access.

At this time, these steps are specific to the internal server (proj.goldencode.com) used for hosting. The steps must be executed via an ssh session, which can only occur from the internal network.

Substitute <revno> to match the bzr revno.

cd /opt/downloads/harness/repo && sudo bzr bind "sftp://${USER}@devsrv01/opt/secure/code/harness_repo/harness/trunk" && sudo bzr update && sudo bzr unbind && sudo chown www-data:www-data -R . && sudo find . -type d -exec chmod g+s '{}' \; && sudo chmod 0550 . -R && cd
bzr branch /opt/downloads/harness/repo/ harness && zip -r "harness_rev_<revno>_no_bzr_$(date +%Y%m%d).zip" harness/ -x "harness/.bzr/*" && zip -r "harness_rev_<revno>_full_bzr_$(date +%Y%m%d).zip" harness/ && rm -fr harness && sudo mv harness_rev_<revno>_*.zip /opt/downloads/harness/ && cd /opt/downloads/harness/ && sudo chown www-data:www-data harness_rev_<revno>_* && sudo chmod 0550 harness_rev_<revno>_* && cd

2. Edit the Download page to add the entries to the table.