Commit Graph

60 Commits

Author SHA1 Message Date
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
david harvey
a2124892b5 Added a helper function to resolve the UNC share path for a mapped network drive
#jira UE-198716
#rnx
#rb Josh.Adams

[CL 29229449 by david harvey in ue5-main branch]
2023-10-30 07:15:32 -04:00
Ben Marsh
e141cb6196 More UAT structured logging fixes.
#preflight 6408dee3b0544ef0b4bca696

[CL 24564590 by Ben Marsh in ue5-main branch]
2023-03-08 14:32:15 -05:00
Ben Marsh
235eb77726 Change to structured logging in other AutomationTool projects.
#preflight 6408c4478c0039bbf750e861

[CL 24562553 by Ben Marsh in ue5-main branch]
2023-03-08 12:43:35 -05:00
Ben Marsh
89d6613573 UAT: Refactor AutomationUtils and BuildGraph to use structured logging.
#preflight 6407c4c26e1dadfcdab25849

[CL 24553706 by Ben Marsh in ue5-main branch]
2023-03-07 21:23:47 -05:00
jack porter
6fabf3f5dc Add Force=true option to [CookedEditorSettings] EngineExtraStageFiles / ProjectExtraStageFiles to force staging of a file that would otherwise be rejected by the Restricted folder filter.
#preflight 63f87a20b879197e732ccabb
#rb Graeme.Thornton

[CL 24422139 by jack porter in ue5-main branch]
2023-02-27 08:46:00 -05:00
justin marcus
c9749999b5 Automation Tool
--Fix directory renames not failing properly

[REVIEW] [at]Mitchell.Fisher [at]Graeme.Thornton [at]Francis.Rouleau
#preflight https://horde.devtools.epicgames.com/job/63f7cdb59009dd70d74cf8bb

#localization none
[FYI] dan.mehler, todd.winchell
#preferred_allowlister graeme.thornton

[CL 24397827 by justin marcus in ue5-main branch]
2023-02-24 04:00:24 -05:00
carl bystrom
dcdc796d8d AutomationTool: Set version file as writeable when P4 is not enabled
#rb Ben.Marsh
#preflight 63ee702881646f1f24f02493

[CL 24262423 by carl bystrom in ue5-main branch]
2023-02-16 13:11:29 -05:00
Joe Kirchoff
d5a49b45c4 AutomationTool: Reset FileInfo cache when deleting files
#rnx
#rb none
#jira UE-168433
#preflight 63b8aac2763c6c10645f93eb

[CL 23605345 by Joe Kirchoff in ue5-main branch]
2023-01-06 18:32:51 -05:00
Ryan Hummer
cc00a96d2e Update MacPlatform.ProcessArchivedProject to use safer file IO operations
Added a SafeRenameDirectory similar to SafeReaname file that uses Directory.Move

#rnx
#jira none
#rb none
#preflight 62bf48388d5e6787591b3f8e

[CL 20922943 by Ryan Hummer in ue5-main branch]
2022-07-01 18:52:43 -04:00
bryan johnson
7da8b46f9b Add a retry to timestamp diff check, as networks might take a few seconds to settle the timestamp
#jira UE-145154
#rb ryan.hummer
#preflight 62293e9fd773d6497b1a28a9

#ROBOMERGE-AUTHOR: bryan.johnson
#ROBOMERGE-SOURCE: CL 19334950 in //UE5/Release-5.0/... via CL 19335251
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19348707 by bryan johnson in ue5-main branch]
2022-03-10 22:25:34 -05:00
jonathan adamczewski
5765f4595e AutomationTool: Remove UE4 references
#jira UE-111740
#preflight none
#trivial

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18576039 in //UE5/Release-5.0/... via CL 18576055
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18576072 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-11 15:15:59 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
jonathan adamczewski
78b5314924 AutomationTool UpdateVersionFiles:
Do not modify MetaData.cs

#jira none

