Repository navigation
Deploy
captainmisterhagan edited this page Feb 27, 2017
·
13 revisions
Transfer a deployable artifact onto a target server. Optionally update application configuration.
Start the 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/jetty 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.
Stop the bastion jumpbox.