Commit Graph

4438 Commits

Author SHA1 Message Date
carl bystrom
c4c8b2b4c9 BuildGraph: Add target and output parameters to DockerBuildTask
[CL 28341767 by carl bystrom in ue5-main branch]
2023-09-29 10:21:10 -04:00
david harvey
5942347480 Fix: Turnkey uses the AutoSDKPlatformName when setting up AutoSDK & a perforce provider isn't being used
#jira UE-196536
#rb Josh.Adams

[CL 28337709 by david harvey in ue5-main branch]
2023-09-29 04:26:24 -04:00
brendan lienau
655515af57 [Backout] - CL28309146
[FYI] bob.tellez
Original CL Desc

Restoring CL 28289106 and 28295841
- Fixes an edge case where no artifacts are created but a process log is still created. This would throw as streamwriter's require the directory already exist
- Added additional exception guarding to ensure minimal loss in artifact generation.

-----------------------------------------------------------------
[Backout] - CL28289106 and 28295841
[FYI] brendan.lienau
Original CL Desc
-----------------------------------------------------------------
[Gauntlet] Updates UnrealSession.SaveRoleArtifacts
- Artifacts are now moved from the device to the destination directory instead of being copied
- User can opt-in to do a copy instead with -RetainDeviceArtifacts
- Adds a Self-Test that verifies the integrity of the SaveRoleArtifacts unit - this iteration and future ones
- Some basic code cleanup/re-ordering

#rb Clayton.Langford
#tests Self-Test

[CL 28329688 by brendan lienau in ue5-main branch]
2023-09-28 17:32:55 -04:00
josh adams
08bfa6ba5f - Fixed an issue with moving remapped files from UFS to NonUFS when making cooked editor, where it was using UnmakeStagedFileReference unnecessarily, and getting it wrong when a file was remapped
- Removed UnmakeStagedFileReference
#rb bernard.lambert

[CL 28325981 by josh adams in ue5-main branch]
2023-09-28 15:23:02 -04:00
bob tellez
02dc4d37eb [Backout] - CL28289106 and 28295841
[FYI] brendan.lienau
Original CL Desc
-----------------------------------------------------------------
[Gauntlet] Updates UnrealSession.SaveRoleArtifacts
- Artifacts are now moved from the device to the destination directory instead of being copied
- User can opt-in to do a copy instead with -RetainDeviceArtifacts
- Adds a Self-Test that verifies the integrity of the SaveRoleArtifacts unit - this iteration and future ones
- Some basic code cleanup/re-ordering

#rb Clayton.Langford
#tests Self-Test

[CL 28309277 by bob tellez in ue5-main branch]
2023-09-28 00:30:01 -04:00
brendan lienau
cc22843010 [Automation] Makes UnrealSessionRole.SaveRoleArtifacts copy/delete crashdumps instead of move.
This prevents an exception caused by MoveTo not being allowed across drives.
#rb trivial

[CL 28296851 by brendan lienau in ue5-main branch]
2023-09-27 18:04:03 -04:00
leon huang
083d45ac4d Updated P4Utils to also support adds and deletes on a list of files to avoid blowing the command line.
#rnx
#jira: none
#rb: Joe.Kirchoff
#test: Have some shelved C# scripts that use the functions and behavior seems to be the same using both the Add() function that takes a list of files vs taking a concatenated string of all the files.

[CL 28296795 by leon huang in ue5-main branch]
2023-09-27 18:02:54 -04:00
brendan lienau
a34470aa16 [Gauntlet] Updates UnrealSession.SaveRoleArtifacts
- Artifacts are now moved from the device to the destination directory instead of being copied
- User can opt-in to do a copy instead with -RetainDeviceArtifacts
- Adds a Self-Test that verifies the integrity of the SaveRoleArtifacts unit - this iteration and future ones
- Some basic code cleanup/re-ordering

#rb Clayton.Langford
#tests Self-Test

[CL 28291888 by brendan lienau in ue5-main branch]
2023-09-27 16:46:47 -04:00
Ben Marsh
a3783d7322 Horde: Add a matcher for Docker disk space errors.
[CL 28222783 by Ben Marsh in ue5-main branch]
2023-09-26 08:53:53 -04:00
Ben Marsh
025a6f2f88 Fix errors building UAT on Windows ARM64 due to invalid PDB debug type.
[CL 28191491 by Ben Marsh in ue5-main branch]
2023-09-25 12:24:22 -04:00
brendan lienau
81e8311e7e [Gauntlet] Resubmit CL 28155910
Rename TestInstallAndRunBase::TestCopyFilesToCopy to TestInstallAndRunBase::TestCopyAppConfigurationFiles
#rb trivial
#rnx

