athens icon indicating copy to clipboard operation
athens copied to clipboard

Use Azurite to test Azure Storage

Open marpio opened this issue 8 years ago • 5 comments

Is your feature request related to a problem? Please describe. At the moment we skip the Azure Storage tests in our travis builds.

Describe the solution you'd like Idea stolen from @chriscoffee We could use Azurite https://github.com/Azure/Azurite to test the storage just like we test s3 using minio.

Describe alternatives you've considered Using Azure Blob Storage.

marpio avatar Oct 24 '18 20:10 marpio

I'll take this please

chriscoffee avatar Oct 24 '18 23:10 chriscoffee

I think that with skip azure blob storage tests because it still not implemented storage.Backend interface (https://github.com/gomods/athens/issues/703), after that it could use storage/compliance tests and use Azurite. So this issue should wait or here we could just configure Azurite in our docker-compose file. :slightly_smiling_face:

t-tomalak avatar Oct 25 '18 06:10 t-tomalak

Yes indeed, the original purpose of the package was a bit different, we need to complete the interface implementation and then enable them in tests (same PR or followup).

michalpristas avatar Oct 25 '18 06:10 michalpristas

This issue should wait for #703

marpio avatar Oct 25 '18 07:10 marpio

I think what I'll do then is task out this into doing the work to add the test and adding the container so I can get the latter half of the task done now.

I'll also check in with #703 and see if they want to pair/help with getting the task completed, we can probably learn something off each other.

If not I'll just wait.

👍

chriscoffee avatar Oct 25 '18 09:10 chriscoffee