Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Jake Friedman d2898810b4
Add copyright header to all files (#153) 2021-05-11 10:43:16 -07:00
Jake Friedman b7a1d955e2
Factory Orchestrator service runs on Linux as a standalone program (#101)
Service runs on Linux as a standalone program when invoked with admin rights (sudo)

Refactored service to store persistent state (through reboots) in an XML file

Refactored service to store volatile state (lost after reboot), in XML file on Linux only. Windows still uses volatile registry.

All service state modifications use FOServiceStatus & FOVolatileServiceStatus classes. Classes handle differences between OSes opaque to the service.

Service configuration now uses appsettings.json file. Registry is still a fallback path on Windows, and allows OEM customizations to continue to work.

Fixed issues on service preventing proper operation on Linux.

Fixed issues with build scripts (can now use pwsh not only Windows PowerShell) & projects preventing proper operation on Linux. Everything but the app can be built on Linux without issue.

Release build publishes Linux service zips

Release build validates build & unit tests pass on Ubuntu

Added new CommandLineTask class, for running scripts in bash/cmd. Identical to and Inherits from BatchFileTask to ensure back-compat.

New GetOSPlatform() API

App can connect to Linux service & functions as expected
2021-03-24 07:14:36 -07:00
Jake Friedman 2f295acca5
Rename projects/bins for consistency; Refactor build pipelines (#74)
Renames projects & binaries to use Microsoft.FactoryOrchestrator.* naming.
Use "real" semver versioning. Major.Minor.Patch, set in common.props.
Created new release, PR, and CI ADO pipelines
-- Build is staged so common libraries are built once and used many.
-- Build uses public ADO build machines (instead of PackageES) wherever possible. This extends to decoupling from PackageES specific build concepts, like versioning, artifact staging, etc.
-- No dependency on PackageES build share, build relies on artifacts/VPacks for output.
-- Symbols are published to the public symbol server, with SourceLink support. Enables VS2019 debugging of binaries without any local PDB or source code.
-- Symbols are no longer included in VPacks to save space on FactoryOS images.
-- Nuget & Nuget Symbol Packages created, but not published. Publishing will be manual initially.
-- All 1P and 3P OSS binaries/msix/nuget are signed by ESRP
-- More thorough compliance pass
2021-01-28 12:23:37 -08:00
Jake Friedman 8ae3391826
Move build scripts and files from src\eng\build to build (#2) 2020-07-23 13:31:06 -07:00