blob: 4b169fb6adf8c88c1e7c89ae6826ee5b7167ca1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#!/bin/bash
source /eng/ssb/auto/astroconda/include/midnight_special.sh
source /eng/ssb/auto/astroconda/include/pre-common.sh
source activate pandokia
if [ "$groupdir" = "" ]
then
groupdir=/eng/ssb
else
echo groupdir is:
echo $groupdir
fi
# find our host name because it is used in the name of the okify file
h=`hostname -s`
echo $h
# where the okify files are
cd "$groupdir/tests/pdk_updates"
ls -l
if [[ ! -f $h.ok ]]; then
echo no $h.ok
exit 0
fi
# not processing directly from the active file
rm -f $h.ok.process
mv $h.ok $h.ok.process
echo START
set -x
pdk ok -w $h.ok.process
status=$?
set +x
echo END
exit $status
|