Deploy Process

To see changes on the testing server, the odyssey-test-dist.sh script uses rsync to copy local changes to the testing server, and the deploy scripts are then used to update and run specific changes on the test server.

There are the following deploy scripts:

deploy-aliases

Re-generates the aliases file and checks for installation in /etc/aliases.

deploy-bin

Deploys ~odyssey/bin.

deploy-check-on-prod

Checks that we are running on production process server and produces an error if not. This includes not running on subsidiary servers; only the main process server counts.

deploy-crontab

Checks if we are running on the production process server, if so crontab is updated.

deploy-data

Loads manually-maintained data to database. This is not in production as of yet because the files aren't CSV.

deploy-init-backend

Copies changes from the current server to odyssey@targethost at the targethost provided.

deploy-java

Deploys Java code.

deploy-onpush

Deploys all deploy-scripts, except deploy-check-on-prod, deploy-data, and deploy-init-backend, and re-builds WCMS templates.

deploy-python

Deploys Python code.

deploy-python-test

Builds Sphinx Documentation and runs unit tests.

deploy-static

Deploys HTML pages.