82 | | |
83 | | This script needs to find a file [source:SCDB/tags/pro/src/hooks/quattor.build.properties quattor.build.properties] in the parent directory of SCDB local cache (generally parent directory for the script location) and a configuration file `/etc/build-tag.conf`. |
| 82 | {{{ |
| 83 | [build-tag] |
| 84 | # If not starting with /, relative to directory specified by option svn_cache |
| 85 | ant_cmd: external/ant/bin/ant |
| 86 | # ant options (passed through env variable ANT_OPTS) |
| 87 | #ant_opts: -Xmx2048M |
| 88 | # ant stdout: allow to redirect ant output to a file for debugging purposes (default is PIPE) |
| 89 | # Default changed to a file because of problem in subprocess module if the |
| 90 | # output is very large (Python 2.4) leading to the parent/child communication |
| 91 | # to hang. |
| 92 | ant_stdout: /tmp/ant-deploy-notify.log |
| 93 | #ant_stdout: PIPE |
| 94 | # ant target to do the deployment. Default should be appropriate. |
| 95 | ant_target: deploy.and.notify |
| 96 | # If not starting with /, relative to /usr/java. |
| 97 | java_version: latest |
| 98 | # If not starting with /, relative to parent of this directory script |
| 99 | svn_cache: svncache |
| 100 | # Number of retries for SVN switch to new tag in case of error |
| 101 | switch_retry_count: 1 |
| 102 | # Verbosity level |
| 103 | verbose: 0 |
| 104 | |
| 105 | [scdb] |
| 106 | # URL associated with the repository root. Required parameter without default value. |
| 107 | #repository_url: http://svn.example.com/scdb |
| 108 | # Branch where to create SCDB deployment tags |
| 109 | # Keep consistent with quattor.build.properties if not using default values. |
| 110 | tags_branch: /tags |
| 111 | # Branch corresponding to SCDB trunk (only branch allowed to deploy) |
| 112 | # Keep consistent with quattor.build.properties if not using default values. |
| 113 | trunk_branch: /trunk |
| 114 | }}} |
| 115 | |
| 116 | The only required options for which no default value is provided is `repository_url` in `[scdb]` section. It must match the root URL of your SVN repository (as returned by `svn info`). |
| 117 | |
| 118 | This script needs to find a file [source:SCDB/tags/pro/src/hooks/quattor.build.properties quattor.build.properties] in the parent directory of SCDB local cache (by default, parent directory for this script location). |