Loading .gitlab-ci.yml +4 −5 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ stages: - deploy pep8: image: wifasoi/python-pep8:latest image: git-registry.mittelab.org/infra/tryton/commodity-docker/python-pep8:latest stage: check allow_failure: true script: Loading @@ -42,9 +42,8 @@ test_install: variables: POSTGRES_DB: $DATABASE_NAME POSTGRES_USER: tryton image: python:3.7.0-slim-stretch image: git-registry.mittelab.org/infra/tryton/commodity-docker/trytond-base:latest script: - python3 -m pip install lxml psycopg2 - python3 setup.py install - echo -e "[database]\nuri = postgresql://$POSTGRES_USER:@postgres:5432\n[web]\nlisten=[::]:8000" > trytond.conf - export TRYTONPASSFILE=phonypass.notpassword Loading @@ -52,7 +51,7 @@ test_install: - trytond-admin -c trytond.conf -d $DATABASE_NAME -v --all --email r@ndom.peni --update-modules-list - trytond-admin -c trytond.conf -d $DATABASE_NAME -v -u $MODULE_NAME --activate-dependencies install_module: .install_module: stage: deploy environment: staging only: Loading Loading
.gitlab-ci.yml +4 −5 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ stages: - deploy pep8: image: wifasoi/python-pep8:latest image: git-registry.mittelab.org/infra/tryton/commodity-docker/python-pep8:latest stage: check allow_failure: true script: Loading @@ -42,9 +42,8 @@ test_install: variables: POSTGRES_DB: $DATABASE_NAME POSTGRES_USER: tryton image: python:3.7.0-slim-stretch image: git-registry.mittelab.org/infra/tryton/commodity-docker/trytond-base:latest script: - python3 -m pip install lxml psycopg2 - python3 setup.py install - echo -e "[database]\nuri = postgresql://$POSTGRES_USER:@postgres:5432\n[web]\nlisten=[::]:8000" > trytond.conf - export TRYTONPASSFILE=phonypass.notpassword Loading @@ -52,7 +51,7 @@ test_install: - trytond-admin -c trytond.conf -d $DATABASE_NAME -v --all --email r@ndom.peni --update-modules-list - trytond-admin -c trytond.conf -d $DATABASE_NAME -v -u $MODULE_NAME --activate-dependencies install_module: .install_module: stage: deploy environment: staging only: Loading