Commit 9025b049 authored by Luca Cristaldi's avatar Luca Cristaldi

update CI script to use the internal docker image

parent c0a78ae1
Pipeline #533 passed with stages
in 3 minutes and 21 seconds
......@@ -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:
......@@ -42,9 +42,8 @@ test_install:
variables:
POSTGRES_DB: $DATABASE_NAME
POSTGRES_USER: tryton
image: python:3.7.0-slim-stretch
script:
- python3 -m pip install lxml psycopg2
image: git-registry.mittelab.org/infra/tryton/commodity-docker/trytond-base:latest
script:
- python3 setup.py install
- echo -e "[database]\nuri = postgresql://$POSTGRES_USER:@postgres:5432\n[web]\nlisten=[::]:8000" > trytond.conf
- export TRYTONPASSFILE=phonypass.notpassword
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment