Skip to content

Conversation

@appleboy
Copy link
Owner

@appleboy appleboy commented Jun 1, 2024

  • Add TestIgnoreFolder function to test ignoring specific folders during SCP
  • Initialize and terminate ssh-agent if SSH_AUTH_SOCK is set
  • Lookup user drone-scp and handle potential errors
  • Configure Plugin with specific settings for SCP operation
  • Execute plugin.Exec() and assert no errors
  • Verify that certain files do not exist in the target directory after SCP operation

fix #190

- Add `TestIgnoreFolder` function to test ignoring specific folders during SCP
- Initialize and terminate `ssh-agent` if `SSH_AUTH_SOCK` is set
- Lookup user `drone-scp` and handle potential errors
- Configure `Plugin` with specific settings for SCP operation
- Execute `plugin.Exec()` and assert no errors
- Verify that certain files do not exist in the target directory after SCP operation

Signed-off-by: appleboy <[email protected]>
@appleboy appleboy merged commit 87c7223 into master Jun 1, 2024
@appleboy appleboy deleted the ignore branch June 1, 2024 04:33
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

Successfully merging this pull request may close these issues.

How to ignore .git folder from source

1 participant