[CL 28166043 by brendan lienau in ue5-main branch]
2023-09-22 20:14:10 -04:00
alex kahn
9c408924a2 [Backout] - CL28155910 - CIS Setup Error
[FYI] brendan.lienau
Original CL Desc
-----------------------------------------------------------------
[Gauntlet] Rename TestInstallAndRunBase::TestCopyFilesToCopy to TestInstallAndRunBase::TestCopyAppConfigFiles
#rb trivial
#rnx

[CL 28161138 by alex kahn in ue5-main branch]
2023-09-22 18:26:19 -04:00
brendan lienau
3e60eff506 [Gauntlet] Rename TestInstallAndRunBase::TestCopyFilesToCopy to TestInstallAndRunBase::TestCopyAppConfigFiles
#rb trivial
#rnx

[CL 28159372 by brendan lienau in ue5-main branch]
2023-09-22 17:54:53 -04:00
Ben Marsh
3b7d176fdd Horde: Use a cache on the local disk to wrap any requests for bundle data.
[CL 28132629 by Ben Marsh in ue5-main branch]
2023-09-22 09:22:32 -04:00
Ben Marsh
ae3ad9b5c0 Fix build error.
[CL 28114134 by Ben Marsh in ue5-main branch]
2023-09-21 19:22:29 -04:00
Ben Marsh
feaf55847d Horde: Fix UAT build error.
[CL 28114013 by Ben Marsh in ue5-main branch]
2023-09-21 19:20:20 -04:00
alexander suvorov
0223b4b83d Move RetainStagedDirectory setting from launcher profile to project packaging settings.
#jira UE-185249
#rb none

[CL 28095878 by alexander suvorov in ue5-main branch]
2023-09-21 14:25:49 -04:00
Ben Marsh
7af2532ec9 Horde: Functionality to support multi-agent cooks.
[CL 28065915 by Ben Marsh in ue5-main branch]
2023-09-20 19:32:02 -04:00
Ben Marsh
61337286c7 Build fix.
[CL 28056869 by Ben Marsh in ue5-main branch]
2023-09-20 17:07:37 -04:00
brendan lienau
0f542f09d3 [Gauntlet Self-Test] Adds stubbed self-tests for the new gauntlet installation flow
Per-platform implementation will be gradually added as implementations for stubbed flows from CL 27999737 are completed
#rb adolf.stary

[CL 28007901 by brendan lienau in ue5-main branch]
2023-09-19 15:24:17 -04:00
brendan lienau
b026015910 [Gauntlet] Stubs out installation flow changes to enable gradual platform changes
- Adds ITargetDevice.ClearSavedDirectory
- Adds ITargetDevice.CopyAppConfigFiles

Platforms that have these functions implemented change per pass implementation:

Adjusts per pass from FROM
Pass 1
 - InstallApplication (including clearing device cache and copying additional files)
 - Run the app

Pass 2 and beyond
- Run the app

TO
Pass 1
- ClearSavedDirectory
- InstallApplication
- CopyAppConfigFiles
- Run the app

Pass 2 and beyond
- ClearSavedDirectory
- CopyAppConfigFiles
- Run the app

#rb andrew.grant, adolf.stary

[CL 28005887 by brendan lienau in ue5-main branch]
2023-09-19 14:51:53 -04:00
arciel rekman
856b52f7ae Add a new UAT script to report on binary sizes.
#rb Ben.Woodhouse, Tom.Holmes
[REVIEW]

[CL 27947824 by arciel rekman in ue5-main branch]
2023-09-17 01:11:29 -04:00
Ben Marsh
fdae8fe675 Horde: Fix warnings building Horde due to implicit usings.
[CL 27946512 by Ben Marsh in ue5-main branch]
2023-09-16 17:19:01 -04:00
Ben Marsh
4ac8d339f5 Horde: More static analyzer fixes.
[CL 27857368 by Ben Marsh in ue5-main branch]
2023-09-13 18:45:06 -04:00
adolf stary
cdb82c6975 Added function to UAT BuildCommand for checking whether there are any pending P4 changes
#rb marcelo.gomes, ryan.bazinet

[CL 27832860 by adolf stary in ue5-main branch]
2023-09-13 11:21:43 -04:00