Please enable autoland for some releng repos

REOPENED
Unassigned

Status

MozReview
Autoland
REOPENED
2 years ago
a year ago

People

(Reporter: catlee, Unassigned)

Tracking

(Depends on: 1 bug)

Details

(Reporter)

Description

2 years ago
We're starting to use mozreview more and more for https://hg.m.o/build/buildbot-configs, and buildbotcustom. Would it be possible to set those up for autoland?

Comment 1

2 years ago
dminor: do we need to do anything on the Autoland server to configure new repos? Or is this just adding some settings in the MozReview admin UI?
Flags: needinfo?(dminor)

Comment 2

2 years ago
You need to make a local clone of the repositories on the autoland server under /repos.

You will also have to add an "upstream" path to the .hg/hgrc file which points to the repository to which changes will be landed. This is separate from the destination received from MozReview because the destination could be try and we don't want to pull from try.

If MozReview passed both the "try" and "landing" repositories we could probably get rid of local configuration on the autoland server completely, but making autoland smart enough to do a clone of an unrecognized repo from the "landing" repo url.

I think that is it. There is a "version-control-tools" path defined in the v-c-t repo hgrc on autoland, but I think that is cruft left over from when we didn't pass full destination urls into Autoland from MozReview.
Flags: needinfo?(dminor)

Comment 3

2 years ago
I /think/ I've enabled autoland for buildbot-configs and buildbotcustom. Please give it a try and let me know if it works.
Flags: needinfo?(catlee)
(Reporter)

Comment 4

2 years ago
Doesn't seem to work. From https://reviewboard.mozilla.org/r/49467/#review46311:

There was an error executing the Autoland request on buildbot-configs
Requested by catlee hg error in cmd: hg pull buildbot-configs -r ec946c9cea7671faca05aeef9522349bd864520b: pulling from buildbot-configs abort: repository buildbot-configs not found!
Flags: needinfo?(catlee)

Comment 5

2 years ago
Please try again.
Flags: needinfo?(catlee)
(Reporter)

Comment 6

2 years ago
Same problem:
 hg error in cmd: hg pull buildbot-configs -r ec946c9cea7671faca05aeef9522349bd864520b: pulling from buildbot-configs abort: repository buildbot-configs not found!
Flags: needinfo?(catlee)

Comment 7

2 years ago
I friggin fat fingered the path name in the hgrc. Try again.
Flags: needinfo?(catlee)
(Reporter)

Comment 8

2 years ago
Works now, thanks!
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Flags: needinfo?(catlee)
Resolution: --- → FIXED

Comment 9

2 years ago
Doesn't land on the correct branch. Will need autoland and mozreview changes to make this work correctly. I'll file a new bug.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Updated

2 years ago
Depends on: 1268903
You need to log in before you can comment on or make changes to this bug.