#ROBOMERGE-SOURCE: CL 17426368 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17426388 by jonathan adamczewski in ue5-release-engine-test branch]
2021-09-03 16:47:34 -04:00
ryan hummer
fbbc11a04c Adding resilency to SafeCreateDirectory
All the other Safe<FileOperation>() methods perform a retry. Gave similar retry logic to SafeCreateDirectory

#jira UE-121712
#preflight 611ea60de7a30700016b89c4

#ROBOMERGE-SOURCE: CL 17271118 via CL 17273645
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v858-17259218)

[CL 17274513 by ryan hummer in ue5-release-engine-test branch]
2021-08-23 15:27:50 -04:00
jonathan adamczewski
7b507db7d9 AutomationTool:
Remove dependencies from AutomationTool -> AutomationToolUtils

Removes compile-time dependencies, except for the call to AutomationTool.Automation.Process - which will be changed in a future CL.

This change is part of preparing AutomationTool to be able to build All *.Automation.csproj projects (including AutomationUtils.Automation.csproj)

#jira UE-109181
#preflight 60caedc72ab21800016a73a5

#ROBOMERGE-SOURCE: CL 16703954 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16703966 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-17 09:46:27 -04:00
jonathan adamczewski
55f53bcc8b ExitCode:
Move enum from AutomationUtils.Automation to BuildUtilities

#jira none
#trivial
#preflight 60ca8a3d78c3b00001f86b24

#ROBOMERGE-SOURCE: CL 16701095 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16701097 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-17 01:49:34 -04:00
brandon schaefer
50c90c0466 Adds support for DnsEligible
For Linux add a command line option to disable exclusive locks on files opened. This is due to a dotnet implemention
https://github.com/dotnet/runtime/issues/34126

#jira UE-110258
[REVIEW] [at]Jonathan.Adamczewski, [at]Michael.Sartain
#lockdown Cristina.Riveron

#ROBOMERGE-SOURCE: CL 15982440 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)

[CL 15989649 by brandon schaefer in ue5-main branch]
2021-04-13 10:28:24 -04:00
ben marsh
886b1311e0 Ignore abandoned mutex exception
#jira UE-103793
#rb none

#ROBOMERGE-SOURCE: CL 15443566 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15454181 by ben marsh in ue5-main branch]
2021-02-18 13:09:51 -04:00
Joakim Lindqvist
6aa4eb29a4 Fixed issue with global mutexes in UBT not being deterministic after net core transition, as GetHashCode for strings is not deterministic in net core (was never a guarantee to be).
Also fixed similar case in UAT.

#jira UE-105044
#rb ben.marsh

[CL 15177623 by Joakim Lindqvist in ue5-main branch]
2021-01-25 10:08:22 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
Joakim Lindqvist
e7039d3d35 UBT and UAT now use .NET Core instead of Framework and Mono. This means that we use the same runtime on Windows, Linux and Mac. Further benefits including newer C# features and a lot of intresting features for the future around AOT and Tiered compilation.
Some behavior changes:
Output paths - Both tools are now output to a subdirectory of Binaries/Dotnet, I believe most hardcoded paths have been fixed up but there may be tools that will fail because of this.
UAT Plugin Building - As .NET Core does not support AppDomain unloading, how we build the plugins has changed quite a bit, these are now built before UAT is started rather then by UAT itself. If you just start UAT via RunUAT.bat/sh this should just continue to work.

#rb ben.marsh

[CL 14834347 by Joakim Lindqvist in ue5-main branch]
2020-12-02 06:57:13 -04:00
Joakim Lindqvist
2f6056b62b UAT Net-Core now supports running on Linux as well.
Set UE_USE_DOTNET=1 to enable this.

#rb ben.marsh

[CL 14641009 by Joakim Lindqvist in ue5-main branch]
2020-11-03 08:30:22 -04:00
Josh Adams
0e75180568 - Added -WaitForUATMutex commandline parameter to UAT so that it will block on another UAT process instead of erroring out
#rb wes.hunt
#robomerge release-5.0-m2

[CL 14275968 by Josh Adams in ue5-main branch]
2020-09-08 20:05:38 -04:00