Skip to content

Commit

Permalink
fix travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
Barthelemy Vessemont committed Nov 20, 2018
1 parent bd8eb5c commit f9f841b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
23 changes: 12 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
language: go
matrix:
include:
- go: 1.11.x
env: RELEASE_VERSION=true
- go: tip
- go: 1.11.x
env: RELEASE_VERSION=true
- go: tip
allow_failures:
- go: tip
- go: tip

# simple cross compile tool for go
before_install:
Expand All @@ -16,22 +16,23 @@ install:
- # skip

script:
- ./go.test.sh
- if [ "${RELEASE_VERSION}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64" -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...; fi
- "./go.test.sh"
- if [ "${RELEASE_VERSION}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64"
-ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...; fi

after_success:
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"

deploy:
provider: releases
api_key:
secure: g1h3+JvhpxRQ+a8T9v1uHPIYJCAb3Pboc02GCm+kjTJKDehX9xNSss0SC/c8a7BXpdgn0OuZfI67OulfAxGBcnT+lkwJAY8lashkdw+IM5OztFL2MTq/25lB6WBubwZ6txDerQ8DtdKvmedWxkTUYjZFbPwcH6CXbcqCoYNZtusQ0NLaBRV9ucBgtJWD3Aq5QZUdoih3xEbhKPmJys5wHnB2nrmj/qeqCGaOgDN3KLmDu3XUmYVv7jRM4SDyoT9QtUseBk0fJxFUlturOg0BlBb7Pyp3cew1ja2+Kn33qkavkDIw/a8zl1XeXYpPc0KAEK/bxcUJfhG48gOEV00FnYLZTTdTrCZIh6agc6zBIA2MjL3gq42zrRcVZBAyOwxlZu40dKACWHVt/bY7VkblhUAUr/6D64H200kl/XfcC9iTQZ1zRbRxgF33BLCRAn2YXpqJ3dwwNgBhzOfFDWpy5WcdYWlHe9+Is4cLH1a2XMz6ajGnCdEwdgyBnPvJu7W9pLy+hB6VTPdyZiMmU++vhxfqUc7YaAXHWOBAy8fl4bloZvV3X50qlKpe6nxAA1vlnttKsCNgzmmwRiMTq4QumO5nYry4IUEVTQBy/yI9GFId6PxRZgQ9KIQd22OAxjkh7pVLM9ancRVQBbbUAMhWQ1wWTnhjcgY9Iy7r0JwhDvA=
secure: WYqs6d52utQJWahpEli1SibaKrBdFFQ+/fqaoNweKWdCp0/cvk2EPhfRkSOL7FPZxyh+vk6iQFvYaagQYpPbpDmnJF2EEnfCf+L4CSjTcsamMkurOU3/HU4U2kGg9NaGGeci7CuirXkeQuu+Gbqar/V88qNB/UGO+rAR8cLhJVguQZtcGtip5zLMweINil1xan/WnBBFI3UOZiNuIxjtztuw0A1FTclfao4aondYWNh8M8l19DWd8X5zrJFGoFlyxX8UR9yroELVTm2dbO0RY3qBnHefa+ND//hb8NQDMyF7tRKiQUJCgwfE/Ppt4XBZgveZT1wlYFJLQXAg1pRx0cT5NgU4OxzrflYieTwuxcGV8N69GL8O4mzk9PE6+vM8Cox7xY7zEtkppjhBBnT3DAl6NyKCLarqFrZ+Hj60rdh1/KxGl5ELXtsfeREJi6ZgSfP5RhjJi/5GzO9InkefThQ9WVPfJwOiXaIh2cVcfHxWFwUzTF+Sielj/ppedPzQBbsr4TvbF1naRXh5Prio9HIg43r7SDnJbMUqjHByKJ4ldwKYyC8p5LMSf1qJwpkkYGHdnxZ+kyeoxXkEwOCk0iX1MCJXEFgRDwpKdgCZ7ZhP14F91QnkDohCZjnvitsXKgfnp7rUAW3erl+ChU29zSmffWim+TUtCitNrialwGE=
file:
- "espoke_linux_amd64"
- "espoke_darwin_amd64"
- "espoke_windows_amd64.exe"
- espoke_linux_amd64
- espoke_darwin_amd64
- espoke_windows_amd64.exe
skip_cleanup: true
on:
repo: BarthV/espoke
tags: true
condition: $RELEASE_VERSION = true
condition: $RELEASE_VERSION = true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# espoke - A prometheus whitebox probe for ES clusters
# espoke - A prometheus blackbox probe for ES clusters

* Only works using a opinionated consul model as discovery method
* Expose prometheus metrics from a blank search on every ES indexes of every datanodes
Expand All @@ -21,4 +21,4 @@ Global Flags:
-l, --loglevel string log level (default "info")
-p, --metricsPort int port where prometheus will expose metrics to (default 2112)
--probePeriod string elasticsearch nodes probing interval (default "30s")
```
```

0 comments on commit f9f841b

Please sign in to comment.