Ticket #6 (new enhancement)

Opened 1 year ago

cleanup VPS

Reported by: akhavr Assigned to: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

Invocation: shell ci-cleanup <cleanup.d dir> <connect string...>

Event flow:

  1. System uses the <connect string...> to connect to the live VPS, fails if it can not.
  2. System executes every script in <cleanup.d dir> in alphabetical order. If script fails, System stop the execution with an error message.

Timing: less than 1m for simple 'ls' script

Tests:

  1. VPS is not alive
  2. No cleanup scripts
  3. Cleanup script fails
  4. Success test w/o shutdown