2023-08-19 20:47:29 +00:00
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
|
2023-01-14 14:00:55 +00:00
|
|
|
pipeline:
|
|
|
|
# Check moxxmpp
|
|
|
|
moxxmpp-lint:
|
|
|
|
image: dart:2.18.1
|
|
|
|
commands:
|
|
|
|
- cd packages/moxxmpp
|
|
|
|
- dart pub get
|
|
|
|
- dart analyze --fatal-infos --fatal-warnings
|
|
|
|
moxxmpp-test:
|
|
|
|
image: dart:2.18.1
|
|
|
|
commands:
|
|
|
|
- cd packages/moxxmpp
|
|
|
|
- dart pub get
|
|
|
|
- dart test
|
|
|
|
|
|
|
|
# Check moxxmpp_socket_tcp
|
|
|
|
moxxmpp_socket_tcp-lint:
|
|
|
|
image: dart:2.18.1
|
|
|
|
commands:
|
|
|
|
- cd packages/moxxmpp_socket_tcp
|
|
|
|
- dart pub get
|
|
|
|
- dart analyze --fatal-infos --fatal-warnings
|
|
|
|
# moxxmpp-test:
|
|
|
|
# image: dart:2.18.1
|
|
|
|
# commands:
|
|
|
|
# - cd packages/moxxmpp
|
|
|
|
# - dart pub get
|
|
|
|
# - dart test
|
2023-08-19 20:47:29 +00:00
|
|
|
notify:
|
|
|
|
image: git.polynom.me/papatutuwawa/woodpecker-xmpp
|
|
|
|
settings:
|
|
|
|
xmpp_tls: 1
|
|
|
|
xmpp_is_muc: 1
|
|
|
|
xmpp_recipient: moxxy-build@muc.moxxy.org
|
|
|
|
xmpp_alias: 2Bot
|
2023-08-19 21:00:26 +00:00
|
|
|
debug: 1
|
2023-08-19 20:47:29 +00:00
|
|
|
secrets: [ xmpp_jid, xmpp_password, xmpp_server ]
|
|
|
|
when:
|
|
|
|
status:
|
|
|
|
- failure
|