14 instantiations of RadiusDeploymentPipelineStep
Aspire.Hosting.Radius (1)
RadiusEnvironmentResource.cs (1)
57
var deployStep = new
RadiusDeploymentPipelineStep
(this).CreatePipelineStep();
Aspire.Hosting.Radius.Tests (13)
Deployment\DeployPipelineIntegrationTests.cs (6)
42
var step = new
RadiusDeploymentPipelineStep
(environment);
64
var step = new
RadiusDeploymentPipelineStep
(environment);
81
var step = new
RadiusDeploymentPipelineStep
(environment);
95
var step = new
RadiusDeploymentPipelineStep
(environment);
107
var step = new
RadiusDeploymentPipelineStep
(environment);
139
var deployStep = new
RadiusDeploymentPipelineStep
(envResource);
Deployment\RadCliDetectionTests.cs (3)
64
var step = new
RadiusDeploymentPipelineStep
(environment);
75
var step = new
RadiusDeploymentPipelineStep
(environment);
89
var step = new
RadiusDeploymentPipelineStep
(environment);
DeploymentE2E\DeployEndToEndTests.cs (1)
116
var step = new
RadiusDeploymentPipelineStep
(environment);
Publishing\RadiusDeployParametersTests.cs (3)
66
var step = new
RadiusDeploymentPipelineStep
(radiusEnv);
118
var step = new
RadiusDeploymentPipelineStep
(radiusEnv);
137
var step = new
RadiusDeploymentPipelineStep
(radius.Resource);
46 references to RadiusDeploymentPipelineStep
Aspire.Hosting.Radius (9)
Publishing\RadCredentialRegisterStep.cs (5)
22
/// <see cref="
RadiusDeploymentPipelineStep
"/> runs. Secret values supplied
32
/// <see cref="
RadiusDeploymentPipelineStep
"/>, which keeps deploy-time secrets off the
92
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync(cancellationToken).ConfigureAwait(false);
95
logger.LogError("The 'rad' CLI was not found on PATH. Install it from {InstallUrl}",
RadiusDeploymentPipelineStep
.RadInstallUrl);
96
throw
RadiusDeploymentPipelineStep
.CreateRadCliNotFoundException();
Publishing\RadiusCommandRunner.cs (1)
20
/// <see cref="
RadiusDeploymentPipelineStep
"/>.
Publishing\RadiusWorkspaceKubeContext.cs (1)
18
/// <see cref="
RadiusDeploymentPipelineStep
"/> (which reads the installed control plane version)
Publishing\SealedSecretApplyStep.cs (1)
76
RadiusDeploymentPipelineStep
.RunAsync, cancellationToken).ConfigureAwait(false);
RadiusEnvironmentResource.cs (1)
86
Action = stepContext =>
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(stepContext.Logger, stepContext.CancellationToken),
Aspire.Hosting.Radius.Tests (37)
Deployment\ControlPlaneVersionGateTests.cs (13)
32
Assert.True(
RadiusDeploymentPipelineStep
.TryParseControlPlaneVersion(json, out var version));
56
Assert.False(
RadiusDeploymentPipelineStep
.TryParseControlPlaneVersion(json, out var version));
63
var ex =
RadiusDeploymentPipelineStep
.CreateUnsupportedControlPlaneException(new Version(0, 59), "kind-radius");
66
Assert.Contains(
RadiusDeploymentPipelineStep
.MinimumControlPlaneVersion.ToString(), ex.Message, StringComparison.Ordinal);
88
var environment =
RadiusDeploymentPipelineStep
.BuildIsolatedKubeConfigEnvironment(
119
var environment =
RadiusDeploymentPipelineStep
.BuildIsolatedKubeConfigEnvironment(
145
var environment =
RadiusDeploymentPipelineStep
.BuildIsolatedKubeConfigEnvironment(
163
var environment =
RadiusDeploymentPipelineStep
.BuildIsolatedKubeConfigEnvironment(
224
() =>
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
245
await
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
265
await
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
296
await
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
316
=>
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
Deployment\DeployPipelineIntegrationTests.cs (6)
42
var
step = new RadiusDeploymentPipelineStep(environment);
64
var
step = new RadiusDeploymentPipelineStep(environment);
81
var
step = new RadiusDeploymentPipelineStep(environment);
95
var
step = new RadiusDeploymentPipelineStep(environment);
107
var
step = new RadiusDeploymentPipelineStep(environment);
139
var
deployStep = new RadiusDeploymentPipelineStep(envResource);
Deployment\RadCliDetectionTests.cs (9)
16
var result = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
26
var result1 = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
27
var result2 = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
42
() =>
RadiusDeploymentPipelineStep
.DetectRadCliAsync(cts.Token));
52
var ex =
RadiusDeploymentPipelineStep
.CreateRadCliNotFoundException();
54
Assert.Contains(
RadiusDeploymentPipelineStep
.RadInstallUrl, ex.Message, StringComparison.Ordinal);
64
var
step = new RadiusDeploymentPipelineStep(environment);
75
var
step = new RadiusDeploymentPipelineStep(environment);
89
var
step = new RadiusDeploymentPipelineStep(environment);
DeploymentE2E\DeployEndToEndTests.cs (5)
28
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
57
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
100
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
111
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
116
var
step = new RadiusDeploymentPipelineStep(environment);
Publishing\RadiusDeployParametersTests.cs (4)
66
var
step = new RadiusDeploymentPipelineStep(radiusEnv);
92
RadiusDeploymentPipelineStep
.DeleteDeployParametersFile(path, NullLogger.Instance);
118
var
step = new RadiusDeploymentPipelineStep(radiusEnv);
137
var
step = new RadiusDeploymentPipelineStep(radius.Resource);