Bug 1286092 - Fix mistake with build_date in index routes. r=aki

for L10n jobs should run per-push based on the corresponding builds

Differential Revision: https://phabricator.services.mozilla.com/D1398
This commit is contained in:
Justin Wood
2017-12-01 11:03:01 -05:00
parent 8b3cfe6ed2
commit b9a0dd1dcc

View File

@@ -1412,6 +1412,8 @@ def add_nightly_l10n_index_routes(config, task, force_locale=None):
subs['job-name'] = index['job-name']
subs['build_date_long'] = time.strftime("%Y.%m.%d.%Y%m%d%H%M%S",
time.gmtime(config.params['build_date']))
subs['build_date'] = time.strftime("%Y.%m.%d",
time.gmtime(config.params['build_date']))
subs['product'] = index['product']
subs['trust-domain'] = config.graph_config['trust-domain']
subs['branch_rev'] = get_branch_rev(config)