After figuring out why the broken mwscript-k8s run in T369142 failed, it was not clear to me how to delete it – mwscript-cleanup --dry-run eqiad printed no output (because the release was too recent). I eventually pieced this command together based on mwscript-cleanup’s source code:
lucaswerkmeister-wmde@deploy1002 ~ $ RELEASE_NAME=r72z2aop helmfile --file /srv/deployment-charts/helmfile.d/services/mw-script/helmfile.yaml --environment eqiad --selector name=r72z2aop destroy Listing releases matching ^r72z2aop$ r72z2aop mw-script 1 2024-07-03 08:40:17.331229287 +0000 UTC deployed mediawiki-0.6.35 Deleting r72z2aop release "r72z2aop" uninstalled DELETED RELEASES: NAME r72z2aop
IMHO it would be useful if mwscript-cleanup took an optional list of specific releases to clean up regardless of their age. This would also give me more confidence that I’m not accidentally cleaning up anything someone else might still be interested in.