pulumi/cmd/pulumi-test-language/testdata
Thomas Gummerer 4169755866
Implement up --continue-on-error (#15740)
Similar to destroy --continue-on-error, this flag allows `pulumi up`
to continue if any errors are encountered.

Currently when we encounter an error while creating/updating a
resource, we cancel the context of the deployment executor, and thus
the deployment stops once the resources that are being processed in
parallel with the failed one finish being updated.

For --continue-on-error, we ignore these errors, and let the
deployment executor continue.  In order for the deployment executor to
exit eventually we also have to mark these steps as done, as the
deployment executor will otherwise just hang, and callers with open
channels waiting for it to finish/report back will hang indefinitely.

The errors in the step will still be reported back to the user by the
OnResourceStepPost callback.

Fixes https://github.com/pulumi/pulumi/issues/14515

---------

Co-authored-by: Fraser Waters <fraser@pulumi.com>
2024-04-22 11:12:45 +00:00
..
l1-empty Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
l1-main Test main in conformance tests (#15287) 2024-01-28 20:11:52 +00:00
l1-output-array Add array conformance test (#15899) 2024-04-10 16:00:24 +00:00
l1-output-bool Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
l1-output-number Add negative number to the number output conformance test (#15866) 2024-04-06 12:31:58 +00:00
l1-output-string Test string outputs in conformance tests (#15823) 2024-03-29 14:24:29 +00:00
l1-stack-reference Add StackReference conformance test (#15935) 2024-04-16 11:13:25 +00:00
l2-destroy Allow multiple updates in a single conformance test (#15504) 2024-03-01 12:20:12 +00:00
l2-engine-update-options allow engine options to be passed in conformance tests (#15496) 2024-02-23 12:47:02 +00:00
l2-failed-create-continue-on-error Implement up --continue-on-error (#15740) 2024-04-22 11:12:45 +00:00
l2-resource-simple Add matrix testing (#13705) 2023-09-13 15:17:46 +00:00
l2-target-up-with-new-dependency Make sure non-targeted resources are not updated (#15476) 2024-03-05 07:49:11 +00:00
snapshots Implement up --continue-on-error (#15740) 2024-04-22 11:12:45 +00:00
snapshots_bad Test GetDependencies and library versions in conformance testing (#15324) 2024-02-06 12:38:44 +00:00
snapshots_edit Add snapshot edit facilities to conformance testing (#15747) 2024-03-21 15:26:58 +00:00
snapshots_runtime_options/projects/l1-empty Test runtime options in conformance tests (#15288) 2024-01-29 07:32:11 +00:00