Commit Graph

316 Commits

Author SHA1 Message Date
ben marsh
7dac926f00 Horde: Query the server API version before uploading tool data, and fall back to using older storage formats if the server requires it.
[CL 30762520 by ben marsh in ue5-main branch]
2024-01-21 13:52:05 -05:00
ben marsh
68fb925251 Horde: Add a singleton IHordeClient object which allows constructing new HordeHttpClient instances. Allows keeping all the configuration/state in one place.
[CL 30761845 by ben marsh in ue5-main branch]
2024-01-21 10:33:11 -05:00
ben marsh
f0e4c496ae Horde: Merge IStorageWriter and IBlobWriter.
[CL 30667967 by ben marsh in ue5-main branch]
2024-01-17 15:55:37 -05:00
ben marsh
a4265b060a Horde: Refactor of IStorageClient/IStorageBackend.
* IStorageBackend now includes methods for manipulating aliases and refs. All interaction with blobs is done through BlobLocators. This is the level of abstraction that the HTTP backend / controllers operate at.
* IStorageClient only manipulates blobs via handles, which abstracts any packing/compression/buffering that BundleStorageClient does.
* IBlobHandles no longer needs to include methods for partial reads, nesting, etc... Nesting of blobs within packets/bundles is now an implementation detail within the bundle storage client.

[CL 30648868 by ben marsh in ue5-main branch]
2024-01-16 18:08:13 -05:00
ben marsh
9ccdc40f9c Horde: Allow customizing blob serializers to use in different contexts, allowing us to lock serialization formats when talking to remote agents of a particular version.
To support this, the Node base class and serialization methods have been removed, and serialization is performed through a BlobConverter<T> instance created and cached according to a BlobSerializationOptions object. Custom instances of serializers with different configurations may be registered with this object, allowing different code paths to use different serialization settings.

#jira UE-203605

[CL 30591420 by ben marsh in ue5-main branch]
2024-01-12 08:59:27 -05:00
ben marsh
29a209ea4d Add an option to output a CSV containing all packages and license files from the NuGet-LicenseCheck task.
[CL 30567778 by ben marsh in ue5-main branch]
2024-01-11 09:50:17 -05:00
ben marsh
041a1c1196 Horde: Fix license check job step for Horde server after NET 8 upgrade.
[CL 30561146 by ben marsh in ue5-main branch]
2024-01-10 21:42:16 -05:00
ben marsh
41c1f420eb BuildGraph: Add a task to upload artifacts to Horde.
[CL 30292274 by ben marsh in ue5-main branch]
2023-12-13 09:55:43 -05:00
ben marsh
4373db4c84 Horde: Add helper methods for writing directory trees to storage writers.
[CL 30292017 by ben marsh in ue5-main branch]
2023-12-13 09:45:27 -05:00
ryan hummer
583435d379 [Backout] - CL30186989
[FYI] joshua.shlemmer
Original CL Desc
-----------------------------------------------------------------

Modifies buildtasks that were using HTTPClients so that they use a singleton http client.

Follow up from CL 30122407

#rb Eric.Knapik, Wes.Hunt

[CL 30210278 by ryan hummer in ue5-main branch]
2023-12-08 09:42:30 -05:00
joshua shlemmer
e4a921891d Modifies buildtasks that were using HTTPClients so that they use a singleton http client.
Follow up from CL 30122407

#rb Eric.Knapik, Wes.Hunt

[CL 30187247 by joshua shlemmer in ue5-main branch]
2023-12-07 13:57:33 -05:00
joe kirchoff
66277acc2a AutomationTool: Remove obsolete ParallelExecutor
#rnx
#rb Ryan.Hummer

[CL 30089190 by joe kirchoff in ue5-main branch]
2023-12-04 13:43:10 -05:00
eric knapik
9312fdc180 Use the ZenProject from the export source rather than the autogenerated value when available.
[REVIEW] [at]Zousar.Shaker [at]Dan.Engelbrecht

[CL 29935509 by eric knapik in ue5-main branch]
2023-11-27 11:20:30 -05:00
josh adams
e94ead8457 - Replaced System.Environment.MachineName (and System.Net.Dns.GetHostName()) with Unreal.MachineName, since Environment.MachineName is capped at 15 characters, and not every machine name is that short. Uses System.Net.Dns.GetHostName() internally unless is throws an exception, then it falls back to Env.MachineName
#rb adam.kinge, joe.kirchoff

[CL 29712082 by josh adams in ue5-main branch]
2023-11-14 09:40:24 -05:00
ben marsh
66829761be Horde: Change BlobHandle to be an interface so writer interfaces can also implement it.
#jira

[CL 29509421 by ben marsh in ue5-main branch]
2023-11-06 20:47:29 -05:00
ben marsh
ccc5dfdf8a Horde: Rename BundleReaderCache to BundleCache. Will be used for tracking write data also.
#jira

[CL 29495211 by ben marsh in ue5-main branch]
2023-11-06 14:14:33 -05:00
ben marsh
24bda4ce70 Horde: Remove BundleNodeHandle and BundleNodeLocator in favor of storing parsed data on handle objects.
#jira

[CL 29005756 by ben marsh in ue5-main branch]
2023-10-21 22:46:54 -04:00
ben marsh
00ef101197 Horde: Unify BundleStorageClient and BundleStorageClientWrapper.
#jira

[CL 29001725 by ben marsh in ue5-main branch]
2023-10-21 15:08:34 -04:00
ben marsh
9a598cd6cb Horde: Make HttpStorageClient a direct implementation of IStorageClient rather than deriving from BundleStorageClient.
#jira

[CL 29001200 by ben marsh in ue5-main branch]
2023-10-21 14:38:40 -04:00
benoit deschenes
c4802070bb Updating the NotarizeTask to now use the new "notarytool" as Apple is deprecating "altool --notarize-app".
#jira UE-189475
#rb Ryan.Hummer, zack.neyland

[CL 28854677 by benoit deschenes in ue5-main branch]
2023-10-17 17:03:23 -04:00
zousar shaker
31cd3b3dbf Remove use of CommandUtils.MakePathSafeToUseWithCommandLine on the executable name when performing zen snapshot exports as it makes the execution fail on Mac.
#rb none

[CL 28672186 by zousar shaker in ue5-main branch]
2023-10-11 13:44:24 -04:00
zousar shaker
e95a2b2c30 Change default port for autolaunched ZenServer local service to 8558. When connecting to an existing service (not autolaunched), the default port remains what it was before, but will change in the future.
[CL 28665636 by zousar shaker in ue5-main branch]
2023-10-11 11:18:41 -04:00
ryan hummer
4d2ec0e268 Fixing ZenLaunch spawning failing on non-Windows Platforms
no need to wrap in quotes

#rnx
#rb zousar.shaker.

[CL 28646893 by ryan hummer in ue5-main branch]
2023-10-10 19:53:33 -04:00
eric knapik
8ed6842a85 Add option to support override build dir.
[REVIEW] [at]Zousar.Shaker

[CL 28639160 by eric knapik in ue5-main branch]
2023-10-10 17:19:43 -04:00
zousar shaker
404622bb20 Fix bug in ZenExportSnapshotTask when NOT using a baseline snapshot descriptor.
#rb none
#jira UE-197088

[CL 28468612 by zousar shaker in ue5-main branch]
2023-10-04 14:57:31 -04:00