170 Commits

Author SHA1 Message Date
ryan hummer
77b26055ce Code Signing use /tr instead of /t
As we now force the algo so /tr needs to be used.

#rnx
#rb none

[CL 36752802 by ryan hummer in 5.5 branch]
2024-10-01 18:45:11 -04:00
ryan hummer
2e93d91d33 Update sha1 code signing to use /fd and /td args
Args are now required with new signtool shipped with newer win sdks

#rnx
#rb none

[CL 36749483 by ryan hummer in 5.5 branch]
2024-10-01 18:06:07 -04:00
ryan hummer
51da608b6f Windows Code Signing Adjustments
* Fixing code so the first server is used
* removing a server as it appears to be not reliable anymore

#rnx
#jira UE-222611
#rb none

[CL 35798006 by ryan hummer in ue5-main branch]
2024-08-26 10:19:26 -04:00
joe kirchoff
106ca956d8 AutomationTool: Add KnownLogEvent code for code signing
#rnx
#jira UE-218503

[CL 35067791 by joe kirchoff in ue5-main branch]
2024-07-24 17:22:19 -04:00
joe kirchoff
e0710ab967 AutomationTool: Add KnownLogEvent code for code signing
#rnx
#jira UE-218503

[CL 35067772 by joe kirchoff in ue5-main branch]
2024-07-24 17:21:22 -04:00
ben marsh
dd9ff2a710 AutomationTool: Add a service provider to the CommandUtils class, and add utility methods to allow retrieving secrets from Horde.
#rnx

[CL 34513034 by ben marsh in ue5-main branch]
2024-06-19 16:32:17 -04:00
joe kirchoff
72a8c5996d Fix various XML comment issues in AutomationTool and various scripts (non-functional change)
#rnx

[CL 34263204 by joe kirchoff in ue5-main branch]
2024-06-10 21:51:45 -04:00
james singer
bcadb03ee6 Fix CombinePaths dereferencing null
#jira none

[CL 32524530 by james singer in ue5-main branch]
2024-03-26 17:48:05 -04:00
james singer
51c592e2f1 Fix problem making chunked builds due to CombinePaths combining quoted and unquoted paths together
#jira UE-206734

#rb zack.neyland

[CL 32521622 by james singer in ue5-main branch]
2024-03-26 16:19:45 -04: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
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
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
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
860736cdbd EpicGames.Core: Record the .NET activity stack on log events. Can be used to supplement logs with context-specific information allowing more granular information about errors and warnings.
[CL 26683383 by Ben Marsh in ue5-main branch]
2023-07-28 15:10:41 -04:00
Josh Adams
3b0498006e - Added a couple functions to CommandUtils for archive to handle copying symlinks properly (with a mode enum to select how to handle symlinks: Follow, Retain, Ignore - with defaults based on platform to be similar to how existing code was setup)
- FindFilesAndSymlinks
  - CopyFileOrSymlink
#rb joe.kirchoff
#preflight 6449556f1150e908d08bc3ba

[CL 25201543 by Josh Adams in ue5-main branch]
2023-04-26 12:54:36 -04:00
james singer
cd0f3fbd0e Fix launching on remote Linux box from Windows editor
#jira UE-52298
#rb Brandon.Schaefer
#preflight 641e2a97803cb466e86db25c

[CL 24801794 by james singer in ue5-main branch]
2023-03-27 09:25:31 -04:00
Ben Marsh
056933d936 Allow setting executable bits for files in zip archives from Windows, and set the executable permissions on Mac/Linux builds of UGS-CLI by default.
#preflight none

[CL 24616578 by Ben Marsh in ue5-main branch]
2023-03-13 13:41:26 -04:00
Ben Marsh
7e26c34d2b EpicGames.Core: Deprecate legacy log methods to prefer structured logging interface.
#preflight 640a23d928026468d9de7cbd

[CL 24580590 by Ben Marsh in ue5-main branch]
2023-03-09 14:51:40 -05: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
Ben Marsh
136d92f223 Fix order of arguments to unzip command on Mac.
#preflight none

[CL 24481713 by Ben Marsh in ue5-main branch]
2023-03-02 10:08:01 -05:00
janurbanech13
ae9fd95e3a PR #10096: Added new argument for UnzipTask to allow disabling Overwrite files (Contributed by janurbanech13)
#jira UE-176447
#preflight 63ff724a437ce3e7f3059498

[CL 24462934 by janurbanech13 in ue5-main branch]
2023-03-01 10:51:54 -05:00
Ben Marsh
f81c39088b UAT: Fix exceptions not being thrown if copying a file fails.
#preflight none
#jira UE-178656

[CL 24461900 by Ben Marsh in ue5-main branch]
2023-03-01 09:50:43 -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