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