Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
disable Phobos CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Mar 13, 2024
1 parent baad479 commit 9485fba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}

- name: dotnet nuget
run: dotnet nuget add source -n Phobos "${{ secrets.CUSTOMNUGETSOURCE }}"
#- name: dotnet nuget
# run: dotnet nuget add source -n Phobos "${{ secrets.CUSTOMNUGETSOURCE }}"

- name: Run './build.cmd All'
run: ./build.cmd All
env:
CustomNuGetSource: ${{ secrets.CUSTOMNUGETSOURCE }}
#CustomNuGetSource: ${{ secrets.CUSTOMNUGETSOURCE }}
GITHUB_CONTEXT: ${{ toJSON(github) }}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" />
<PackageReference Include="OpenTelemetry.Exporter.Prometheus.AspNetCore" />

<PackageReference Include="Phobos.Hosting" />
<!--<PackageReference Include="Phobos.Hosting" />-->

<PackageReference Include="Microsoft.Extensions.Hosting" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using Petabridge.Cmd.Cluster.Sharding;
using Petabridge.Cmd.Host;
using Petabridge.Cmd.Remote;
using Phobos.Hosting;

namespace AkkaDotNet.Infrastructure.Configuration;

Expand Down Expand Up @@ -175,10 +174,10 @@ public static AkkaConfigurationBuilder WithStressCluster(this AkkaConfigurationB
.WithRemoting("0.0.0.0", options.AkkaClusterOptions.Port, options.AkkaClusterOptions.Hostname)
.WithClustering(clusterOptions)
.AddPersistence(options.PersistenceOptions)
.WithPhobos(AkkaRunMode.AkkaCluster, _ =>
{

})
// .WithPhobos(AkkaRunMode.AkkaCluster, _ =>
// {
//
// })
.StartActors((system, _) =>
{
system.ActorOf(Props.Create(() => new DispatcherConfigLogger()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static IServiceCollection WithOpenTelemetry(this IServiceCollection servi

builder
.SetResourceBuilder(resource)
.AddPhobosInstrumentation(compressShardTraces:true) // eliminate sharding infrastructure from traces
//.AddPhobosInstrumentation(compressShardTraces:true) // eliminate sharding infrastructure from traces
.AddHttpClientInstrumentation()
.AddAspNetCoreInstrumentation(options =>
{
Expand All @@ -61,7 +61,7 @@ public static IServiceCollection WithOpenTelemetry(this IServiceCollection servi
builder
.SetResourceBuilder(ResourceBuilder.CreateDefault()
.AddService(Assembly.GetEntryAssembly()?.GetName().Name ?? "OpenTelemetryMetrics", serviceInstanceId: $"{Dns.GetHostName()}"))
.AddPhobosInstrumentation()
//.AddPhobosInstrumentation()
.AddHttpClientInstrumentation()
.AddAspNetCoreInstrumentation()
.AddMeter(AkkaStressSource)
Expand Down

0 comments on commit 9485fba

Please sign in to comment.