diff --git a/hack/generate-jobs.py b/hack/generate-jobs.py index 231e81dfc7078..60c16e876e0fe 100755 --- a/hack/generate-jobs.py +++ b/hack/generate-jobs.py @@ -71,6 +71,10 @@ def generate_one(path: pathlib.Path, verify: bool) -> typing.List[str]: f"Instead, modify {template_name} and run `make generate-jobs`.\n" ) for section in config.sections(): + # skip generation for the job types mentioned in + # the `skip` section key + if name in config[section].get("skip", "").split(","): + continue tmp.write( template.render( config[section],