mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
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:
parent
c09a982c34
commit
b59884b231
3 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue