Closed
Bug 1462791
Opened 7 years ago
Closed 7 years ago
Refactor some taskgraph VCS code
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox62 fixed)
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: gps, Assigned: gps)
References
Details
Attachments
(3 files, 1 obsolete file)
Creating a bug to hold review of some patches I have sitting around.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
aki: I flagged you for review because I wasn't sure if CoT relies on the *_HEAD_REF environment variables somehow.
Comment 5•7 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #4)
> aki: I flagged you for review because I wasn't sure if CoT relies on the
> *_HEAD_REF environment variables somehow.
It looks like we only use *_HEAD_{REV,REPOSITORY} in CoT verification. If we get a try push, I can try verifying various tasks in the push via the `verify_cot` tool, but I'm not too worried.
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8977105 [details]
Bug 1462791 - Add helper function for VCS checkout on generic-worker;
https://reviewboard.mozilla.org/r/245184/#review251526
Attachment #8977105 -
Flags: review?(dustin) → review+
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8977106 [details]
Bug 1462791 - Remove GECKO_HEAD_REF and COMM_HEAD_REF;
https://reviewboard.mozilla.org/r/245186/#review251528
::: commit-message-ec52a:13
(Diff revision 1)
> +non-ambiguous (a symbolic name can change over time whereas hashes
> +can't).
> +
> +AFAICT we are not actually using symbolic names and GECKO_HEAD_REF
> +anywhere. So this commit drops defining and consuming it. COMM_HEAD_REF
> +was nuked as well because it is in the same boat.
The cron hook uses a symbolic ref ('default'). I think this change would break such tasks.
For example:
https://tools.taskcluster.net/hooks/project-releng/cron-task-projects-holly
```json
"env": {
"GECKO_BASE_REPOSITORY": "https://hg.mozilla.org/mozilla-unified",
"GECKO_HEAD_REPOSITORY": "https://hg.mozilla.org/projects/holly",
"GECKO_HEAD_REF": "default",
...
},
```
Attachment #8977106 -
Flags: review?(dustin) → review-
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8977107 [details]
Bug 1462791 - Remove docker_worker_add_gecko_vcs_env_vars();
https://reviewboard.mozilla.org/r/245188/#review251530
Attachment #8977107 -
Flags: review?(dustin) → review+
Updated•7 years ago
|
Attachment #8977106 -
Flags: review?(aki)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8977106 -
Attachment is obsolete: true
Comment 11•7 years ago
|
||
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/143be456f420
Add helper function for VCS checkout on generic-worker; r=dustin
https://hg.mozilla.org/integration/autoland/rev/3409c789902c
Remove docker_worker_add_gecko_vcs_env_vars(); r=dustin
Comment 12•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/143be456f420
https://hg.mozilla.org/mozilla-central/rev/3409c789902c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Comment 13•7 years ago
|
||
Some code[1] expects to be able to `.extend` the result.
[1] https://searchfox.org/mozilla-central/rev/bf4def01bf8f6ff0d18f02f2d7e9efc73e12c63f/taskcluster/taskgraph/transforms/job/mozharness.py#318-331
Comment 14•7 years ago
|
||
Comment on attachment 8980601 [details]
Bug 1462791: [taskgraph] Return list from `generic_worker_hg_commands`; r?dustin
Dustin J. Mitchell [:dustin] pronoun: he has approved the revision.
https://phabricator.services.mozilla.com/D1384
Attachment #8980601 -
Flags: review+
Comment 15•7 years ago
|
||
Pushed by mozilla@hocat.ca:
https://hg.mozilla.org/mozilla-central/rev/fe66c9e30a20
[taskgraph] Return list from `generic_worker_hg_commands`; r=dustin a=Aryx
Updated•6 years ago
|
Version: Version 3 → 3 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•