-
Notifications
You must be signed in to change notification settings - Fork 273
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
garden doesn't support directories as a test artifact #1777
Comments
I think this should work as you describe it, so we should fix that (as opposed to give a better error message). Will take a look. |
This issue has been automatically marked as stale because it hasn't had any activity in 60 days. It will be closed in 14 days if no further activity occurs (e.g. changing labels, comments, commits, etc.). Please feel free to tag a maintainer and ask them to remove the label if you think it doesn't apply. Thank you for submitting this issue and helping make Garden a better product! |
This issue has been automatically marked as stale because it hasn't had any activity in 60 days. It will be closed in 14 days if no further activity occurs (e.g. changing labels, comments, commits, etc.). Please feel free to tag a maintainer and ask them to remove the label if you think it doesn't apply. Thank you for submitting this issue and helping make Garden a better product! |
This issue has been automatically marked as stale because it hasn't had any activity in 60 days. It will be closed in 14 days if no further activity occurs (e.g. changing labels, comments, commits, etc.). Please feel free to tag a maintainer and ask them to remove the label if you think it doesn't apply. Thank you for submitting this issue and helping make Garden a better product! |
Can you re-open this please? My workaround is to use a shell script that runs after the test/task and flattens all files into subfolder to be files:
|
A colleague just found a nicer workaround, if all the files you are copying have the same format/suffix:
I guess that means the glob for source is used to get all matching folders and files and pipes them to tar individually. |
Any updates on this? |
I'll take a look 👍 Need to write some more test cases and make sure they behave generally as we'd expect. |
Fixes #1777 Also makes the copying process more efficient by putting it all in one copy command, and also compressing the files (which we clumsily neglected to do previously).
There we go: #2522 |
Fixes #1777 Also makes the copying process more efficient by putting it all in one copy command, and also compressing the files (which we clumsily neglected to do previously).
Fixes #1777 Also makes the copying process more efficient by putting it all in one copy command, and also compressing the files (which we clumsily neglected to do previously).
Fixes #1777 Also makes the copying process more efficient by putting it all in one copy command, and also compressing the files (which we clumsily neglected to do previously).
Fixes #1777 Also makes the copying process more efficient by putting it all in one copy command, and also compressing the files (which we clumsily neglected to do previously).
Fixes garden-io#1777 Also makes the copying process more efficient by putting it all in one copy command, and also compressing the files (which we clumsily neglected to do previously).
Bug
I wanted to use a folder as an artifact for tests
Current Behaviour
garden.yml extract:
error:
Expected behavior
Either of two things: support a directory so that it treats all files/subdirecories within that as artifacts OR
fail with a much cleaner error message
Reproducible example
See description above
Workaround
using a wildcard works, like
-source: /tests/cypress/videos/*
Your environment
The text was updated successfully, but these errors were encountered: