You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2021/10/24 18:11:14 UTC
[libcloud] 01/04: Test a change to see why task which works locally
is failing on CI.
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 23963b2fb23ae1f8bbc71d013d7c10be72d553cd
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Oct 24 19:51:27 2021 +0200
Test a change to see why task which works locally is failing on CI.
---
.github/workflows/publish_pricing_to_s3.yml | 4 ++++
tox.ini | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/publish_pricing_to_s3.yml b/.github/workflows/publish_pricing_to_s3.yml
index 1f34e8f..5d11d93 100644
--- a/.github/workflows/publish_pricing_to_s3.yml
+++ b/.github/workflows/publish_pricing_to_s3.yml
@@ -2,6 +2,10 @@
name: Publish pricing.json to S3 bucket
on:
+ push:
+ branches:
+ - trunk
+ - fix_pricing_job
schedule:
- cron: '0 13 * * *'
- cron: '0 2 * * *'
diff --git a/tox.ini b/tox.ini
index 9503e03..19941eb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -119,7 +119,7 @@ commands = python ./contrib/generate_provider_feature_matrix_table.py
[testenv:scrape-and-publish-provider-prices]
basepython: python3.7
deps = requests
- demjson
+ demjson==2.2.4
setenv =
PYTHONPATH={toxinidir}
passenv = TERM GCE_API_KEY PRICING_DATA_BUCKET_NAME AWS_REGION AWS_ACCESS_KEY_ID AWS_ACCESS_KEY_SECRET
@@ -142,7 +142,7 @@ commands =
[testenv:scrape-provider-prices]
basepython: python3.7
deps = requests
- demjson
+ demjson==2.2.4
passenv = TERM GCE_API_KEY
whitelist_externals = sha512sum
bash
@@ -159,7 +159,7 @@ commands =
[testenv:scrape-ec2-prices]
basepython: python3.7
deps = requests
- demjson
+ demjson==2.2.4
tqdm
commands = python contrib/scrape-ec2-prices.py