pulumi/pkg/resource/deploy
Thomas Gummerer ad46c0ad3e destroy: implement --continue-on-error
Implement a `--continue-on-error` flag for `pulumi destroy`.  This
makes sure we continue processing destroys even if errors occur.  We
will only continue for resources which do not depend on the failed
resource, to make sure we always have a valid snapshot available, and
to not leave any orphaned resources behind.

Resources that fail to destroy will still continue to be managed by
pulumi, and the process ends in an error to indicate to the user that
there were problems and the destroy didn't succeed cleanly.

The output will continue to be the same as for failed destroys, except
we now may succeed in destroying more resources than before.
2024-03-19 17:27:28 +01:00
..
deploytest Engine support for remote transforms (#15290) 2024-02-21 16:30:46 +00:00
providers [conformance tests] Fix run root and use program info everywhere (#15191) 2024-01-25 23:28:58 +00:00
builtins.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
builtins_test.go [ci] `pkg/resource/deploy` coverage (#14831) 2023-12-19 16:14:40 +00:00
deployment.go destroy: implement --continue-on-error 2024-03-19 17:27:28 +01:00
deployment_executor.go destroy: implement --continue-on-error 2024-03-19 17:27:28 +01:00
deployment_executor_test.go Fix handling of delete failures for targeted destroys (#14735) 2023-12-05 17:19:10 +00:00
deployment_test.go Allow anything in resource names (#14107) 2023-11-20 08:59:00 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
import.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
import_test.go Fix stack name validation check (#15245) 2024-01-27 10:35:20 +00:00
manifest.go Split Manifest type to it's own file (#8712) 2022-01-10 12:25:24 +00:00
manifest_test.go [ci] `pkg/resource/deploy` coverage (#14831) 2023-12-19 16:14:40 +00:00
plan.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
plan_test.go [ci] `pkg/resource/deploy` coverage (#14831) 2023-12-19 16:14:40 +00:00
snapshot.go Verify partial journals in engine tests (#15018) 2024-01-05 23:16:40 +00:00
snapshot_test.go all: Fix revive issues 2023-03-21 08:55:11 -07:00
source.go Split CallRequest into ResourceCallRequest (#15404) 2024-02-08 13:16:23 +00:00
source_error.go Change Source.Iterate to return an error (#13996) 2023-09-20 14:34:24 +00:00
source_error_test.go [ci] `pkg/resource/deploy/source_error.go` coverage (#14982) 2023-12-22 20:57:52 +00:00
source_eval.go Use sets for dependencies inside the engine (#15671) 2024-03-15 13:01:45 +00:00
source_eval_test.go Engine support for remote transforms (#15290) 2024-02-21 16:30:46 +00:00
source_null.go Change Source.Iterate to return an error (#13996) 2023-09-20 14:34:24 +00:00
source_query.go Split CallRequest into ResourceCallRequest (#15404) 2024-02-08 13:16:23 +00:00
source_query_test.go Ensure project plugins are absolute paths (#15470) 2024-02-22 11:43:18 +00:00
state_builder.go Fix duplicate resource error from failed delete operations (#14042) 2023-09-26 15:18:35 +00:00
state_builder_test.go When changing parents also fix URNs (#13935) 2023-09-14 19:52:27 +00:00
step.go Make sure non-targeted resources are not updated (#15476) 2024-03-05 07:49:11 +00:00
step_executor.go destroy: implement --continue-on-error 2024-03-19 17:27:28 +01:00
step_executor_test.go [ci] `pkg/resource/deploy/(step(_generator|_executor)?|import).go` coverage (#14997) 2023-12-22 21:14:04 +00:00
step_generator.go destroy: implement --continue-on-error 2024-03-19 17:27:28 +01:00
step_generator_test.go Fix stack name validation check (#15245) 2024-01-27 10:35:20 +00:00
step_test.go [ci] `pkg/resource/deploy/(step(_generator|_executor)?|import).go` coverage (#14997) 2023-12-22 21:14:04 +00:00
target.go Add tokens.StackName (#14487) 2023-11-15 07:44:54 +00:00
target_test.go [ci] `pkg/resource/deploy/target.go` coverage (#14981) 2023-12-22 20:57:21 +00:00