14 instantiations of RadiusDeploymentPipelineStep
Aspire.Hosting.Radius (1)
RadiusEnvironmentResource.cs (1)
56
var deployStep = new
RadiusDeploymentPipelineStep
(this).CreatePipelineStep();
Aspire.Hosting.Radius.Tests (13)
Deployment\DeployPipelineIntegrationTests.cs (6)
40
var step = new
RadiusDeploymentPipelineStep
(environment);
62
var step = new
RadiusDeploymentPipelineStep
(environment);
79
var step = new
RadiusDeploymentPipelineStep
(environment);
93
var step = new
RadiusDeploymentPipelineStep
(environment);
105
var step = new
RadiusDeploymentPipelineStep
(environment);
137
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)
114
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)
19
/// <see cref="
RadiusDeploymentPipelineStep
"/> runs. Secret values supplied
29
/// <see cref="
RadiusDeploymentPipelineStep
"/>, which keeps deploy-time secrets off the
89
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync(cancellationToken).ConfigureAwait(false);
92
logger.LogError("The 'rad' CLI was not found on PATH. Install it from {InstallUrl}",
RadiusDeploymentPipelineStep
.RadInstallUrl);
93
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)
74
RadiusDeploymentPipelineStep
.RunAsync, cancellationToken).ConfigureAwait(false);
RadiusEnvironmentResource.cs (1)
85
Action = stepContext =>
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(stepContext.Logger, stepContext.CancellationToken),
Aspire.Hosting.Radius.Tests (37)
Deployment\ControlPlaneVersionGateTests.cs (13)
30
Assert.True(
RadiusDeploymentPipelineStep
.TryParseControlPlaneVersion(json, out var version));
54
Assert.False(
RadiusDeploymentPipelineStep
.TryParseControlPlaneVersion(json, out var version));
61
var ex =
RadiusDeploymentPipelineStep
.CreateUnsupportedControlPlaneException(new Version(0, 59), "kind-radius");
64
Assert.Contains(
RadiusDeploymentPipelineStep
.MinimumControlPlaneVersion.ToString(), ex.Message, StringComparison.Ordinal);
86
var environment =
RadiusDeploymentPipelineStep
.BuildIsolatedKubeConfigEnvironment(
117
var environment =
RadiusDeploymentPipelineStep
.BuildIsolatedKubeConfigEnvironment(
143
var environment =
RadiusDeploymentPipelineStep
.BuildIsolatedKubeConfigEnvironment(
161
var environment =
RadiusDeploymentPipelineStep
.BuildIsolatedKubeConfigEnvironment(
222
() =>
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
243
await
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
263
await
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
294
await
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
314
=>
RadiusDeploymentPipelineStep
.VerifyControlPlaneVersionAsync(
Deployment\DeployPipelineIntegrationTests.cs (6)
40
var
step = new RadiusDeploymentPipelineStep(environment);
62
var
step = new RadiusDeploymentPipelineStep(environment);
79
var
step = new RadiusDeploymentPipelineStep(environment);
93
var
step = new RadiusDeploymentPipelineStep(environment);
105
var
step = new RadiusDeploymentPipelineStep(environment);
137
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)
26
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
55
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
98
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
109
var radAvailable = await
RadiusDeploymentPipelineStep
.DetectRadCliAsync();
114
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);