From 0a0c119451cb9ee133e523328e10195a254e98d6 Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Thu, 17 Jan 2019 10:55:12 -0800 Subject: [PATCH] Removes unused "--staging" option from schedule_nightly_graph --- automation/taskcluster/schedule_nightly_graph.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/automation/taskcluster/schedule_nightly_graph.py b/automation/taskcluster/schedule_nightly_graph.py index 876207408..60102d055 100644 --- a/automation/taskcluster/schedule_nightly_graph.py +++ b/automation/taskcluster/schedule_nightly_graph.py @@ -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()