To use mash to regularly pull completed RPMs from koji and update our yum repositories with them.
The script lives in our subversion as
This script will run on
regular.cs.wisc.edu as a cron job owned by
The script is run from a subversion checkout at
/p/vdt/workspace/mash/tools via the helper scripts
osg-testing-mash.sh and (eventually)
It takes about 15 to 30 minutes to run and completely ties up the machine due to AFS being slow. Therefore, the development repo is updated only every 2 hours, and the testing repo every 6 hours. A lock file is created, preventing multiple instances of the script from updating the same repo at the same time.
/p/vdt/workspace/mash/etc contains the configuration files. Not all of them are used by this script. The important files are:
mash_osg.conf- the master config file, contains the location of the koji hub, global options, and the location of the repo-specific config files, which are:
testing/development.mash- repo-specific file for development
testing/testing.mash- repo-specific file for testing
testing/production.mash- repo-specific file for production (unused currently)
Eventually, the GOC will be hosting the main OSG repos, and we'll be mirroring them. So all of this will go away. We don't have a good timeline for when this will happen yet.