9 references to Deploy
Aspire.Hosting (6)
DistributedApplicationRunner.cs (2)
49
await activityReporter.CompletePublishAsync(completionMessage: null, completionState: null, isDeploy: publishingOptions.Value.
Deploy
, cancellationToken: stoppingToken).ConfigureAwait(false);
64
await activityReporter.CompletePublishAsync(completionMessage: ex.Message, completionState: CompletionState.CompletedWithError, isDeploy: publishingOptions.Value.
Deploy
, cancellationToken: stoppingToken).ConfigureAwait(false);
Publishing\Publisher.cs (4)
21
if (options.Value.OutputPath == null && !options.Value.
Deploy
)
45
if (options.Value.
Deploy
)
62
var (message, state) = GetTaskInfo(targetResources, options.Value.
Deploy
);
78
if (options.Value.
Deploy
)
Aspire.Hosting.Tests (3)
PublishingTests.cs (3)
180
Assert.False(publishingOptions.Value.
Deploy
, "Deploy should default to false.");
191
Assert.True(publishingOptions.Value.
Deploy
, "Deploy should be true when configured.");
202
Assert.True(publishingOptions.Value.
Deploy
, "Deploy should be true when set via command line.");