attempt to fix pipelines
This commit is contained in:
parent
544270e35d
commit
c528dd3de1
|
@ -190,6 +190,7 @@ LOGGING = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if "AZPIPELINE" in os.environ:
|
if "AZPIPELINE" in os.environ:
|
||||||
|
print("PIPELINE")
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
"default": {
|
"default": {
|
||||||
"ENGINE": "django.db.backends.postgresql",
|
"ENGINE": "django.db.backends.postgresql",
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
sudo -u postgres psql -c 'DROP DATABASE IF EXISTS pipeline'
|
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 'DROP DATABASE IF EXISTS test_pipeline'
|
||||||
sudo -u postgres psql -c 'CREATE DATABASE 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"
|
SETTINGS_FILE="/myagent/_work/1/s/api/tacticalrmm/tacticalrmm/settings.py"
|
||||||
rm -rf /myagent/_work/1/s/api/env
|
rm -rf /myagent/_work/1/s/api/env
|
||||||
cd /myagent/_work/1/s/api
|
cd /myagent/_work/1/s/api
|
||||||
|
|
Loading…
Reference in New Issue