Skip to content

Commit

Permalink
use 94MAOD stats for 94MOAD IBs
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 22, 2018
1 parent 4313bad commit 9b3333c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jobs/create-relval-jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def createJob(workflow, cmssw_ver, arch):
print "Getting Workflow stats from ES....."
stats = {}
release_cycle=cmssw_ver.split("_X_")[0]+"_X"
if release_cycle=="CMSSW_9_4_MAOD_X": release_cycle="CMSSW_9_4_X"
while True:
stats = es_query(index='relvals_stats_*',
query=format('exit_code:0 AND release:%(release_cycle)s AND architecture:%(architecture)s AND (%(workflows)s)',
Expand All @@ -65,9 +64,10 @@ def createJob(workflow, cmssw_ver, arch):
xrelease_cycle = "_".join(cmssw_ver.split("_",4)[0:3])+"_X"
if xrelease_cycle!=release_cycle:
release_cycle=xrelease_cycle
print "Retry: Setting release cycle to ",release_cycle
continue
break

wf_stats = es_workflow_stats(stats)

#Create Jobs
Expand Down

0 comments on commit 9b3333c

Please sign in to comment.