trytondo-sale_opportunity_m.../.woodpecker.yml
Jovany Leandro G.C bit4bit@riseup.net 5684dcff47
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
chore: se detalla notificacion en CI
2023-07-26 18:32:14 -05:00

34 lines
856 B
YAML

pipeline:
tests:
image: python:3.9
environment:
- DB_CACHE=/tmp
- DB_NAME=trytontest
- TRYTOND_DATABASE_URI=postgresql://tryton:tryton@postgres:5432/
commands:
- pip3 install psycopg2 proteus
- python3 setup.py install
- python3 -m unittest
notify:
image: plugins/matrix
failure: ignore
settings:
home_server: https://matrix.org
roomid: "!oxZmsJwfvciTuLYIwg:matrix.org"
username:
from_secret: matrix_user
password:
from_secret: matrix_password
template: >
PikPukPak..
${CI_COMMIT_AUTHOR}: ${CI_REPO}/${CI_COMMIT_BRANCH}@${CI_COMMIT_REF} ${CI_PIPELINE_STATUS}
${CI_COMMIT_MESSAGE}
services:
postgres:
image: postgres:12
environment:
- POSTGRES_USER=tryton
- POSTGRES_PASSWORD=tryton
- POSTGRES_DB=demo