Customize api_backoff_time for concurrent testing

This commit is contained in:
Cédric Krier committed 2021-10-22 12:22:40 +02:00
1 parent 43a9e08839
commit ead55cb2d5
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -12,9 +12,9 @@ pipeline:
environment:
- CFLAGS=-O0
- DB_CACHE=/cache
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE CI_BUILD_NUMBER CI_JOB_NUMBER CI_JOB_ID SHOPIFY_PASSWORD SHOPIFY_URL
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE CI_BUILD_NUMBER CI_JOB_NUMBER CI_JOB_ID SHOPIFY_PASSWORD SHOPIFY_URL TRYTOND_WEB_SHOP_SHOPIFY__API_BACKOFF_TIME
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
secrets: [ shopify_password, shopify_url ]
secrets: [ shopify_password, shopify_url, trytond_web_shop_shopify__api_backoff_time ]
commands:
- echo "[extensions]" >> /root/.hgrc
- echo "hgext.share =" >> /root/.hgrc
+1 -1
View File
@@ -12,5 +12,5 @@ setenv =
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
passenv = SHOPIFY_PASSWORD SHOPIFY_URL
passenv = SHOPIFY_PASSWORD SHOPIFY_URL TRYTOND_WEB_SHOP_SHOPIFY__API_BACKOFF_TIME
install_command = pip install --pre --find-links https://trydevpi.tryton.org/?local_version={env:CI_JOB_ID:{env:CI_BUILD_NUMBER:}.{env:CI_JOB_NUMBER:}} {opts} {packages}