-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
703 additions
and
464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
$ErrorActionPreference = "Stop" | ||
|
||
$Configuration="Debug" | ||
[string] $scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Definition | ||
|
||
try | ||
{ | ||
Push-Location $scriptPath | ||
|
||
Remove-Item $scriptPath\bin\debug\FabricObserver\ -Recurse -Force -EA SilentlyContinue | ||
|
||
dotnet publish FabricObserver\FabricObserver.csproj -o bin\debug\FabricObserver\linux-x64\self-contained\FabricObserverType\FabricObserverPkg\Code -c $Configuration -r linux-x64 --self-contained true | ||
dotnet publish FabricObserver\FabricObserver.csproj -o bin\debug\FabricObserver\linux-x64\framework-dependent\FabricObserverType\FabricObserverPkg\Code -c $Configuration -r linux-x64 --self-contained false | ||
dotnet publish FabricObserver\FabricObserver.csproj -o bin\debug\FabricObserver\win-x64\self-contained\FabricObserverType\FabricObserverPkg\Code -c $Configuration -r win-x64 --self-contained true | ||
dotnet publish FabricObserver\FabricObserver.csproj -o bin\debug\FabricObserver\win-x64\framework-dependent\FabricObserverType\FabricObserverPkg\Code -c $Configuration -r win-x64 --self-contained false | ||
|
||
Copy-Item FabricObserver\PackageRoot\* bin\debug\FabricObserver\linux-x64\self-contained\FabricObserverType\FabricObserverPkg\ -Recurse | ||
Copy-Item FabricObserver\PackageRoot\* bin\debug\FabricObserver\linux-x64\framework-dependent\FabricObserverType\FabricObserverPkg\ -Recurse | ||
|
||
Copy-Item FabricObserver\PackageRoot\* bin\debug\FabricObserver\win-x64\self-contained\FabricObserverType\FabricObserverPkg\ -Recurse | ||
Copy-Item FabricObserver\PackageRoot\* bin\debug\FabricObserver\win-x64\framework-dependent\FabricObserverType\FabricObserverPkg\ -Recurse | ||
|
||
# ApplicationManifest - All | ||
Copy-Item FabricObserverApp\ApplicationPackageRoot\ApplicationManifest.xml bin\debug\FabricObserver\linux-x64\self-contained\FabricObserverType\ApplicationManifest.xml | ||
Copy-Item FabricObserverApp\ApplicationPackageRoot\ApplicationManifest.xml bin\debug\FabricObserver\linux-x64\framework-dependent\FabricObserverType\ApplicationManifest.xml | ||
Copy-Item FabricObserverApp\ApplicationPackageRoot\ApplicationManifest.xml bin\debug\FabricObserver\win-x64\self-contained\FabricObserverType\ApplicationManifest.xml | ||
Copy-Item FabricObserverApp\ApplicationPackageRoot\ApplicationManifest.xml bin\debug\FabricObserver\win-x64\framework-dependent\FabricObserverType\ApplicationManifest.xml | ||
|
||
# ServiceManifest - Linux | ||
Copy-Item FabricObserver\PackageRoot\ServiceManifest_linux.xml bin\debug\FabricObserver\linux-x64\framework-dependent\FabricObserverType\FabricObserverPkg\ServiceManifest.xml -Force -Confirm:$False | ||
Copy-Item FabricObserver\PackageRoot\ServiceManifest_linux.xml bin\debug\FabricObserver\linux-x64\self-contained\FabricObserverType\FabricObserverPkg\ServiceManifest.xml -Force -Confirm:$False | ||
|
||
# Get rid of ServiceManifest_linux.xml from build output. | ||
Remove-Item bin\debug\FabricObserver\linux-x64\framework-dependent\FabricObserverType\FabricObserverPkg\ServiceManifest_linux.xml -Force -Confirm:$False | ||
Remove-Item bin\debug\FabricObserver\win-x64\framework-dependent\FabricObserverType\FabricObserverPkg\ServiceManifest_linux.xml -Force -Confirm:$False | ||
Remove-Item bin\debug\FabricObserver\linux-x64\self-contained\FabricObserverType\FabricObserverPkg\ServiceManifest_linux.xml -Force -Confirm:$False | ||
Remove-Item bin\debug\FabricObserver\win-x64\self-contained\FabricObserverType\FabricObserverPkg\ServiceManifest_linux.xml -Force -Confirm:$False | ||
} | ||
finally | ||
{ | ||
Pop-Location | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,38 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<RootNamespace>ClusterObserver</RootNamespace> | ||
<AssemblyName>ClusterObserver</AssemblyName> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Nullable>disable</Nullable> | ||
<IsServiceFabricServiceProject>True</IsServiceFabricServiceProject> | ||
<RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers> | ||
<TargetLatestRuntimePatch>True</TargetLatestRuntimePatch> | ||
<Copyright>Copyright © 2023</Copyright> | ||
<Product>ClusterObserver</Product> | ||
<Version>2.2.4</Version> | ||
<FileVersion>2.2.4</FileVersion> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<Platforms>x64</Platforms> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Remove="Utilities\ClusterIdentificationUtility.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Remove="ApplicationInsights.config" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="6.0.1017" /> | ||
<PackageReference Include="McMaster.NETCore.Plugins" Version="1.4.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\FabricObserver.Extensibility\FabricObserver.Extensibility.csproj" /> | ||
<ProjectReference Include="..\TelemetryLib\TelemetryLib.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Folder Include="PackageRoot\Data\Plugins\" /> | ||
</ItemGroup> | ||
</Project> | ||
<PropertyGroup> | ||
<ProjectGuid>{5E990052-7B55-4AF1-BCD9-48DE6EA0E547}</ProjectGuid> | ||
<RootNamespace>ClusterObserver</RootNamespace> | ||
<AssemblyName>ClusterObserver</AssemblyName> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Nullable>disable</Nullable> | ||
<IsServiceFabricServiceProject>True</IsServiceFabricServiceProject> | ||
<RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers> | ||
<TargetLatestRuntimePatch>True</TargetLatestRuntimePatch> | ||
<Copyright>Copyright © 2022</Copyright> | ||
<Product>ClusterObserver</Product> | ||
<Version>2.2.5</Version> | ||
<FileVersion>2.2.5</FileVersion> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<StartupObject>ClusterObserver.Program</StartupObject> | ||
<Platforms>x64</Platforms> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Remove="Utilities\ClusterIdentificationUtility.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Remove="ApplicationInsights.config" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="6.0.1017" /> | ||
<PackageReference Include="McMaster.NETCore.Plugins" Version="1.4.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\FabricObserver.Extensibility\FabricObserver.Extensibility.csproj" /> | ||
<ProjectReference Include="..\TelemetryLib\TelemetryLib.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Folder Include="PackageRoot\Data\Plugins\" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.