Commit Graph

119 Commits

Author SHA1 Message Date
Mauro Murari cb8d5cc265 Fix platform not supported error in build.py (#4102) 2018-05-04 14:18:59 -07:00
Daniel Nelson 8b269c4e87 Export all vars defined in /etc/default/telegraf (#3981)
This keeps the format of this file the same between systemd and
sysvinit.
2018-04-06 13:17:24 -07:00
Daniel Nelson 559ad1fcdc Fix build.py next_version 2018-04-04 21:53:20 -07:00
Daniel Nelson d467a20b2c Install new requirements for fpm gem install 2018-02-06 11:33:18 -08:00
Paul Myjavec 9b4177d46c Use CircleCI 2.0 for builds (#3731) 2018-02-01 15:05:39 -08:00
Lukasz Jagiello 9c45a2150d Use deb-systemd-invoke to restart service (#3506)
From man page:
```
deb-systemd-invoke is a Debian-specific helper script which asks
       /usr/sbin/policy-rc.d before performing a systemctl call.

deb-systemd-invoke is intended to be used from maintscripts to start
       systemd unit files. It is specifically NOT intended to be used
       interactively by users. Instead, users should run systemd and use
       systemctl, or not bother about the systemd enabled state in case they
       are not running systemd.
```

This PR replace regular `systemctl` with `deb-systemd-invoke`.
2017-11-27 17:05:32 -08:00
Lukasz Jagiello b7a50b9414 Add shadow-utils dependency to rpm package (#3505) 2017-11-27 17:02:16 -08:00
Daniel Nelson 80b60542fa Update contributing documentation 2017-11-07 13:59:06 -08:00
Daniel Nelson f3d90bdac6 Update http_listener certs 2017-11-03 21:52:45 -07:00
clheikes 0fe8ed9ce3 Fix TELEGRAF_OPTS expansion in systemd service unit (#3354) 2017-10-18 13:57:32 -07:00
Daniel Nelson 9b7fe6ce99 Regenerate TLS certs due to expiration 2017-10-02 15:44:55 -07:00
Daniel Nelson 48edce0170 Remove nightly versioning scheme 2017-09-22 18:07:08 -07:00
Daniel Nelson 66b23ab505 Remove out of date Vagrantfile 2017-09-22 17:35:58 -07:00
Daniel Nelson 7b41da4ddd Fix build versioning; add dev.docker file 2017-09-22 17:35:58 -07:00
Daniel Nelson 126bd1f38f Fix arm64 packages contain 32-bit executable (#3246) 2017-09-18 14:22:54 -07:00
Daniel Nelson ec44f8bbab Don't start Telegraf on install in Amazon Linux (#3156) 2017-08-22 17:01:59 -07:00
Daniel Nelson fcd5e5d9e3 Hide output of git describe 2017-08-22 13:32:52 -07:00
Daniel Nelson d5bfc683fe Remove version test 2017-08-18 11:08:48 -07:00
Daniel Nelson 6ebb93abcc Remove Godeps_windows from build.py 2017-08-07 17:43:06 -07:00
Daniel Nelson 88a11e6a67 Fix artifact redirection 2017-08-07 17:41:52 -07:00
Daniel Nelson 6cbc90da50 Only upload nightly if on master branch 2017-08-07 17:24:35 -07:00
Daniel Nelson c1c85f4330 Upload as nightly builds if PACKAGE set 2017-08-07 17:16:34 -07:00
Daniel Nelson 07cda8903a Build releases with -w -s ldflags 2017-08-07 15:47:20 -07:00
Daniel Nelson 2a106be2b8 Cleanup Makefile (#3089) 2017-08-03 11:54:05 -07:00
Daniel Nelson 539c340c4d Add circleci parameter to build packages 2017-07-26 17:13:50 -07:00
Daniel Nelson e9c233746f Generate sha256 hashes when packaging 2017-05-31 12:29:39 -07:00
Sylvain Boily 6aa3762049 Systemd does not see all shutdowns as failures (#2716) 2017-05-08 11:48:29 -07:00
Daniel Nelson d9c6543fac Enable s390x builds
closes #2766
2017-05-05 14:39:56 -07:00
Daniel Nelson c7f5d96d0d Add SLES11 support to rpm package (#2768) 2017-05-05 14:29:40 -07:00
Sébastien c7da3f1063 fix systemd path in order to add compatibility with SuSe (#2499) 2017-05-05 14:04:33 -07:00
Martin c0daa68e00 Fixed install/remove of telegraf on non-systemd Debian/Ubuntu systems (#2360) 2017-04-20 11:19:33 -07:00
Cameron Sparr 3f35ae306f create telegraf.d directory in tarball
closes #2513
2017-03-09 11:41:08 +00:00
Kali Hernandez d4d3f61673 Debian package: check for group before useradd (#2107)
Fixes #2106
2017-01-24 14:54:19 -08:00
Cameron Sparr 845392e090 32-bit binary for windows and freebsd
closes #1346
closes #2218
2017-01-23 20:28:13 -08:00
Pierre Fersing 1d1afe6481 Fix RPM architecture for armhf (#2003)
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
2016-12-05 16:45:02 +00:00
Cameron Sparr a6ed4d4c3a CircleCI script, do not explicitly set version tag 2016-11-03 17:21:06 +00:00
Cameron Sparr 80d4864844 Only install fpm,rpm,boto if we need them 2016-10-25 13:31:48 +01:00
Ririsoft 5913f7cb36 Log to systemd journal
Let's align to InfluxDB 1.0 logging policy and log to systemd journal by
default.

closes #1732
2016-10-06 17:48:22 +01:00
Cameron Sparr 2462e04bf2 Rdme upd (#1660)
* Update README and CHANGELOG with 1.0 RC 1

* Increase circleci test docker sleep

* update aerospike dependency
2016-08-24 08:41:12 +01:00
Cameron Sparr 13865f9e04 Disable darwin builds (#1571)
telegraf can't be cross-compiled for darwin, it has C dependencies and
thus many of the system plugins won't work.
2016-08-04 14:27:33 +01:00
Srini Chebrolu 841729c0f9 RPM post remove script update for proper handle on all Linux distributions (#1381) 2016-07-28 08:34:57 +01:00
Pierre Fersing 207c5498e7 Remove systemd Install alias (#1470)
Alias is a list of additional names. Adding it's cannonical name
cause systemctl enable telegraf to show a warning "Too many levels of
symbolic links"
2016-07-14 15:53:05 -06:00
Cameron Sparr 7c9b312cee Make race detector build in CI 2016-07-14 09:16:29 -06:00
Ross McDonald 94f952787f Add statically-linked amd64 builds to default build targets.
Remove version and iteration from root packaging folder. (#1318)

closes #1201
2016-06-02 16:14:18 +01:00
Pierre Fersing 98d91b1c89 Fix reloading Telegraf under systemd (#1279) 2016-05-26 11:32:05 +01:00
Rene Zbinden 475252d873 fix telegraf service (#1252) 2016-05-24 15:14:58 +01:00
Cameron Sparr 8e92d3a4a0 Log to /var/log/telegraf/telegraf.log on systemd
closes #1243
2016-05-23 18:00:59 +01:00
Jack Tench 08ecfb8a67 Replace sudo with su in init script
To avoid issues starting service when 'Defaults requiretty' is enabled in the sudoers file.

Fixes #1204
closes #1205
2016-05-17 18:31:49 +01:00
Ross McDonald 5348937c3d Choose correct configuration when building for windows. 2016-05-06 10:46:29 -05:00
Ross McDonald 72fcacbbc7 Minor fixes to build script:
- Fix for --name build parameter
- Remove rc parameter from build script
- Fix regression on first-level tarball directory structure
- Convert any dashes/underscores in version tag to tilde
2016-05-05 14:02:34 -05:00