From 5df1c84b7bf17f048f2d4a61e31d4756902923c6 Mon Sep 17 00:00:00 2001 From: gursewak1997 Date: Sun, 17 Nov 2024 20:51:02 -0800 Subject: [PATCH] cmd-coreos-prune: Rename cmd-cloud-prune to cmd-coreos-prune Rename cmd-cloud-prune to cmd-coreos-prune since it doesn't limit the garbage collection to just cloud resources but rather all other resources too. --- Makefile | 2 +- docs/cosa.md | 2 +- src/{cmd-cloud-prune => cmd-coreos-prune} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{cmd-cloud-prune => cmd-coreos-prune} (100%) diff --git a/Makefile b/Makefile index e5d67887bd..47014a469e 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ schema-check: # Is the generated Go code synced with the schema? grep -q "$(DIGEST)" pkg/builds/cosa_v1.go grep -q "$(DIGEST)" pkg/builds/schema_doc.go - grep -q "$(DIGEST)" src/cmd-cloud-prune + grep -q "$(DIGEST)" src/cmd-coreos-prune install: install -d $(DESTDIR)$(PREFIX)/lib/coreos-assembler diff --git a/docs/cosa.md b/docs/cosa.md index a80ec0484b..5dfacceaa1 100644 --- a/docs/cosa.md +++ b/docs/cosa.md @@ -65,7 +65,7 @@ Those less commonly used commands are listed here: | [oc-adm-release](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-oc-adm-release) | Publish an oscontainer as the machine-os-content in an OpenShift release series | [offline-update](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-offline-update) | Given a disk image and a coreos-assembler build, use supermin to update the disk image to the target OSTree commit "offline" | [prune](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-prune) | This script removes previous builds. DO NOT USE on production pipelines -| [cloud-prune](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-cloud-prune) | Prune resources as sepcified in policy.yaml +| [cloud-prune](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-coreos-prune) | Prune resources as sepcified in policy.yaml | [sign](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-sign) | Implements signing with RoboSignatory via fedora-messaging | [supermin-shell](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-supermin-shell) | Get a supermin shell | [tag](https://github.com/coreos/coreos-assembler/blob/main/src/cmd-tag) | Operate on the tags in `builds.json` diff --git a/src/cmd-cloud-prune b/src/cmd-coreos-prune similarity index 100% rename from src/cmd-cloud-prune rename to src/cmd-coreos-prune