-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Provide complete example of using caching on CI #381
Comments
Here is documentation on Travis caching: https://docs.travis-ci.com/user/caching/ To cache arbitrary directories, see https://docs.travis-ci.com/user/caching/#Arbitrary-directories
|
Here is documentation on https://github.com/gjtorikian/html-proofer/blob/master/bin/htmlproofer#L40 Just use Then the results pulled from / saved to |
FYI, we are trying this and it does not work:
See (private URLs) https://travis-ci.com/fulldecent/mtssites/builds/40171680 |
Adding onto this @gjtorikian, another way of maybe making this work is explicitly stating the absolute path as a flag eg:
My travis build is failing because I'm getting a timeout error. Or maybe not cache in a hidden folder? Another option would be to retry the link several times (another flag) |
Here are some relevant parts from the travis build I can share: Cache is fetched successfully
htmlproofer runs
Cache is stored successfully
I run this a few times and it is always |
Added fix in this commit: https://github.com/fulldecent/mtssites/commit/b26339162bc8c6ef5a9809c7e42b3c86a07fd69c
Private build: |
@ilyalyo it worked! thank you so much. Issue can be closed |
Thanks @ilyalyo, that fixes the problem for MTSSITES. As for helping this project, now we have a kick-ass implementation that we can recommend:
|
Please keep the issue open. I am working on finding somewhere to publish this learning. |
❤️ Thanks y'all. I'll add this information to the README. |
As the original issue is resolved, and the relevant lines are in the README, I am going to close the issue now though, to keep the open bug list relevant. ✌️ It should be easy to bookmark / find one more if you need it again! |
Please provide a complete example of using the external file fetching feature in conjunction with Travis results caching.
(I will provide resources to work on this issue. Just wanted to add the issue here to see if this project will be interested to accept such a change when it is available.)
The text was updated successfully, but these errors were encountered: