diff --git a/api/tacticalrmm/tacticalrmm/settings.py b/api/tacticalrmm/tacticalrmm/settings.py index db322667..e95dd08d 100644 --- a/api/tacticalrmm/tacticalrmm/settings.py +++ b/api/tacticalrmm/tacticalrmm/settings.py @@ -190,6 +190,7 @@ LOGGING = { } if "AZPIPELINE" in os.environ: + print("PIPELINE") DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql", diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8f2a9160..86b474fd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,6 +20,7 @@ jobs: sudo -u postgres psql -c 'DROP DATABASE IF EXISTS pipeline' sudo -u postgres psql -c 'DROP DATABASE IF EXISTS test_pipeline' sudo -u postgres psql -c 'CREATE DATABASE pipeline' + sudo -u postgres psql -c "SET client_encoding = 'UTF8'" pipeline SETTINGS_FILE="/myagent/_work/1/s/api/tacticalrmm/tacticalrmm/settings.py" rm -rf /myagent/_work/1/s/api/env cd /myagent/_work/1/s/api