-
Notifications
You must be signed in to change notification settings - Fork 2
/
boss.example.conf
executable file
·81 lines (61 loc) · 2.25 KB
/
boss.example.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#
#
# boss is a script which is helpful during deployment of web projects
# Author: Irfan Durmus
# http://github.com/irfan/boss
#
# Example config file
#
# Project name
PROJECT="blog"
# It should be development. live and stage is not usable for now.
TYPE="development"
# Remote git server path. It should be your main git repository.
# While you deploying new version of your project
# boss will check this repository for versions.
ORIGIN="[email protected]:irfan/mysite.git"
# Your local git repository also project path.
# You can also deploy your project from your local environment
# rather than remote server.
LOCAL="/home/irfan/projects/mysite"
# Remote server's http username.
# Please check your server's http username.
# Usually _www, www, www-data, apache or apache2 defined to run httpd server.
REMOTEHTTPUSER="www-data"
# Test script path and parameters
# Prepare a script under your project directory which will start all of your tests.
# You can type also parameters like;
# TEST="tests/start.sh frontend --backend=1"
TESTS="tests/start.sh"
############################
# STAGE SERVER INFORMATIONS
############################
# stage server username
# boss will login with this username to your stage server.
# Also in git actions like pull, fetch this username will be use.
# If you set root you should open root login over ssh.
STAGE[0]="root"
# stage server hostname or IP
STAGE[1]="irfandurmus.com"
# stage server ssh port
STAGE[2]="2280"
# git repository full path of the stage server
# Your project directory should be a git repository also.
# The repository should be defined same origin with live and local repositories.
STAGE[3]="/var/www/stage/blog"
############################
# LIVE SERVER INFORMATIONS
############################
# live server username
# boss will login with this username to your live server.
# Also in git actions like pull, fetch this username will be use.
# If you set root you should open root login over ssh.
LIVE[0]="root"
# live server hostname or IP
LIVE[1]="irfandurmus.com"
# live server port
LIVE[2]="2280"
# git repository full path of the live server
# Your project directory should be a git repository also.
# The repository should be defined same origin with stage and local repositories.
LIVE[3]="/var/www/live/blog"