1
0
Fork 0

Removes unused "--staging" option from schedule_nightly_graph

master
Mitchell Hentges 2019-01-17 10:55:12 -08:00 committed by Jeff Boek
parent 19572d474a
commit 0a0c119451
1 changed files with 2 additions and 9 deletions

View File

@ -75,12 +75,11 @@ def make_decision_task(params):
return task_id, task
def schedule(is_staging):
def schedule():
queue = taskcluster.Queue({'baseUrl': 'http://taskcluster/queue/v1'})
html_url, branch, head_rev = calculate_git_references(ROOT)
params = {
'is_staging': is_staging,
'html_url': html_url,
'head_rev': head_rev,
'branch': branch,
@ -92,10 +91,4 @@ def schedule(is_staging):
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Schedule a nightly release pipeline')
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)
schedule()