libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [libcloud] 07/12: Fix scrape-ec2-prices tox target and add new scrape-ec2-sizes tox target.
Date Thu, 14 Nov 2019 13:21:24 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

commit 10f8297ba15534275cfa39be9642a001964fdbb4
Author: Tomaz Muraus <tomaz@tomaz.me>
AuthorDate: Wed Nov 13 23:48:43 2019 +0100

    Fix scrape-ec2-prices tox target and add new scrape-ec2-sizes tox
    target.
---
 tox.ini | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tox.ini b/tox.ini
index d95fae5..83d786b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -58,10 +58,17 @@ commands = pip install sphinx~=1.6.0
            sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
 
 [testenv:scrape-ec2-prices]
+basepython: python2.7
 deps = requests
        demjson
 commands = python contrib/scrape-ec2-prices.py
 
+[testenv:scrape-ec2-sizes]
+basepython: python2.7
+deps = requests
+       ijson
+commands = bash -c 'python contrib/scrape-ec2-sizes.py > libcloud/compute/constants.py'
+
 [testenv:pylint]
 deps = -r{toxinidir}/requirements-tests.txt
        backports.ssl_match_hostname


Mime
View raw message