Commit Graph

81 Commits

Author SHA1 Message Date
Matthew Griffin
ccd90b10b4 Listing runtime dependencies in module rules instead of InstalledEngineFilters.ini
Added code when filtering rocket files to search through build products for target files and add their runtime dependencies to the filter rules.

#jira UEB-372

[CL 2672116 by Matthew Griffin in Main branch]
2015-08-28 06:22:07 -04:00
Peter Sauerbrei
34146c450d refactored Log to LogLog and LogConsole to Log
#uat

[CL 2662556 by Peter Sauerbrei in Main branch]
2015-08-20 09:37:11 -04:00
Ben Marsh
3bb5d71d68 Remove promotion build nodes, aggregate nodes, and triggers.
[CL 2653116 by Ben Marsh in Main branch]
2015-08-12 13:58:01 -04:00
Ben Marsh
599a3fcae0 Include the Templates/TemplateResources folder when filtering the engine to use for generating DDC.
[CL 2652697 by Ben Marsh in Main branch]
2015-08-12 10:05:08 -04:00
Ben Marsh
89432f444b Separate Rocket builds from Git promotions. A separate trigger email will be sent for making Rocket builds from now on.
[CL 2651000 by Ben Marsh in Main branch]
2015-08-11 08:14:46 -04:00
Wes Hunt
585af51d15 TempStorage Refactor
GUBP High Level
* Temp Storage is zipped into a single archive per node now. This results in ~75% reduction in temp storage usage and network traffic, not to mention the per-file overhead.
* Temp Storage is in P:\\Builds\\{Game}\\TmpStore instead of P:\\Builds\\{Game}\\GUBP (to facilitate easier cleaning of this new structure).
* Temp Storage nodes are in subdirectories of {Branch}\\{CL}\\{NodeName} now instead of a flat directory structure that was hard to manually sift through.

GUBP Mid Level
* Removed -Store= and -StoreSuffix= test parameters.
* Added -NoZipTempStorage parameter to turn off temp storage zipping if necessary.
* Created GUBP.JobInfo class that collects info about the job as a whole to be passed around by GUBP. Mostly used by any code that need to interact with TempStorage.
* Created TempStorageNodeInfo that describes the necessary parameters to find the temp storage location for a node.
* Fully XML commented TempStorage.cs, and commented internals all major functions.
* Added a bunch of telemetry data for storing, retrieving, and cleaning shared temp storage.

UAT Mid Level
* Fixed a bug in Ionic.Zip that make ExtractAll() not work on Mono, checked in new DLLs.
* Added UAT parameter -UseLocalBuildStorage that allows you to test build storage stuff completely locally. Writes to Engine\\Saved\\LocalBuilds\\...

GUBP Low Level
* Refactored some GUBP startup code so temp vars would be limited in scope. Makes it easier to track the impact of refactoring these things.
* CullNodesForPreflight is only called for preflight builds.
* Refactored TempStorage.FindTempStorageManifests to use new TmpStore structure and harden the brittle string/path parsing it was doing. See the new TempStorage FindMatchingSharedTempStorageNodeCLs().
* Refactored TempStorage Saving and Loading to use XDocument instead of older XmlDocument. Removed a bunch of redundant checks.
* Use StripBaseDirectory and MakeRerootedFilePath to remove the brittle directory manipulation code. Directories no longer require a '/' at the end.
* Removed a few redundant caching layers in cleaning temp storage that try to ensure we don't clean a folder twice. None of them were necessary.
* Removed unused single-threaded copy code from temp storage.
* Updated Temp Storage unit test, and fully commented the logic behind it.

UAT Low Level
* UAT top level exception handler is now a single log line now to help parsers find the error.
* Removed several uses of FormatException as it doesn't display the entire exception chain, and is not as good as the default exception formatter.
* Removed ExceptionToString as it used FormatException, which was not a good precedent.
* Fixed several cases of exception propagation that was not properly chaining the inner exception.
* Refactored ThreadedCopyFiles to use Parallel.For because it was just as fast (if not faster) and much simpler to maintain.
* Removed the suffix from Robust_FileExists_NoExceptions because it's sole purpose in life WAS to throw exceptions!
* Added a bunch of XML doc comments to CommandUtils.
* Modernized some container manipulation and iteration to use IEnumerable and extension methods more appropriately.
* Added several @todos for other minor cleanup stuff that should happen eventually.
* Fixed some uses of String.Compare to use invariant culture.
#codereview:ben.marsh

[CL 2644846 by Wes Hunt in Main branch]
2015-08-05 10:22:11 -04:00
Peter Sauerbrei
dc1d815f84 refactored the logging system for UAT/UBT to be more like UE4
we now use an enum similar to UE4 with Fatal, Error, Warning, Display, Log, Verbose, and VeryVerbose
Log will only go to the log file unless -verbose is passed on the command line
reduced some of the output from UAT to be Log only

