Release production

From GeopsyWiki
Jump to navigation Jump to search

Quick pack and testing

Once versions are committed but not tagged for individual packets, increase version for distribution archive. This can be done in any checked out source tree (with the appropriate branch of course)

 cd sesarray
 dpversion s
 # Current version=2.0.3
 dpversion C
 # Current version=2.0.3
 # Final version=2.0.4
 dpversion c

On the server, start quicpack-A_B with A_B being the branch number:

 cd factory
 ./quickpack-2_0

or if you don't want to keep a terminal open:

 cd factory
 rm nohup.out
 nohup ./quickpack-2_0 &
 exit

Meanwhile you can update source trees under Mac OS X and Windows and start compilation. Make the distribution executable for these platforms (.exe or .dmg) and test it quickly (e.g. geopsy recognizes its plugins).

Start automatic validation tests (takes at least 30 minutes). Absolute file path is required (to change in future?).

 rm nohup.out
 nohup ../testing/test /home/sesarray/factory/sandbox-2_0/sesarray/dist/sesarray-src-2.0.4.tar.gz &
 exit

If tests fail, sources can still be modified. Commit changes. If only a few packets were touched, keep the list and increase versions if necessary. If unsure, re-run complete version report. Manual version checks

Otherwise, proceed to pack and publish

Pack and publish

Pack:

 cd factory
 rm nohup.out
 nohup ./pack-2_0 &
 exit

Publish (copy to ftp, insert new entry in patch generator and update files for updateIcon)

 cd factory
 rm nohup.out
 nohup ./publish-2_0 &