This commit is contained in:
2025-08-05 00:44:05 +09:00
parent 77e8f2f792
commit 61e5636f5a
4 changed files with 32 additions and 2 deletions

15
sample-build/delete.py Normal file
View File

@ -0,0 +1,15 @@
#!/usr/bin/python3
import os
import sys
import subprocess
yaml_list = [
"02-task-build.yaml",
"05-pipeline-build.yaml",
"06-trigger-binding.yaml",
"07-trigger-template.yaml",
]
for yaml_file in yaml_list:
os.system(f"kubectl delete -f {yaml_file}")