Commit Graph

367 Commits

Author SHA1 Message Date
regner
ac6be062c2 PR #11848: Changes to improve BuildGraph in C#
#jira UE-214154

[CL 33952498 by regner in ue5-main branch]
2024-05-28 16:39:31 -04:00
zousar shaker
ba93e43f00 Add "SkipExport" and "SnapshotDescriptorPlatform" parameters to ZenExportSnapshotTask so that it can be used to write snapshot descriptors for data that was already exported and should be aliased to another platform.
[CL 33950620 by zousar shaker in ue5-main branch]
2024-05-28 15:59:41 -04:00
ben marsh
e0e3fca9f2 Horde: Fix http auth handler not using correct configuration for server when run locally.
- Caused by trying to use a single HttpAuthMessageHandlerState for DI container, even though multiple clients can now be created.
- A message handler is now owned by each Horde client instance, which has an appropriately configured HTTP message handler for that server.

[CL 33940225 by ben marsh in ue5-main branch]
2024-05-28 10:17:59 -04:00
ben marsh
0b12317174 Horde: Remove unused using directive.
#rnx

[CL 33938462 by ben marsh in ue5-main branch]
2024-05-28 09:02:10 -04:00
ben marsh
ccf5a4f8e6 BuildGraph: Static analysis fix.
#rnx

[CL 33845901 by ben marsh in ue5-main branch]
2024-05-22 17:44:48 -04:00
ben marsh
29c6898305 BuildGraph: Improve error handling for parsing environment variable strings.
#rnx

[CL 33845430 by ben marsh in ue5-main branch]
2024-05-22 17:26:50 -04:00
ben marsh
bc5172ea0b BuildGraph: Fix static analysis warnings. Also add support for writing a file containing secrets using inline variable declarations.
#rnx

[CL 33843438 by ben marsh in ue5-main branch]
2024-05-22 16:39:16 -04:00
ben marsh
8d4c00f22f Horde: Improve error message when user does not have permissions to view a secret.
#rnx

[CL 33839235 by ben marsh in ue5-main branch]
2024-05-22 14:59:56 -04:00
ben marsh
4d9ed7e417 EpicGames.BuildGraph: Apply standard naming conventions to BuildGraph.Automation.
[CL 33835640 by ben marsh in ue5-main branch]
2024-05-22 13:17:22 -04:00
ben marsh
8977cef63a BuildGraph: Enable more static analysis warnings for BuildGraph.Automation.
#rnx

[CL 33830284 by ben marsh in ue5-main branch]
2024-05-22 11:01:26 -04:00
ben marsh
73cf491816 BuildGraph: Enable warnings for methods that should be made static.
#rnx

[CL 33818162 by ben marsh in ue5-main branch]
2024-05-21 21:47:03 -04:00
ben marsh
87114921f6 BuildGraph: Enable warnings for using non-portable string comparisons.
#rnx

[CL 33817902 by ben marsh in ue5-main branch]
2024-05-21 21:27:08 -04:00
ben marsh
c14d97c48d BuildGraph: Enable warnings for string comparisons in BuildGraph.Automation.
#rnx

[CL 33817664 by ben marsh in ue5-main branch]
2024-05-21 21:06:38 -04:00
ben marsh
7918a7011d BuildGraph: Enable warnings for declaring visibile instance fields in BuildGraph.Automation.
[CL 33817522 by ben marsh in ue5-main branch]
2024-05-21 20:54:09 -04:00
ben marsh
22505fb1e1 Remove test code.
#rnx

[CL 33813702 by ben marsh in ue5-main branch]
2024-05-21 18:34:30 -04:00
ben marsh
d8e9333e76 BuildGraph: Add support for using properties rather than fields in parameter class definitions.
[CL 33813295 by ben marsh in ue5-main branch]
2024-05-21 18:20:34 -04:00
ben marsh
12121013a4 BuildGraph: Add a task which will read secrets from Horde and substitute named placeholders for them in a text file.
#rnx

[CL 33812073 by ben marsh in ue5-main branch]
2024-05-21 17:49:32 -04:00
zousar shaker
273f3d6fa0 Ensure when exporting snapshots that the bucket name we export to is always valid and sanitized.
[CL 33324803 by zousar shaker in ue5-main branch]
2024-04-30 02:28:24 -04:00
zousar shaker
e17e44c5b4 CopyTask does not always respect the ErrorIfNotFound=false parameter. When encoutnering a file mapping without wildcards, if the source file doesn't exist, it will error due to an exception thrown in CreateFileMapping regardless of presence of ErrorIfNotFound=false. Using the same approach of enclosing CreateFileMapping in a try/catch as is used by MoveTask.cs.
#rb Ben.Marsh

[CL 33174078 by zousar shaker in ue5-main branch]
2024-04-23 13:49:19 -04:00
zousar shaker
542ec3d49f Avoid emitting warnings on oplog creation when exporting a snapshot to a zen destination storage server. oplog creation can fail when the oplog already exists, and this should not be a warning.
[CL 33047531 by zousar shaker in ue5-main branch]
2024-04-17 16:18:53 -04:00
klukule
37afe7a4b3 PR #11760: Expand environment file check to also skip when empty string is passed to SpawnTask. Fixes issue in BuildHorde.xml when building with ImageEnvFile variable. (#11760)
#jira UE-212536

[CL 33039322 by klukule in ue5-main branch]
2024-04-17 12:31:09 -04:00
reapazor
b8f790f8e6 PR #11757: Fix tool deployment from Horde Agents. Specifying a JSON options file is now optional; if empty, the settings will be read from the environment.
#jira UE-212503

[CL 33038950 by reapazor in ue5-main branch]
2024-04-17 12:22:42 -04:00
ben marsh
e6b26cf1a2 Detect invalid slashes in markdown links.
[CL 32790915 by ben marsh in ue5-main branch]
2024-04-08 09:23:20 -04:00
zousar shaker
6cc4643cda Adding retry mechanism when exporting zen oplogs. Also ensuring that we don't write out a descriptor if we failed to export the oplog.
[CL 32782185 by zousar shaker in ue5-main branch]
2024-04-06 00:55:05 -04:00
zousar shaker
103febe143 Emit a warning if the ZenExportSnapshotTask experiences a non-zero return code when calling zen.exe to export an oplog.
#rb dan.engelbrecht

[CL 32772484 by zousar shaker in ue5-main branch]
2024-04-05 16:58:50 -04:00