Closed djmetzle closed 5 years ago
When we change a file in S3, we want to ping back to dev and CI to clear their local caches of those files.
We've implemented a DELETE responder in Code that does exactly this. We just need to curl -k -X DELETE https://<dev-server>/<key>.
curl -k -X DELETE https://<dev-server>/<key>
The ruby code to accomplish this curl (without installing another Gem) was figured out by utilizing this tool: https://jhawthorn.github.io/curl-to-ruby/
I've manually QA'd this, and even reloaded Apache on the CI machine to pick up the recent static sucking changes.
qa_req 0
CC @danielbeardsley
Closes: https://github.com/iFixit/charge/issues/7
CR 👍
Thank you!
CR :zap:
When we change a file in S3, we want to ping back to dev and CI to clear their local caches of those files.
We've implemented a DELETE responder in Code that does exactly this. We just need to
curl -k -X DELETE https://<dev-server>/<key>
.The ruby code to accomplish this curl (without installing another Gem) was figured out by utilizing this tool: https://jhawthorn.github.io/curl-to-ruby/
I've manually QA'd this, and even reloaded Apache on the CI machine to pick up the recent static sucking changes.
qa_req 0
CC @danielbeardsley
Closes: https://github.com/iFixit/charge/issues/7