forked from CMSCompOps/WmAgentScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathassigncycle.sh
More file actions
executable file
·30 lines (20 loc) · 857 Bytes
/
Copy pathassigncycle.sh
File metadata and controls
executable file
·30 lines (20 loc) · 857 Bytes
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
BASE_DIR=/data/unified/WmAgentScripts/
HTML_DIR=/var/www/html/unified/
lock_name=`echo $BASH_SOURCE | cut -f 1 -d "."`.lock
source $BASE_DIR/cycle_common.sh $lock_name
## get the workflow in/out of the system
$BASE_DIR/cWrap.sh Unified/injector.py
## get the batches of relval annnounced to HN
$BASE_DIR/cWrap.sh Unified/batchor.py
## this could replace stagor in much faster
## needs to put some work in stagor or not ?
$BASE_DIR/cWrap.sh Unified/assignor.py --early
## get the workflow in/out the system
$BASE_DIR/cWrap.sh Unified/injector.py
## assigned those that could have passed through directly
$BASE_DIR/cWrap.sh Unified/assignor.py --from_status staged
$BASE_DIR/cWrap.sh Unified/assignor.py _PR_newco
$BASE_DIR/cWrap.sh Unified/assignor.py _PR_ref
## assign the workflow to sites
$BASE_DIR/cWrap.sh Unified/assignor.py
rm -f $lock_name