Revert "Delete all resources with the build label"

'all' is just a shortcut for some resource types.

This reverts commit a4ece9dad7.
This commit is contained in:
Stéphane Bidoul 2025-09-13 14:43:40 +02:00
parent 6b8c1ef0e0
commit 0e54444ab7

View file

@ -244,12 +244,13 @@ async def deploy(kubefiles_path: Path | None, deployment_vars: DeploymentVars) -
async def delete_resources(build_name: str) -> None:
# TODO delete all resources with runboat/build label
await _kubectl(
[
"-n",
settings.build_namespace,
"delete",
"all",
"configmap,deployment,ingress,job,secret,service,pvc",
"-l",
f"runboat/build={build_name}",
"--wait=false",