From c162eba316d6c06ca34b9500f546abb8996a0ee1 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Mon, 25 Jan 2021 21:44:58 +0100 Subject: [PATCH] add secrets for tests --- .gitlab-ci.yml | 1 + acronomy/secrets.test.py | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 acronomy/secrets.test.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 17a3a4b..b57cb03 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ cache: before_script: - python -V # Print out python version for debugging + - cp acronomy/secrets.test.py acronomy/secrets.py - pip install poetry - poetry install diff --git a/acronomy/secrets.test.py b/acronomy/secrets.test.py new file mode 100644 index 0000000..6e69b92 --- /dev/null +++ b/acronomy/secrets.test.py @@ -0,0 +1,14 @@ +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'just-a-testkey' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True +Production = False + +ADS_AUTH_TOKEN = None +DATABASES = { + 'ENGINE': 'django.db.backends.sqlite3', +} + + +MATOMO_API_KEY = None