Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Latest commit

 

History

History
20 lines (16 loc) · 423 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 423 Bytes

hyper-killer

Keeps a Hyper account that is used for only short-lived tasks (e.g. CI) clean by removing:

  • containers (running or not) after 2 hours
  • volumes, if unattached
  • images, after 1 day or if dangling

To install:

hyper cron create \
    --name hyper-killer \
    --minute=*/15 \
    --hour=* \
    --size s1 \
    -e HYPER_ACCESS_KEY=... \
    -e HYPER_SECRET_KEY=... \
    celtra/hyper-killer