Skip to content
captainmisterhagan edited this page Feb 27, 2017 · 13 revisions

Overview

Transfer a deployable artifact onto a target server. Optionally update application configuration.

Process

Start the bastion jumpbox. Login to the jumpbox. SSH to the target server.

Deploy Artifact

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

Verify Deployment

$ 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.

Clone this wiki locally