Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy scripts in batch and add executability with rsync #3290

Open
martinhoyer opened this issue Oct 15, 2024 · 0 comments
Open

Copy scripts in batch and add executability with rsync #3290

martinhoyer opened this issue Oct 15, 2024 · 0 comments
Assignees

Comments

@martinhoyer
Copy link
Collaborator

Copying scripts one by one is not efficient and take quite some time, we could do just one guest.push instead of multiple, see tmt/steps/execute/init.py:

        with script as source:
            for dest in [script.path, *script.aliases]:

Additionally, we could implement --executability or --perms, --chmod rsync options instead of running chmod command.

@martinhoyer martinhoyer self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant