Closed Bug 1301729 Opened 8 years ago Closed 8 years ago

Stop using / storing buildapi artifacts

Categories

(Tree Management :: Treeherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

References

Details

Attachments

(3 files)

For buildbot jobs, we currently store "buildapi" artifacts with two pieces of information:

* The buildername
* The buildbot request id (if one exists)

As part of the migration away from artifacts, I'd like to get rid of these.

The buildername is currently stored as the job property "ref_data_name", so is redundant. 

The request id can just be stored as a "job detail" I think.
Comment on attachment 8789910 [details] [review]
[treeherder] wlach:1301729 > mozilla:master

This turned out to be pretty easy. Storing this information as part of the job details is a bit of a hack, but I think it seems to work ok.
Attachment #8789910 - Flags: review?(emorley)
Attachment #8789910 - Flags: review?(emorley) → review+
Commits pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/546b971ad260d688d36233847be8852b34c1fd29
Bug 1301729 - Allow filtering job details by title through API

https://github.com/mozilla/treeherder/commit/d29527e96a0693341a2abe9486ed328de565ec40
Bug 1301729 - Add a migration script for moving buildapi artifacts -> job details

https://github.com/mozilla/treeherder/commit/7e4ec3423ed327b9c8da856b51759e15f75ea997
Bug 1301729 - Store buildbot request id as a job detail

https://github.com/mozilla/treeherder/commit/58681ac38d595d2a1c7f9f16538cd412c0f06d77
Merge pull request #1840 from wlach/1301729

Bug 1301729 - Store buildbot request id as a job detail
Attachment #8791380 - Flags: review?(emorley)
Comment on attachment 8791380 [details] [review]
[treeherder] wlach:1301729-followup > mozilla:master

r+ with the test fix
Attachment #8791380 - Flags: review?(emorley) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: 1303069
I accidentally missed some code that still grabbed this information from the artifact model for classification mirroring to ES/OrangeFactor. Reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #8804386 - Flags: review?(emorley)
Attachment #8804386 - Flags: review?(emorley) → review-
Attachment #8804386 - Flags: review- → review+
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/c35d9fd56ff1c4c5006d60e5d773940ecca9e961
Bug 1301729 - Use job's ref_data_name for buildname w/ classification mirroring (#1952)
Re-resolving.
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: