Changes between Version 2 and Version 3 of Doc/SCDB/Server


Ignore:
Timestamp:
May 19, 2007, 3:09:22 PM (18 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/SCDB/Server

    v2 v3  
    1010== Subversion Hook Script ==
    1111
    12 This script must be installed on the Subversion server (not necessarily the Quattor server), inside the `hooks` directory of the SCDB repository. For this you need write access to the directory containing the repository on the Subversion server.
     12This script must be installed on the Subversion server (not necessarily the Quattor server), inside the `hooks` directory of the SCDB repository (the repository itself, not a working copy). For this you need write access to the directory containing the repository on the Subversion server.
    1313
    1414This script must be named `post-commit` and be executable. It is distributed as part of SCDB tools, inside [source:SCDB/tags/pro/src/hooks src/hooks] directory.
    1515
    16 At the start of this script they are a couple of variables you '''must''' edit to reflect your site configuration. In particular :
    17  * `QUATTORSRV` : name of your Quattor server.
    18  * `NOTIFY` : email address to notify of deployment errors.
    19  * `DEPLOYSCRIPT` : path where is installed the deployment script (see below).
    20  * Command path for SVNLOOK and SSH
     16This script requires a configuration file to be present, `/etc/quattor-deploy.conf`. The configuration file must contain only shell variable definition (`sh` syntax). The '''required''' variables are :
     17{{{
     18# Quattor server name
     19QUATTORSRV="quattorsrv.lal.in2p3.fr"
     20
     21# Recipients of status mail and location for checkout.
     22NOTIFY="quattor-mgrs@lal.in2p3.fr"
     23
     24}}}
     25
     26Other supported variables are :
     27{{{
     28# Script on Quattor server to deploy new configuration
     29# Default : DEPLOYSCRIPT=/root/quattor/scripts/build-tag.pl
     30
     31# Full paths to commands.
     32# Defaults are appropriate for RHEL/SL Linux.
     33# MAILER="mailx"
     34# SVNLOOK="/usr/local/subversion/pro/bin/svnlook"
     35# SSH="/usr/local/openssh/pro/bin/ssh"
     36}}}
    2137
    2238== Deployment Script ==