root/buildbot_setup.sh

Revision 1416:3f7a36cd1d7e, 1.0 kB (checked in by Nate Coraor <nate@bx.psu.edu>, 4 months ago)

Buildbot setup also needs the directory creation glue.

Line 
1 #!/bin/sh
2
3 cd `dirname $0`
4
5 LINKS="
6 /depot/data2/galaxy/alignseq.loc
7 /depot/data2/galaxy/binned_scores.loc
8 /depot/data2/galaxy/encode_datasets.loc
9 /home/universe/linux-i686/HYPHY
10 /depot/data2/galaxy/liftOver.loc
11 /depot/data2/galaxy/maf_index.loc
12 /depot/data2/galaxy/maf_pairwise.loc
13 /depot/data2/galaxy/microbes/microbial_data.loc
14 /depot/data2/galaxy/phastOdds.loc
15 /depot/data2/galaxy/quality_scores.loc
16 /depot/data2/galaxy/regions.loc
17 /depot/data2/galaxy/taxonomy
18 /depot/data2/galaxy/twobit.loc
19 "
20
21 SAMPLES="
22 datatypes_conf.xml.sample
23 "
24
25 DIRS="
26 database
27 database/files
28 database/tmp
29 database/compiled_templates
30 database/job_working_directory
31 database/import
32 database/pbs
33 "
34
35 for link in $LINKS; do
36     echo "Linking $link"
37     ln -sf $link tool-data
38 done
39
40 for sample in $SAMPLES; do
41     file=`echo $sample | sed -e 's/\.sample$//'`
42     echo "Copying $sample to $file"
43     cp $sample $file
44 done
45
46 for dir in $DIRS; do
47     if [ ! -d $dir ]; then
48         echo "Creating $dir"
49         mkdir $dir
50     fi
51 done
52
53 python ./scripts/fetch_eggs.py all
Note: See TracBrowser for help on using the browser.