@@ -421,41 +421,6 @@ tasks:
421421 owner : bastien@mozilla.com
422422 source : https://github.com/mozilla/code-coverage
423423
424- - $if : ' channel in ["testing", "production"]'
425- then :
426- taskId : {$eval: as_slugid("bot_hook")}
427- dependencies :
428- - {$eval: as_slugid("bot_deploy")}
429- scopes :
430- - " assume:hook-id:project-relman/code-coverage-repo-${channel}"
431- - " hooks:modify-hook:project-relman/code-coverage-repo-${channel}"
432- - " assume:hook-id:project-relman/code-coverage-cron-${channel}"
433- - " hooks:modify-hook:project-relman/code-coverage-cron-${channel}"
434- created : {$fromNow: ''}
435- deadline : {$fromNow: '5 hours'}
436- provisionerId : proj-relman
437- workerType : ci
438- payload :
439- features :
440- # Needed for access to hook api
441- taskclusterProxy : true
442- maxRunTime : 3600
443- image : " ${taskboot_image}"
444- command :
445- - " /bin/sh"
446- - " -lcxe"
447- - " git clone --quiet ${repository} &&
448- cd code-coverage &&
449- git checkout ${head_rev} &&
450- sed -i -e 's/CHANNEL/${channel}/g' -e 's/REVISION/${head_rev}/g' bot/taskcluster-hook-*.json &&
451- taskboot --target . build-hook bot/taskcluster-hook-repo.json project-relman code-coverage-repo-${channel} &&
452- taskboot --target . build-hook bot/taskcluster-hook-cron.json project-relman code-coverage-cron-${channel}"
453- metadata :
454- name : " Code Coverage Bot hook update (${channel})"
455- description : Update Taskcluster hook triggering the code-coverage tasks
456- owner : bastien@mozilla.com
457- source : https://github.com/mozilla/code-coverage
458-
459424 - $if : ' channel in ["testing", "production"]'
460425 then :
461426 taskId : {$eval: as_slugid("frontend_deploy")}
0 commit comments