Make sure cron tasks for enterprise are scoped to exactly the expected branches
Categories
(Enterprise Products :: General, defect)
Tracking
(Not tracked)
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
(Blocks 1 open bug)
Details
Attachments
(4 external files)
We currently mistakenly try to schedule e.g. daily-releases-enterprise because we filter only by-project while we should only do by branches.
| Assignee | ||
Comment 1•22 days ago
•
|
||
The schema definition right now only defines by-project:
- https://github.com/mozilla-releng/fxci-config/blob/cf71775f5129e9fdc908e753f12c18846c1ac458/build-decision/src/build_decision/cron/schema.yml#L30-L38
- https://github.com/mozilla-releng/fxci-config/blob/cf71775f5129e9fdc908e753f12c18846c1ac458/build-decision/src/build_decision/cron/__init__.py#L53-L57
I am unsure what is the value of branch in our cases on https://github.com/mozilla-releng/fxci-config/blob/cf71775f5129e9fdc908e753f12c18846c1ac458/build-decision/src/build_decision/cron/__init__.py#L77 or if we can extract it from push_info at https://github.com/mozilla-releng/fxci-config/blob/cf71775f5129e9fdc908e753f12c18846c1ac458/build-decision/src/build_decision/cron/__init__.py#L81
For github at least: https://github.com/mozilla-releng/fxci-config/blob/cf71775f5129e9fdc908e753f12c18846c1ac458/build-decision/src/build_decision/repository.py#L148 we should be able to rely on branch from push_info
| Assignee | ||
Updated•17 days ago
|
Comment 2•17 days ago
|
||
(via GitHub webhook, authenticated as shared-secret)
Comment 3•17 days ago
|
||
(via GitHub webhook, authenticated as shared-secret)
Comment 4•16 days ago
|
||
(via GitHub webhook, authenticated as shared-secret)
Comment 5•16 days ago
|
||
Authored by https://github.com/lissyx
https://github.com/mozilla/enterprise-firefox/commit/300a4c86619b4a5ea4e2b4a3f20b1ac820883ec2
[enterprise-main] Revert "Bug 2088849 - Limit cron execution of enterprise to branches"
Authored by https://github.com/lissyx
https://github.com/mozilla/enterprise-firefox/commit/9046f74a9cfb2fe78e2d8a9f9f660e737c8a907f
[enterprise-main] Merge pull request #1801 from mozilla/revert-1790-enterprise-bug2088849_cron_enterprise_filtering
(via GitHub webhook, authenticated as shared-secret)
| Assignee | ||
Updated•16 days ago
|
Comment 6•16 days ago
|
||
(via GitHub webhook, authenticated as shared-secret)
| Assignee | ||
Comment 7•14 days ago
|
||
relanded in
https://github.com/mozilla/enterprise-firefox/commit/1e68f3a6915483ec663e71b7ab36d1b5a685e6d2
https://github.com/mozilla/enterprise-firefox/commit/e50ef97362bc98e2eeeac387803e7b52eb29b413
Updated•10 days ago
|
Description
•