mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't download artifacts/salt
when downloading artifacts
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
b962bb9ee7
commit
be5707d934
1 changed files with 11 additions and 1 deletions
12
tools/vm.py
12
tools/vm.py
|
@ -1148,7 +1148,17 @@ class VM:
|
|||
source = f"{self.name}:{remote_path}/"
|
||||
destination = "artifacts/"
|
||||
description = f"Downloading {source} ..."
|
||||
self.rsync(source, destination, description)
|
||||
self.rsync(
|
||||
source,
|
||||
destination,
|
||||
description,
|
||||
[
|
||||
"--exclude",
|
||||
f"{remote_path}/artifacts/salt",
|
||||
"--exclude",
|
||||
f"{remote_path}/artifacts/salt-*.*",
|
||||
],
|
||||
)
|
||||
|
||||
def rsync(self, source, destination, description, rsync_flags: list[str] = None):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue