Commit Graph

974 Commits

Author SHA1 Message Date
matt peters
427a405c5b AutomationTools: Normalize whitespace in DeploymentContext.cs.
#rnx
#rb matt.peters
#rbself Trivial

[CL 32091291 by matt peters in ue5-main branch]
2024-03-07 12:36:09 -05:00
david harvey
82f0db6bb0 Add GetCodeSpecifiedDeviceSoftwareUpdateVersions() function for Turnkey, mirroring GetCodeSpecifiedSdkVersions()
#rb Josh.Adams
#rnx

[CL 32080984 by david harvey in ue5-main branch]
2024-03-07 05:04:28 -05:00
justin peterson
784548ebe0 [Backout] - CL32069881 - CIS Compile Error
[FYI] joe.barnes
Original CL Desc
-----------------------------------------------------------------
Make UpdatePackagingParameters non-platform specific (even though it is) and mov it into it's own file. Keep implementation in platform specific file. This keeps from breaking the build script for those that don't have Switch support synced.

#rb brendan.lienau

[CL 32073962 by justin peterson in ue5-main branch]
2024-03-06 19:13:47 -05:00
joe barnes
26687e181e Make UpdatePackagingParameters non-platform specific (even though it is) and mov it into it's own file. Keep implementation in platform specific file. This keeps from breaking the build script for those that don't have Switch support synced.
#rb brendan.lienau

[CL 32070035 by joe barnes in ue5-main branch]
2024-03-06 17:29:02 -05:00
ben marsh
f1cff2b71b Remove P4 syncing from updating version files on buildmachines. Builders can track their own workspace without having to sync files manually.
[CL 31948098 by ben marsh in ue5-main branch]
2024-03-01 12:51:37 -05:00
calvin zheng
d21ba7eabb clean up comments
#jira UE-206565
#rb calvin.zheng

[CL 31816257 by calvin zheng in ue5-main branch]
2024-02-26 16:12:56 -05:00
josh adams
2b258842b5 - Cleaned up remaining UnrealEditor-Cmd.exe hardcodes, and using the recently checked in GetEditorForProject function
- Renamed some "FileReference ProjectName" to "FileReference ProjectFile"
- Passing in "null" for a lot of UnrealExe params, instead of "UnrealEditor-Cmd", so allow GetEditorForProject to be called (we must still allow for a true override, so we can't get rid of the param)
- Added FileSystemReference.Exists
#rb David.Harvey

[CL 31660211 by josh adams in ue5-main branch]
2024-02-20 18:03:33 -05:00
josh adams
610ad3e065 - Added a shared GetEditorForProject() function which should be used in UAT to get the path to the binary to run, becasue UnrealEditor-Cmd.exe is not always correct (if the editor is a Unique build environment, the editor to use to cook etc is the project editor. not UnrealEditor)
#rb david.harvey

[CL 31621119 by josh adams in ue5-main branch]
2024-02-19 15:10:30 -05:00
dan thompson
15fd28a21e Reference Chunk Database:
* Optionally output a CSV of changed/new packages.
* Add an additional directory input if containers get separated off during a build process
* Catch optional segment containers and patch up the container id per the id fix in a separate CL.
bunch of different preflights due to CIS issues.
#rb fabian.giesen
#jira UE-172130

[CL 31576665 by dan thompson in ue5-main branch]
2024-02-16 15:10:30 -05:00
lorry li
dc1f66105c Suppress the warning message in WebTests.
#jira UE-206338
[REVIEW] [at]michael.atchison [at]stephen.ma [at]rafa.lecina [at]michael.kirzinger
#rb michael.atchison, Rafa.Lecina, stephen.ma

[CL 31348674 by lorry li in ue5-main branch]
2024-02-09 13:41:36 -05:00
Ryan Hummer
340e32fbf9 Adding an option to run code signing via signtool.exe in parallel, up to 16 concurrent instances.
* Exposing the option to the InstalledEngineBuild.xml, off by default
* Moving to a signing service requires parallel calls for performance
* Some clean up of log printing to improved structured logging output

#rnx
#jira UE-204728
#rb Chad.Garyet

#changelist validated
#virtualized

[CL 31228478 by Ryan Hummer in ue5-main branch]
2024-02-06 15:39:04 -05:00
ben marsh
5468687551 Horde: Add Meziantou.Analyzer to Horde.Agent and Horde.Server. Many rules currently disabled; will re-enable and fix up some in subsequent commits.
[CL 31186356 by ben marsh in ue5-main branch]
2024-02-05 15:12:50 -05:00
joe kirchoff
f6a2b5e35e Fix some dotnet warnings
#rnx

[CL 31114076 by joe kirchoff in ue5-main branch]
2024-02-01 20:01:12 -05:00
joshua shlemmer
69cf6ad6b3 Retry of requests for LibToolTelemetry
#rb Ben.Marsh, Eric.Knapik, gary.yuan

[CL 31012523 by joshua shlemmer in ue5-main branch]
2024-01-30 13:05:45 -05:00
ben marsh
eed8d5d68f Allow specifying the content description attribute for signed files, and set appropriate names for the Horde MSIs. These descriptions are displayed in UAC prompts, and default to random numbers if not specified explicitly.
[CL 30814679 by ben marsh in ue5-main branch]
2024-01-23 15:01:32 -05:00
chris varnsverry
f12ea6b8eb - Fix UAT not suggesting -skipcook as an option when Stage is requested and no cook param is provided.
- Note Cook is true when -skipcook is set on command line so the condition itself is valid it just was missing -skipcook in the exception message

[REVIEW] [at]Alejandro.Aguilar [at]Rob.Cannaday

#rb alejandro.aguilar

[CL 30806276 by chris varnsverry in ue5-main branch]
2024-01-23 11:08:05 -05:00
mattias jansson
eba1214cf5 Avoid waiting for std streams timeout in consecutive calls if WaitForExit is called multiple times on the process result object
#rb Yuriy.ODonnell

[CL 30695273 by mattias jansson in ue5-main branch]
2024-01-18 15:46:51 -05:00
will brown
cd95976e6b UAT - Extending ICustomStageCopyHandler to support overriding of the plugin manifest file creation. Allows game projects to have control over how plugin descriptors are added to the manifest
#rb Josh.Adams, robert.millar

[CL 30668433 by will brown in ue5-main branch]
2024-01-17 16:09:07 -05:00
josh adams
980ffe3ce7 - Allow for code to set ProjectParams.UnrealExe (not used in Main, but this restores functionality that was removed)
#rb josh.adams

[CL 30661384 by josh adams in ue5-main branch]
2024-01-17 12:15:06 -05:00
josh adams
8de5dde4df - Added support for UAT to cook with a specific project's editor .exe for projects that use a Unique BuildEnvironment (this will cook with the game's editor, so it will use the game's uniquely compiled engine modules (useful for per-project SDKs that have different targetplatform dlls)
- The target receipt already listed the proper exe to run, taking unique/shared into account, so this change delayed-looks-up the path from the receipt on first use (like when running the editor to cook)
#rb david.harvey

[CL 30658383 by josh adams in ue5-main branch]
2024-01-17 10:07:42 -05:00
mattias jansson
08e098801d Add command line option to control stdout/stderr read timeout in child processes of AutomationTool. Needed for workaround in Wine where stderr is not always properly closed, causing a minute delay on some operations. Patching Wine is cumbersome at this point, and this command line option introduces a workaround while maintaining current behaviour by default.
Tested by running AutomationTool under Wine using Linux and noticing a one minute delay as process exit is waiting for stderr to close. Then re-running the test with -WaitForStdStreams=100 and verifying the exit happens within 100ms and no output is lost.

#rb Ben.Marsh

[CL 30648254 by mattias jansson in ue5-main branch]
2024-01-16 17:48:35 -05:00
sebastian schoner
a7c5f5f909 Allow to skip -fileopenlog for cooks
The file open log is a facility that automatically keeps a log of all files the process has opened and their order. This is rather expensive as it (a) also tracks failed attempts to open files and (b) it maintains a large table in memory, storing which files have already been opened (so every file is only logged once). This table can easily grow into the tens of megabytes; even on an empty project I see this taking 60MB by itself. Making this optional allows us to skip this step for UEFN cloud cooks: in these cases we're throwing that log file away anyway.

#rb rob.perren

[CL 30344591 by sebastian schoner in ue5-main branch]
2023-12-15 04:22:42 -05:00
joe kirchoff
8e674c1c47 Update System.Drawing.Common to 4.7.3
#rnx

[CL 30279376 by joe kirchoff in ue5-main branch]
2023-12-12 17:25:50 -05:00
will brown
3a3e27c70e AutomationTool changes to support game projects overriding how to copy files during staging. InternalUtils.SafeCopyFile now takes an optional delegate to call when copying files. A CustomStageCopyHandler can be implemented to supply the copy operation. This is useful for transforming files during staging.
#rb Josh.Adams

[CL 30192577 by will brown in ue5-main branch]
2023-12-07 16:35:45 -05:00
joshua shlemmer
7902c4cd98 reusable singleton httpclient as per MS guidance for .net5+
updates PDB telemetry task to use new client

[REVIEW] [at]Gary.Yuan, [at]Eric.Knapik

#rb Eric.Knapik

[CL 30122489 by joshua shlemmer in ue5-main branch]
2023-12-05 12:18:26 -05:00