[CL 2631062 by Peter Sauerbrei in Main branch]
2015-07-23 14:51:46 -04:00
Wes Hunt
7ff08138f9 Move Robust_XXX methods into InternalUtils, since it is called outside of TempStorage.
#UEB-307

[CL 2629371 by Wes Hunt in Main branch]
2015-07-22 15:21:40 -04:00
Ben Marsh
36d0c480b6 Fix unused variable warning causing build failure on Mono.
#codereview Peter.Sauerbrei

[CL 2624756 by Ben Marsh in Main branch]
2015-07-17 15:46:40 -04:00
Peter Sauerbrei
d9677974db fixes for executable signing for Rocket build
[CL 2624483 by Peter Sauerbrei in Main branch]
2015-07-17 13:13:26 -04:00
Ben Marsh
58be67b297 Add an error if nodes within an agent sharing group have multiple controlling triggers. Fix Rocket publish symbols nodes incorrectly having a dependency on the promotion trigger when debugging locally.
[CL 2618394 by Ben Marsh in Main branch]
2015-07-13 13:02:20 -04:00
bruce nesbit
df30071d7e Revised feature pack code.
Additional files can now be specified in feature pack manifest.
Feature packs can now be parsed/installed feature pack without the need for a .upack file
Removed feature packs for shared template resources
Moved shared template resource manifests into a FeaturePack folder and revised so they will work sans .upack
Removed shared feature packs from list of .upacks rocket builds.

[CL 2617901 by bruce nesbit in Main branch]
2015-07-13 05:47:36 -04:00
Peter Sauerbrei
e8d08e52fd UEB-117 - Move secure signing to the platforms
#codereview ben.marsh

[CL 2616956 by Peter Sauerbrei in Main branch]
2015-07-10 14:06:52 -04:00
bruce nesbit
2393775b56 Added support for shared packs to builder
#codereview ben.marsh

[CL 2613710 by bruce nesbit in Main branch]
2015-07-08 12:53:50 -04:00
Ben Marsh
66c2c56514 Move all GUBP legacy state variables into GUBPBranchConfig.
[CL 2613382 by Ben Marsh in Main branch]
2015-07-08 08:05:50 -04:00
Ben Marsh
2f02ad3592 Move handling of the GUBPNodes and GUBPAggregateNodes dictionaries out into LegacyBranchSetup.
[CL 2612854 by Ben Marsh in Main branch]
2015-07-07 16:34:24 -04:00
Ben Marsh
9629faba9c Change aggregates to be a different class hierarchy to regular build nodes. They don't have many properties in common; they're never actually executed, so they have to be manually filtered out before passing to EC and handled specially when traversing the graph, and they don't suffer the same limitations with being behind a single trigger. Instead of being included in the graph directly, references to them are expanded out to their dependencies when the graph is linked.
[CL 2610562 by Ben Marsh in Main branch]
2015-07-04 09:37:13 -04:00
Ben Marsh
ce757909c5 Convert a few GUBP variables into instance variables rather than statics.
[CL 2610508 by Ben Marsh in Main branch]
2015-07-03 14:55:27 -04:00
Ben Marsh
8031112b2e Make ActivePlatforms a local variable for the purposes of branch setup. Also fix FortniteAutoTestNode adding references to Linux nodes, even if Linux is not available.
[CL 2607801 by Ben Marsh in Main branch]
2015-07-01 14:08:12 -04:00
bruce nesbit
c04cdb06e5 Temporarily removed shared feature pack names from CurrentFeaturePacks list
[CL 2606386 by bruce nesbit in Main branch]
2015-06-30 16:17:24 -04:00
bruce nesbit
98e35cf237 Added shared feature packs to list in rocket build list
[CL 2605649 by bruce nesbit in Main branch]
2015-06-30 10:06:41 -04:00
Ben Marsh
da46bb2941 Separate temp storage into its own class, rather than being part of CommandUtils.
[CL 2597682 by Ben Marsh in Main branch]
2015-06-23 15:31:37 -04:00
Ben Marsh
1e979bb54c Add a Robust_CopyFile function to deal with Macs losing connections to the network share.
[CL 2581441 by Ben Marsh in Main branch]
2015-06-09 13:13:07 -04:00
Ben.Marsh
1f2f22a53c [INTEGRATE] Change 2563617 by Ben.Marsh@Ben.Marsh_T3245_Main on 2015/05/22 19:15:48
Increase the priority of the StripRootEditor node, so it runs directly after RootEditor (and before some random sample decides to relink plugins and invalidate the PDBs).

[CL 2575439 by Matthew Griffin in Main branch]
2015-06-03 08:16:59 -04:00
Kellan Carr
f8fb9f7ba0 build script, retry copy publish on mac
[CL 2572947 by Kellan Carr in Main branch]
2015-06-01 15:48:06 -04:00