add notify xmpp config
This commit is contained in:
parent
6013caa313
commit
040bf22047
|
@ -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
|
||||
|
|
|
@ -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"`
|
||||
|
|
Loading…
Reference in New Issue