From 99dc55adb2e9630f1cd083f776d1e177d1fa1338 Mon Sep 17 00:00:00 2001 From: "Jovany Leandro G.C bit4bit@riseup.net" Date: Thu, 27 Jul 2023 09:48:31 -0500 Subject: [PATCH] chore: ajuste CI --- .woodpecker.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 20b88a5..f361ff1 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,7 +9,8 @@ pipeline: - pip3 install psycopg2 proteus - python3 setup.py install - python3 -m unittest - notify: + + notify-success: image: plugins/matrix settings: home_server: https://matrix.org @@ -20,8 +21,26 @@ pipeline: from_secret: matrix_password template: > PikPukPak.. -

${CI_COMMIT_AUTHOR}: ${CI_REPO}/{{build.branch}}#{{truncate build.commit 8}}{{build.status}}

-
${CI_COMMIT_MESSAGE}
+

${CI_COMMIT_AUTHOR}: JOB ${CI_BUILD_NUMBER} TODO BIEN PARA

+
${CI_COMMIT_MESSAGE}
+ when: + status: [ success ] + + notify-failure: + image: plugins/matrix + 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}: JOB ${CI_BUILD_NUMBER} !!!TODO MAL PARA

+
${CI_COMMIT_MESSAGE}
+ when: + status: [ failure ] services: postgres: