/
README
34 lines (26 loc) · 1.03 KB
/
README
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
bin/svntag
Use inside a Subversion Working Directory with all changes checked in.
- Automatically finds the "trunk"
- Automatically creates the "tags" directory at the project root
- Creates a tag "tags/release-X" where X is the next integer
sbin/svncheckrel <SVN Project Root URL> <Deployment Target>
Use to check is there's a new Release to deploy to Target
- Exit Code is Success when the Release is ready to Deploy
- Exit Code is Failure when the Release is already Deployed
sbin/svnexportrel <SVN Project Root URL> <Deployment Target>
Use to deploy a Release to Target (does not check)
- Copies Target to Target.old
- SVN Exports the Latest Release
- Creates RELEASE in Target for svncheckrel to use
puppet.subversion
Puppet Module using these tools for automatic deployment.
use:
import "subversion"
node web_server {
include subversion
subversion::deploy {
svnurl => "svn+ssh://svn.example.com/repo/projects/web-application",
target => "/var/www/web-application",
notify => Service['httpd']
}
}