cron tasks fail on private github repos
Categories
(Release Engineering :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: gbrown, Unassigned)
References
Details
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/build_decision/util/cli.py", line 62, in main
args.command(vars(args))
File "/usr/local/lib/python3.8/site-packages/build_decision/cli.py", line 41, in wrapper
func(args)
File "/usr/local/lib/python3.8/site-packages/build_decision/cli.py", line 77, in cron
run(
File "/usr/local/lib/python3.8/site-packages/build_decision/cron/__init__.py", line 78, in run
jobs = load_jobs(repository, revision=push_info["revision"])
File "/usr/local/lib/python3.8/site-packages/build_decision/cron/__init__.py", line 34, in load_jobs
cron_yml = repository.get_file(".cron.yml", revision=revision)
File "/usr/local/lib/python3.8/site-packages/build_decision/repository.py", line 67, in get_file
res.raise_for_status()
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://github.com/mozilla-mobile/firefox-android/raw/66feaa61f51ce2a45c7d29bc17980156da2dd622/.cron.yml
https://github.com/mozilla-mobile/firefox-android/raw/66feaa61f51ce2a45c7d29bc17980156da2dd622/.cron.yml exists, but firefox-android is a private repo.
The build-decision explicitly disallows private github repos:
https://hg.mozilla.org/ci/ci-configuration/annotate/98192abe93dac37c8de02c0069eac1a541563942/build-decision/src/build_decision/repository.py#l54
Comment 1•3 years ago
|
||
Also see bug 1702846 :) I have some wip patches there that need testing and a careful rollout.
I should probably unassign myself from that one.
![]() |
Reporter | |
Comment 2•3 years ago
|
||
(In reply to Aki Sasaki [:aki] (he/him) (UTC-6) from comment #1)
Also see bug 1702846 :) I have some wip patches there that need testing and a careful rollout.
I should probably unassign myself from that one.
Thanks! I wasn't aware of that bug and I see there's lots of good wip code there. It turns out I won't need that for firefox-android (it's now public), so I won't pursue that work in the immediate future.
Comment 3•3 years ago
|
||
Mass edit: The move to the monorepo was officially announced 2 days ago[1]. No need to keep these tickets confidential anymore.
[1] https://github.com/mozilla-mobile/android-components/issues/12751
Description
•