changeset 4bdab80a3ee4 in modules/account_payment_braintree:default
details:
https://hg.tryton.org/modules/account_payment_braintree?cmd=changeset;node=4bdab80a3ee4
description:
Pass drone secrets to tox environment
diffstat:
.drone.yml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 91ba99507adb -r 4bdab80a3ee4 .drone.yml
--- a/.drone.yml Thu Oct 08 22:23:33 2020 +0200
+++ b/.drone.yml Thu Oct 08 23:08:14 2020 +0200
@@ -12,8 +12,9 @@
environment:
- CFLAGS=-O0
- DB_CACHE=/cache
- - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
+ - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE BRAINTREE_MERCHANT_ID
BRAINTREE_PUBLIC_KEY BRAINTREE_PRIVATE_KEY
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
+ secrets: [ braintree_merchant_id, braintree_public_key,
braintree_private_key ]
commands:
- echo "[extensions]" >> /root/.hgrc
- echo "hgext.share =" >> /root/.hgrc