Changes between Version 15 and Version 16 of Doc/SCDB/Server


Ignore:
Timestamp:
Dec 2, 2009, 6:09:00 PM (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/SCDB/Server

    v15 v16  
    8080
    8181This script requires a configuration file, `/etc/quattor-deploy.conf` (common with the [#SubversionHookScript hook script] when running on the same machine). All the configuration options supported and their default values are defined at the beginning of the script. The configuration file has several sections. One of them, `[scdb]`, is common to the hook script and the deployment script. The main options available and their default values are:
    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
     85ant_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.
     92ant_stdout: /tmp/ant-deploy-notify.log
     93#ant_stdout: PIPE
     94# ant target to do the deployment. Default should be appropriate.
     95ant_target: deploy.and.notify
     96# If not starting with /, relative to /usr/java.
     97java_version: latest
     98# If not starting with /, relative to parent of this directory script
     99svn_cache: svncache
     100# Number of retries for SVN switch to new tag in case of error
     101switch_retry_count: 1
     102# Verbosity level
     103verbose: 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.
     110tags_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.
     113trunk_branch: /trunk
     114}}}
     115
     116The 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
     118This 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).
    84119
    85120