libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [libcloud] branch trunk updated: Update tox target.
Date Sat, 11 Jul 2020 15:54:22 GMT
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 44d59c6  Update tox target.
44d59c6 is described below

commit 44d59c6d6541a313d4013c8730812cda7d74355d
Author: Tomaz Muraus <tomaz@tomaz.me>
AuthorDate: Sat Jul 11 17:54:10 2020 +0200

    Update tox target.
---
 tox.ini | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tox.ini b/tox.ini
index f2093e7..2fd774f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -117,6 +117,11 @@ passenv = GCE_API_KEY PRICING_DATA_BUCKET_NAME AWS_REGION AWS_ACCESS_KEY_ID
AWS_
 commands =
     python contrib/scrape-gce-prices.py --all
     python contrib/scrape-gce-prices.py
+    python contrib/scrape-ec2-prices.py
+    # We also store the SHa512 sum so users can check if something has changed
+    # by caching and checking the value of the shasum file
+    bash -c "(cd libcloud/data/ ; sha256sum pricing.json > {toxinidir}/libcloud/data/pricing.json.sha256)"
+    bash -c "(cd libcloud/data/ ; sha512sum pricing.json > {toxinidir}/libcloud/data/pricing.json.sha512)"
     python contrib/upload-pricing-data-to-s3.py libcloud/data/pricing.json
 
 [testenv:scrape-provider-prices]


Mime
View raw message