score-spec / score-spec/score-compose

[feature request] Support `score-compose resources deprovision` subcommand

Open
#285 8 comments 0 reactions 1 assignee View on GitHub

@7h3-3mp7y-m4n is already working on this.

Since Apr 10, 2025.

  • #296 by @7h3-3mp7y-m4n — closed without merging
discussion enhancement
Dominant language
Go
Stars
456
Forks
62
Avg merge
12h 20m
Merged PRs (30d)
11

Description

The statefile and provisioners will happily create any resources referenced by the Score spec, however, these resources are not cleaned up if they are no longer referenced!

We need to add support for:

  1. After generate log a warning message indicating any resources in the statefile that are no longer used in the workload.
  2. Indicate these "left over" resources in the score-compose resources list table.
  3. Support a deprovision subcommand which calls the provisioner with the DELETE action and waits for the provisioner to return before removing it from the state file.

There is a similar issue open in score-k8s.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.