Files
tekton-demo/sample-build/delete.py
2025-08-05 00:44:05 +09:00

16 lines
272 B
Python

#!/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}")