moxxmpp/.woodpecker.yml

50 lines
1.3 KiB
YAML
Raw Normal View History

2023-08-19 20:47:29 +00:00
when:
branch: master
2023-01-14 14:00:55 +00:00
pipeline:
# Check moxxmpp
moxxmpp-lint:
2023-08-22 18:07:50 +00:00
image: dart:3.0.7
2023-01-14 14:00:55 +00:00
commands:
- cd packages/moxxmpp
# Proxy requests to pub.dev using pubcached
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
2023-01-14 14:00:55 +00:00
- dart analyze --fatal-infos --fatal-warnings
2023-01-14 14:00:55 +00:00
moxxmpp-test:
2023-08-22 18:07:50 +00:00
image: dart:3.0.7
2023-01-14 14:00:55 +00:00
commands:
2023-08-22 18:07:50 +00:00
- cd packages/moxxmpp
# Proxy requests to pub.dev using pubcached
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
2023-01-14 14:00:55 +00:00
- dart test
# Check moxxmpp_socket_tcp
moxxmpp_socket_tcp-lint:
2023-08-22 18:07:50 +00:00
image: dart:3.0.7
2023-01-14 14:00:55 +00:00
commands:
- cd packages/moxxmpp_socket_tcp
# Proxy requests to pub.dev using pubcached
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
2023-01-14 14:00:55 +00:00
- dart analyze --fatal-infos --fatal-warnings
2023-01-14 14:00:55 +00:00
# moxxmpp-test:
2023-08-22 18:07:50 +00:00
# image: dart:3.0.7
2023-01-14 14:00:55 +00:00
# commands:
# - cd packages/moxxmpp
2023-08-22 18:07:50 +00:00
# # Proxy requests to pub.dev using pubcached
# - PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
2023-01-14 14:00:55 +00:00
# - 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
secrets: [ xmpp_jid, xmpp_password, xmpp_server ]
when:
status:
- failure