Removes unused "--staging" option from schedule_nightly_graph
parent
19572d474a
commit
0a0c119451
|
@ -75,12 +75,11 @@ def make_decision_task(params):
|
||||||
return task_id, task
|
return task_id, task
|
||||||
|
|
||||||
|
|
||||||
def schedule(is_staging):
|
def schedule():
|
||||||
queue = taskcluster.Queue({'baseUrl': 'http://taskcluster/queue/v1'})
|
queue = taskcluster.Queue({'baseUrl': 'http://taskcluster/queue/v1'})
|
||||||
|
|
||||||
html_url, branch, head_rev = calculate_git_references(ROOT)
|
html_url, branch, head_rev = calculate_git_references(ROOT)
|
||||||
params = {
|
params = {
|
||||||
'is_staging': is_staging,
|
|
||||||
'html_url': html_url,
|
'html_url': html_url,
|
||||||
'head_rev': head_rev,
|
'head_rev': head_rev,
|
||||||
'branch': branch,
|
'branch': branch,
|
||||||
|
@ -92,10 +91,4 @@ def schedule(is_staging):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
parser = argparse.ArgumentParser(description='Schedule a nightly release pipeline')
|
schedule()
|
||||||
|
|
||||||
parser.add_argument('--staging', action='store_true',
|
|
||||||
help="Perform a staging build (use dep workers, don't communicate with Google Play) ")
|
|
||||||
|
|
||||||
result = parser.parse_args()
|
|
||||||
schedule(result.staging)
|
|
||||||
|
|
Loading…
Reference in New Issue