changeset 397df23b1c99 in modules/stock_package_shipping_mygls:default
details:
https://hg.tryton.org/modules/stock_package_shipping_mygls?cmd=changeset&node=397df23b1c99
description:
Pass MYGLS environment to tox
diffstat:
.drone.yml | 2 +-
tox.ini | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r fd752bb0c9b9 -r 397df23b1c99 .drone.yml
--- a/.drone.yml Mon Oct 11 22:29:09 2021 +0200
+++ b/.drone.yml Tue Oct 12 09:22:14 2021 +0200
@@ -12,7 +12,7 @@
environment:
- CFLAGS=-O0
- DB_CACHE=/cache
- - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE CI_BUILD_NUMBER
CI_JOB_NUMBER CI_JOB_ID
+ - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE CI_BUILD_NUMBER
CI_JOB_NUMBER CI_JOB_ID MYGLS_USERNAME MYGLS_PASSWORD MYGLS_CLIENT_NUMBER
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
commands:
- echo "[extensions]" >> /root/.hgrc
diff -r fd752bb0c9b9 -r 397df23b1c99 tox.ini
--- a/tox.ini Mon Oct 11 22:29:09 2021 +0200
+++ b/tox.ini Tue Oct 12 09:22:14 2021 +0200
@@ -12,4 +12,5 @@
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
+passenv = MYGLS_USERNAME MYGLS_PASSWORD MYGLS_CLIENT_NUMBER
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}