Move cicd/env-cleanup-files.yml to pkg/common/env-cleanup-rules.yml

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-01-24 18:27:08 +00:00 committed by Megan Wilhite
parent c09a982c34
commit b59884b231
3 changed files with 2 additions and 2 deletions

View file

@ -1278,7 +1278,7 @@ def pre_archive_cleanup(session, pkg):
session.error("Please install 'pyyaml'.")
return
with open(str(REPO_ROOT / "cicd" / "env-cleanup-files.yml")) as rfh:
with open(str(REPO_ROOT / "pkg" / "common" / "env-cleanup-rules.yml")) as rfh:
patterns = yaml.safe_load(rfh.read())
if pkg:

View file

@ -120,7 +120,7 @@ def pre_archive_cleanup(ctx: Context, cleanup_path: str, pkg: bool = False):
When running on Windows and macOS, some additional cleanup is also done.
"""
with open(str(REPO_ROOT / "cicd" / "env-cleanup-files.yml")) as rfh:
with open(str(REPO_ROOT / "pkg" / "common" / "env-cleanup-rules.yml")) as rfh:
patterns = yaml.safe_load(rfh.read())
if pkg: