Bug 208539

Summary: [ews] Add build step to create local git commit for commit-queue
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=208589
Attachments:
Description Flags
Patch
none
Patch jbedard: review+

Description Aakash Jain 2020-03-03 14:44:06 PST
Add build step to create local git commit for commit-queue (in new EWS).
Comment 1 Aakash Jain 2020-03-03 14:46:58 PST
Created attachment 392337 [details]
Patch
Comment 2 Aakash Jain 2020-03-03 14:47:59 PST
Sample run: https://ews-build.webkit-uat.org/#/builders/26/builds/1059
Comment 3 Jonathan Bedard 2020-03-03 15:17:31 PST
Comment on attachment 392337 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=392337&action=review

> Tools/BuildSlaveSupport/ews-build/steps.py:2474
> +        commit_message_filename = '/tmp/{}.txt'.format(self.getProperty('patch_id'))

Any reason we can't store the commit_message in a purporter and then use 'git commit --all --file -' and pip the commit message over stdin?

Seems cleaner than sending it into a file.
Comment 4 Aakash Jain 2020-03-04 08:02:30 PST
Created attachment 392415 [details]
Patch
Comment 5 Aakash Jain 2020-03-04 08:03:28 PST
(In reply to Jonathan Bedard from comment #3)
> Any reason we can't store the commit_message in a purporter and then use 'git commit --all --file -' and pipe the commit message over stdin?
Done in updated patch.
Comment 6 Jonathan Bedard 2020-03-04 09:10:00 PST
Comment on attachment 392415 [details]
Patch

Much cleaner all in the same step!
Comment 7 Aakash Jain 2020-03-04 09:40:24 PST
Committed r257848: <https://trac.webkit.org/changeset/257848>
Comment 8 Radar WebKit Bug Importer 2020-03-04 09:41:17 PST
<rdar://problem/60043246>