Skip to content

Commit

Permalink
Only install fpm,rpm,boto if we need them
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Oct 25, 2016
1 parent f729fa9 commit 80d4864
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ continue sending logs to /var/log/telegraf/telegraf.log.

### Bugfixes

- [#1926](https://github.com/influxdata/telegraf/issues/1926): Fix toml unmarshal panic in Duration objects.
- [#1746](https://github.com/influxdata/telegraf/issues/1746): Fix handling of non-string values for JSON keys listed in tag_keys.
- [#1628](https://github.com/influxdata/telegraf/issues/1628): Fix mongodb input panic on version 2.2.
- [#1733](https://github.com/influxdata/telegraf/issues/1733): Fix statsd scientific notation parsing
Expand Down
3 changes: 0 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ machine:
dependencies:
override:
- docker info
post:
- gem install fpm
- sudo apt-get install -y rpm python-boto

test:
override:
Expand Down
4 changes: 4 additions & 0 deletions scripts/circle-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ cat telegraf-race | gzip > $CIRCLE_ARTIFACTS/telegraf-race.gz

eval "git describe --exact-match HEAD"
if [ $? -eq 0 ]; then
# install fpm (packaging dependency)
exit_if_fail gem install fpm
# install boto & rpm (packaging & AWS dependencies)
exit_if_fail sudo apt-get install -y rpm python-boto
unset GOGC
tag=$(git describe --exact-match HEAD)
echo $tag
Expand Down

0 comments on commit 80d4864

Please sign in to comment.