add notify xmpp config

This commit is contained in:
Martin Geno 2017-06-12 23:02:03 +02:00
parent 6013caa313
commit 040bf22047
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941
2 changed files with 18 additions and 4 deletions

View File

@ -1,7 +1,3 @@
notify:
webhooks:
- url: https://hook2xmpp.pub.warehost.de/circleci
machine:
environment:
GOROOT: ""
@ -33,3 +29,8 @@ deployment:
branch: master
commands:
- ./deploy.sh $HOST_FOR_STAGING $PORT_FOR_STAGING
notify:
webhooks:
- url: https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN
- url: https://hook2xmpp.pub.warehost.de/circleci

View File

@ -12,6 +12,19 @@ type Config struct {
Bind string `toml:"bind"`
Interactive bool `toml:"interactive"`
} `toml:"api"`
Notify struct {
XMPP struct {
Host string `toml:"host"`
Username string `toml:"username"`
Password string `toml:"password"`
Debug bool `toml:"debug"`
NoTLS bool `toml:"no_tls"`
Session bool `toml:"session"`
Status string `toml:"status"`
StatusMessage string `toml:"status_message"`
StartupNotify string `toml:"startup_notify"`
} `toml:"xmpp"`
} `toml:"notify"`
Database struct {
Type string `toml:"type"`
Connect string `toml:"connect"`