-
Notifications
You must be signed in to change notification settings - Fork 262
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
Target for Azure Storage #134
Comments
Yes, this should be doable now without any changes to node-pre-gyp. The As far as getting the binaries published. Well, it should be as simple as running # build and package binary module
./node_modules/.bin/node-pre-gyp build package
# then validate the package
./node_modules/.bin/node-pre-gyp testpackage
# next grab the path to the tarball package
LOCAL_BINARY=$(./node_modules/.bin/node-pre-gyp reveal staged_tarball --silent)
REMOTE_BINARY=$(./node_modules/.bin/node-pre-gyp reveal hosted_tarball --silent)
# ... then use whatever azure upload tool you want to move the LOCAL_BINARY to the REMOTE_BINARY Let me know if I need to make anything more clear. |
Thanks for the information @springmeyer. We will try to adhere by your instructions. Or maybe our company should buy Amazon S3 bucket, since that is something which is trending.. |
@jasonwilliams200OK - yes, I highly recommend using Amazon S3 - you are likely talking about less than a few bucks a month to host a node-pre-gyp binary on S3. |
@springmeyer, I agree. Actually its not about the price, as there is no different AWS-S3 vs. AzS (instead Azure is bit cheaper), but its about the services and community support. Ruby and Node.js gems/packages are mostly Amazon-first and since we are experimenting with these runtimes to gauge our options for future, I think its better to be a hipster (S3) than waiting for other party (Azure) to grow large in certain community. |
Hello, we have our projects hosted on Azure. We are planning to build some nodejs utilities of hybrid nature: node-js with C++ add-ons and .NET using edge.
Is it possible to use Azure Storage for Node.js as a storage to host binaries build by node-pre-gyp? If not, please provide the steps if someone has successfully configured it.
It would be much appreciated if Azure Store is added as an alternative service provider to AWS, and the how-to info is reflected on docs.
The text was updated successfully, but these errors were encountered: