Implemented interface member:
method
AddStep
Aspire.Hosting.Pipelines.IDistributedApplicationPipeline.AddStep(System.String, System.Func<Aspire.Hosting.Pipelines.PipelineStepContext, System.Threading.Tasks.Task>, System.Object, System.Object)
98 references to AddStep
Aspire.Hosting.Tests (98)
Pipelines\DistributedApplicationPipelineTests.cs (98)
34
pipeline.
AddStep
("dependency", context =>
39
pipeline.
AddStep
("target", _ => Task.CompletedTask, dependsOn: "dependency");
40
pipeline.
AddStep
("unselected", _ => throw new InvalidOperationException("Unselected step executed."));
74
pipeline.
AddStep
("step1", async (context) =>
93
pipeline.
AddStep
("step1", async (context) =>
99
pipeline.
AddStep
("step2", async (context) =>
105
pipeline.
AddStep
("step3", async (context) =>
127
pipeline.
AddStep
("step1", async (context) =>
133
pipeline.
AddStep
("step2", async (context) =>
139
pipeline.
AddStep
("step3", async (context) =>
158
pipeline.
AddStep
("step1", async (context) =>
164
pipeline.
AddStep
("step2", async (context) =>
170
pipeline.
AddStep
("step3", async (context) =>
189
pipeline.
AddStep
("step1", async (context) =>
195
pipeline.
AddStep
("step2", async (context) =>
201
pipeline.
AddStep
("step3", async (context) =>
228
pipeline.
AddStep
("level1-step1", async (context) =>
234
pipeline.
AddStep
("level1-step2", async (context) =>
240
pipeline.
AddStep
("level2-step1", (context) =>
246
pipeline.
AddStep
("level2-step2", (context) =>
252
pipeline.
AddStep
("level3-step1", (context) =>
294
pipeline.
AddStep
("regular-step", async (context) =>
352
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
354
var ex = Assert.Throws<InvalidOperationException>(() => pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask));
365
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step");
380
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step");
427
pipeline.
AddStep
("failing-step", async (context) =>
450
pipeline.
AddStep
("a", async (context) =>
456
pipeline.
AddStep
("b", async (context) =>
462
pipeline.
AddStep
("c", async (context) =>
468
pipeline.
AddStep
("d", async (context) =>
474
pipeline.
AddStep
("e", async (context) =>
505
pipeline.
AddStep
("step1", async (context) =>
511
pipeline.
AddStep
("step2", async (context) =>
517
pipeline.
AddStep
("step3", async (context) =>
541
pipeline.
AddStep
("step1", async (context) =>
547
pipeline.
AddStep
("step2", async (context) =>
553
pipeline.
AddStep
("step3", async (context) =>
576
pipeline.
AddStep
("step1", async (context) =>
592
pipeline.
AddStep
("step1", async (context) =>
597
pipeline.
AddStep
("step2", async (context) =>
613
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, dependsOn: 123));
624
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, requiredBy: 123));
634
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
637
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask));
678
pipeline.
AddStep
("failing-step", async (context) =>
706
pipeline.
AddStep
("failing-dependency", async (context) =>
713
pipeline.
AddStep
("dependent-step", async (context) =>
782
pipeline.
AddStep
("step1", async (context) =>
789
pipeline.
AddStep
("step2", async (context) =>
813
pipeline.
AddStep
("failing-step", (context) =>
820
pipeline.
AddStep
("independent-step", async (context) =>
844
pipeline.
AddStep
("failing-step", (context) =>
851
pipeline.
AddStep
("long-running-step", async (context) =>
876
pipeline.
AddStep
("failing-step", (context) =>
883
pipeline.
AddStep
("dependent-step", async (context) =>
890
pipeline.
AddStep
("independent-step", async (context) =>
912
pipeline.
AddStep
("failing-step", async (context) =>
942
pipeline.
AddStep
("failing-step", _ => Task.FromException(expected));
964
pipeline.
AddStep
("A", async (context) =>
970
pipeline.
AddStep
("B", async (context) =>
976
pipeline.
AddStep
("C", async (context) =>
982
pipeline.
AddStep
("D", async (context) =>
1195
pipeline.
AddStep
("logging-step", (context) =>
1227
pipeline.
AddStep
("step1", async (context) =>
1239
pipeline.
AddStep
("step2", (context) =>
1282
pipeline.
AddStep
("failing-step", async (context) =>
1322
pipeline.
AddStep
($"step{stepNumber}", (context) =>
1385
pipeline.
AddStep
("logging-step", (context) =>
1454
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
1455
pipeline.
AddStep
("step2", async (context) => await Task.CompletedTask);
1496
pipeline.
AddStep
("step1", async (context) =>
1502
pipeline.
AddStep
("step2", async (context) =>
1739
pipeline.
AddStep
("direct-step", async (context) => await Task.CompletedTask);
1852
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
1853
pipeline.
AddStep
("step2", async (context) => await Task.CompletedTask);
1854
pipeline.
AddStep
("step3", async (context) => await Task.CompletedTask);
1875
pipeline.
AddStep
("step1", async (context) =>
1881
pipeline.
AddStep
("step2", async (context) =>
1887
pipeline.
AddStep
("step3", async (context) =>
1893
pipeline.
AddStep
("step4", async (context) =>
1899
pipeline.
AddStep
("step5", async (context) =>
1905
pipeline.
AddStep
("step6", async (context) =>
1943
pipeline.
AddStep
("step1", async (context) =>
1949
pipeline.
AddStep
("independent-step", async (context) =>
1955
pipeline.
AddStep
("step3", async (context) =>
1986
pipeline.
AddStep
("provision-resource1", (context) =>
1995
pipeline.
AddStep
("provision-resource2", (context) =>
2004
pipeline.
AddStep
("provision-infra", (context) =>
2013
pipeline.
AddStep
("my-deploy-step", (context) =>
2112
pipeline.
AddStep
("root", _ => Task.CompletedTask);
2113
pipeline.
AddStep
("child", _ => Task.CompletedTask, dependsOn: "root");
2114
pipeline.
AddStep
("grandchild", _ => Task.CompletedTask, dependsOn: "child");
2267
pipeline.
AddStep
("custom-step", _ => Task.CompletedTask);
2285
pipeline.
AddStep
("step", _ =>
2314
pipeline.
AddStep
("step", _ => Task.CompletedTask);
2359
pipeline.
AddStep
("available-step", _ => Task.CompletedTask);
2447
pipeline.
AddStep
("should-not-execute", _ =>