Repository navigation
Deploy
Doug Hagan edited this page Dec 13, 2016
·
13 revisions
Transfer a deployable artifact onto a target server. Optionally update application configuration.
Start the build server and bastion jumpbox. Login to the jumpbox. SSH to the target server.
Download the new artifact (using gitId from Package step):
$ sudo -i
$ cd /srv/jetty/apps
$ ./release.sh [gitId]
If any config needs to be updated:
$ cd /srv/jetty/appConfig
$ vi configuration.xml
Restart the server with the new artifact (and configuration if updated):
$ /srv/init.d/restart
$ tail -f /srv/jetty/logs/[yyyy_mm_dd].stderrout.log
Confirm that the last line is Started @[duration]ms.
Check the build number at [environment].stackableregiments.com/about.