Commit Graph

12205 Commits

Author SHA1 Message Date
Ben Marsh
f01c65c701 Horde: Added platform and platformgroup properties to agent which mimic the names defined in the engine.
[CL 18228054 by Ben Marsh in ue5-main branch]
2021-11-17 15:32:26 -05:00
Ben Marsh
d37733d707 Horde: Allow null arguments to GetCachedUser(), to simplify call sites.
[CL 18227674 by Ben Marsh in ue5-main branch]
2021-11-17 14:59:08 -05:00
Ben Marsh
40932803c7 Horde: Fix exception serializing empty response.
[CL 18227478 by Ben Marsh in ue5-main branch]
2021-11-17 14:47:56 -05:00
carl bystrom
98b903f915 Horde: Revert index hint for finding jobs
Caused a performance regression in prod.

[CL 18227462 by carl bystrom in ue5-main branch]
2021-11-17 14:47:25 -05:00
Ben Marsh
97c63a5bb1 Horde: Fix tests.
[CL 18226957 by Ben Marsh in ue5-main branch]
2021-11-17 14:17:01 -05:00
Ben Marsh
3cf466ad80 BuildGraph: Allow macros in include directives again.
[CL 18224673 by Ben Marsh in ue5-main branch]
2021-11-17 11:46:01 -05:00
Joakim Lindqvist
53dcee1b52 Horde Storage - Conmented away the automatic inclusion of the git hash to remove warnings when not building under Git. Also fixed some issues exanding the msbuild properties if they were not set to any values.
[CL 18224608 by Joakim Lindqvist in ue5-main branch]
2021-11-17 11:39:57 -05:00
Ben Marsh
6cd5aeac02 Horde: Remove stray newline from the end of json formatted log messages.
[CL 18224541 by Ben Marsh in ue5-main branch]
2021-11-17 11:31:36 -05:00
Joakim Lindqvist
15b1350dcb Add all files under UBT output directory, as with .net core we now need all of them.
Fixes issue running build setup on linux builders.

[CL 18224318 by Joakim Lindqvist in ue5-main branch]
2021-11-17 11:17:35 -05:00
Joakim Lindqvist
48452a73a1 Deleted Oodle files from Horde.Storage that we do not use (which triggers copyright check errors)
Still keeping the libs as we do not have these anywhere else for us to use.

[CL 18223741 by Joakim Lindqvist in ue5-main branch]
2021-11-17 10:39:41 -05:00
Joakim Lindqvist
28f990201d Horde Storage: Added missing copyright headers
[CL 18223645 by Joakim Lindqvist in ue5-main branch]
2021-11-17 10:23:49 -05:00
Ben Marsh
33555fd51d Disable Pdb2Pdb on Horde agent binaries. Setting debugmode to Pdbonly instead.
[CL 18222980 by Ben Marsh in ue5-main branch]
2021-11-17 09:37:14 -05:00
carl bystrom
1ea74bfe15 Horde: Ensure correct index name is used
Referencing by name already causing issues.

[CL 18222453 by carl bystrom in ue5-main branch]
2021-11-17 08:40:45 -05:00
Joakim Lindqvist
a9da9bf219 Setup CI in Horde for Horde.Storage
Also added ability to override path to dotnet for DotnetTask, to allow us to use a system install dotnet for special cases (in this case we use a newer .NET version then the rest of the engine)

[CL 18222416 by Joakim Lindqvist in ue5-main branch]
2021-11-17 08:37:28 -05:00
Joakim Lindqvist
ebe12e6f61 Moved Horde.Storage from git to p4
Horde.Storage is the content addressable storage component we use to store ddc cached data (formerly known as Jupiter).

This is still very much WIP and not something we recommend licenses to roll out just yet.

[CL 18222405 by Joakim Lindqvist in ue5-main branch]
2021-11-17 08:36:23 -05:00
carl bystrom
6d1345a60d Horde: Provide index hint to find jobs query
Adding an index requires modifying the database which isn't allowed (yet) in the canary env. So the index is reference by name instead, which of course isn't great. Might be possible to look up these during the index creation and reference them by a C# instance/type. But considering the perf impact this has, I think it's worth the trade-off.

[CL 18222276 by carl bystrom in ue5-main branch]
2021-11-17 08:23:27 -05:00
Mitchell Fisher
5f4167cd23 [UE-133899] McpConfigHelper::Find() logs messages from any exceptions encountered when reflecting config types
#jira UE-133899
#preflight skip
#rb trivial

[CL 18217424 by Mitchell Fisher in ue5-main branch]
2021-11-16 19:55:11 -05:00
Ben Marsh
3f14906dc3 BuildGraph: Add a dedicated type to store source file location for script messages.
[CL 18210060 by Ben Marsh in ue5-main branch]
2021-11-16 14:07:30 -05:00
Josh Engebretson
cc64ff19c5 Horde: Change Create and Update job time indexes to descending
#jira none
#rnx

[CL 18209499 by Josh Engebretson in ue5-main branch]
2021-11-16 13:29:17 -05:00
carl bystrom
ef0ff7be84 Horde: Add settings flag for disabling background services
Useful when doing canary deployments where background services are doing writes to the database.
As a comparison, requests/responses are easy to control for writes with.

[CL 18206546 by carl bystrom in ue5-main branch]
2021-11-16 09:48:50 -05:00
Ben Marsh
af726fc5d7 Fix build.
[CL 18195222 by Ben Marsh in ue5-main branch]
2021-11-15 14:54:47 -05:00
Ben Marsh
9b3cbfa93e BuildGraph: Changes to support introspection of BuildGraph property dependencies without full script evaluation.
- Include directives must appear at the root level of the graph, and no longer support conditional inclusion.
- Macros may no longer be conditionally defined.
- Macros must have constant names. Ability to extend existing macros via the <Extend> element has been added to support pluggable extension points required by installed build script.

[CL 18195024 by Ben Marsh in ue5-main branch]
2021-11-15 14:46:03 -05:00
Ben Marsh
913f8aa8d2 Horde: Another build fix.
[CL 18193787 by Ben Marsh in ue5-main branch]
2021-11-15 13:30:54 -05:00
Ben Marsh
be0b5b0c34 Horde: Fix build error.
[CL 18193657 by Ben Marsh in ue5-main branch]
2021-11-15 13:21:21 -05:00
Ben Marsh
d40f2565de Horde: Fix compute expiry timers not being restarted correctly.
[CL 18193612 by Ben Marsh in ue5-main branch]
2021-11-15 13:17:27 -05:00