Skip to content

App Redeployment

Paul Jerrold Biglete edited this page Jun 1, 2020 · 8 revisions

Puppet - Automated App Redeployment

A puppet agent polls for a change in the dzdb-web repository every 5 minutes when it detects a change to the respective branch, it will then redeploy the application.

Bash Script - Manual App Redeployment

app-redeploy.sh script

A script that redeploys the application. (make docker --> docker-compose up)

Run this script to manually redeploy the application:

app-redeploy.sh dzdb-web [dev/test/prod]

Examples

For use on dzdb web's dev node:

app-redeploy.sh dzdb-web dev

For use on dzdb web's test node:

app-redeploy.sh dzdb-web test

For use on dzdb web's prod node:

app-redeploy.sh dzdb-web prod