cloudflare / complainer

Complainer's job is to send notifications to different services when tasks fail on Mesos cluster.
MIT License
82 stars 13 forks source link

Support official and unofficial s3 at the same time #17

Closed bobrik closed 8 years ago

bobrik commented 8 years ago

Closes #13.

cc @andygrunwald.

andygrunwald commented 8 years ago

@bobrik Works fine. Here are my call + test results:

$ complainer -masters "http://192.168.99.100:5050" \
                      -reporters "slack" \
                      -slack.channel "#mesos" \
                      -slack.hook_url "https://hooks.slack.com/services/MY/TOKEN" \
                      -slack.username "Mesos Cluster" \
                      -slack.icon_emoji ":mesos:" \
                      -uploader "s3aws" \
                      -s3aws.access_key "ACCESS_KEY" \
                      -s3aws.secret_key "SECRET_KEY" \
                      -s3aws.region "eu-central-1"  \
                      -s3aws.bucket "BUCKET-NAME"
2016/06/13 14:37:38 Reporting ChronosTask:fofofofoof (ct:1465821409000:0:fofofofoof:) from 192.168.99.100
^C

screen shot 2016-06-13 at 14 39 14

I would be happy if you merge this and release a new version if complainer + docker container :)