Homec4science

Give Drydock resources and leases a real "destroy" lifecycle phase

Authored by epriestley <git@epriestley.com> on Sep 23 2015, 20:20.

Description

Give Drydock resources and leases a real "destroy" lifecycle phase

Summary: Ref T9252. Some leases or resources may need to remove data, tear down VMs, etc., during cleanup. After they are released, queue a "destroy" phase for performing teardown.

Test Plan:

  • Used bin/drydock lease ... to create a working copy lease.
  • Used bin/drydock release-lease and bin/drydock release-resource to release the lease and then the working copy and host.
  • Saw working copy and host get destroyed and cleaned up properly.

Reviewers: hach-que, chad

Reviewed By: chad

Maniphest Tasks: T6569, T9252

Differential Revision: https://secure.phabricator.com/D14144

Details

Committed
epriestley <git@epriestley.com>Sep 23 2015, 20:20
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0a3714507208: [drydock/core] Show blueprints / resources as links in Drydock view controllers
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH1f311d64c608: Give Drydock resources and leases a real "destroy" lifecycle phase (authored by epriestley <git@epriestley.com>).Sep 23 2015, 20:20