Commit Graph

239 Commits

Author SHA1 Message Date
David Bennett c1a6312ce3
Include DMG files when syncing release artifacts to AWS (#8972) 2021-03-11 12:19:35 -05:00
Sebastian Spaink 3af16aa885
Support Go version 1.16 (#8882)
* Support 1.16

* Use 1.16 in mod file

* update go.sum

* update go.mod after updating to 1.16 locally

* Fix go vet

* Remove exit

* Use require.NoError

* Only run tidy explicitly in "dep" job

* install 1.16 for go

* typo

* update xcode

* specific version not working

* Get 1.16 go formula

* Change brew call

* brew update

* typo

* Resolve go.sum conflict

* go mod tidy
2021-03-08 16:29:11 -06:00
David Bennett b6f043c0ee
Mac Packaging / Notarization (#8878)
* initial commit

* Updated config.yml

* Update mac-signing.sh

* Updated config.yml

* Updated config.yml

* Keep the .tar.gz artifact along with the signed and notarized DMG

* change to test temporarily

* for testing

* Updated config.yml

* Update config.yml

* Update config.yml
2021-03-05 10:14:01 -05:00
Sebastian Spaink 0860487321
Update to 1.15.8 (#8868) 2021-02-17 10:21:47 -06:00
David Bennett 2118681958
Code Signing for Windows (#8816)
* Draft config

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Create sign-windows.ps1

* Updated config.yml

* Updated config.yml

* Delete sign-windows.ps1

* Updated config.yml

* Updated config.yml

* updating config

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Create windows-signing.ps1

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml
2021-02-11 16:24:06 -05:00
Sebastian Spaink 3531e9ddc6
Removing .lgtm.yml (#8664)
* Removed LGTM

* Empty build.py to remove false python alerts
2021-01-11 10:53:17 -06:00
Sebastian Spaink c8584a7b3f
Upgrade circle-ci config to v2.1 (#8621)
* Upgrade to 2.1 circle-ci config

* new line
2021-01-06 16:23:29 -06:00
Andrey Klyachkin a748421123
add support for linux/ppc64le (#8432) 2020-11-30 16:58:03 -05:00
Steven Soroka b39c1974a2
update to go 1.15.5 (#8446) 2020-11-20 15:53:44 -07:00
Steven Soroka 954387e325 Revert "fix to start Telegraf from Linux systemd.service"
This reverts commit 3523652e30.
2020-11-12 11:12:45 -05:00
Steven Soroka 3523652e30
fix to start Telegraf from Linux systemd.service 2020-11-12 10:49:03 -05:00
reimda 73b2f988c4
Update jwt-go module to address CVE-2020-26160 (#8337) 2020-11-02 09:07:37 -07:00
reimda 771f65eb85
Skip statically linked program during glibc version check (#8280) 2020-10-16 14:45:15 -06:00
reimda bfc1a87e1d
Add glibc version check for linux builds (#8278) 2020-10-16 15:08:07 -04:00
Steven Soroka b1b776f1e5
update to go 1.15 (#8220) 2020-10-07 14:51:49 -04:00
Steven Soroka 5d999f85f0
fix docker build. update dockerfiles to Go 1.14 (#8051) 2020-08-28 16:39:55 -04:00
Steven Soroka 93a08f8d92
fixes issue with rpm /var/log/telegraf permissions (#7909) 2020-07-28 11:26:09 -04:00
Daniel Nelson 641b1d60cd
Print configuration for downloads page (#7862) 2020-07-20 12:44:44 -07:00
Steven Soroka 9a5fd6588c
update go versions: 1.14.5, 1.13.13 (#7837) 2020-07-14 20:21:02 -04:00
Daniel Nelson ca19d164c4
Fix tag package version 2020-07-07 17:02:41 -07:00
Daniel Nelson b6560c8b01
Build packages in makefile (#7759) 2020-06-30 00:15:28 -07:00
Daniel Nelson 1c292d00ca
Fail check-deps when differences are found (#7694) 2020-06-16 14:07:06 -07:00
sboeckelmann 23bcc8a3a4
Change rpm dist packaging type for arm64 to aarch64 (#7645) 2020-06-08 14:49:12 -07:00
Yarmo Mackenbach aa8cefedda
Add support for Solus distribution to maintainer scripts (#7585) 2020-06-02 23:20:45 -07:00
Daniel Nelson d27f676091
Update to Go 1.14.3 with testing using 1.13.11 (#7564) 2020-05-26 15:40:25 -07:00
Josh Soref bf1eb291f2
Fix assorted spelling mistakes (#7507) 2020-05-15 15:43:32 -07:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
Andrés Álvarez cc6c77f301
Deploy telegraf configuration as a "non config" file (#7250) 2020-04-09 14:27:59 -04:00
Daniel Nelson 608e818645
Add docs for how to handle errors in check-deps script (#7243) 2020-03-27 15:39:32 -07:00
Daniel Nelson 1d697dd323
Update next_version on master to 1.15.0 2020-03-18 16:21:48 -07:00
Daniel Nelson 4e28e5721b
Update google.cloud.go to latest (#7199) 2020-03-18 15:30:49 -07:00
Steven Soroka fcb038d352
update docker files for go modules. Closes #7170 (#7179) 2020-03-16 19:21:21 -04:00
Daniel Nelson 318a963a89
Check license of dependencies file for changes (#7108) 2020-03-09 14:47:28 -07:00
Daniel Nelson 8acf276afe
Use Go 1.13.8 to build official packages (#7079) 2020-02-25 12:05:44 -08:00
Daniel Nelson 5f1f4b9e8d
Use Go modules for dependency management (#6912) 2020-01-16 14:38:06 -08:00
Dennis Hoppe 5f2ed4ce4f Remove tabs to fix indentation (#6896) 2020-01-14 12:30:03 -08:00
Daniel Nelson 613d0dbd16
Build packages with Go 1.13.5 (#6767) 2019-12-06 17:10:59 -08:00
Daniel Nelson a58db9e447
Increment package versions 2019-12-03 14:59:50 -08:00
Daniel Nelson d2f3215890
Build with Go 1.13.3 and 1.12.12 (#6565) 2019-10-22 13:18:02 -07:00
Daniel Nelson 5bd5cdc6d7
Build official packages with Go 1.13.1 (#6462) 2019-10-07 21:08:28 -07:00
Daniel Nelson 01e9484881
Use Go 1.12.10 for builds (#6455) 2019-09-27 16:44:54 -07:00
Daniel Nelson 82c729aba5
Set next version for builds 2019-08-27 14:05:48 -07:00
Daniel Nelson 1848adaf79
Update to Go 1.12.9 and 1.11.13 (#6303) 2019-08-22 10:51:15 -07:00
Chris Goller 71da67ec54
Add darwin (macOS) builds to the release (#6259)
This will build a darwin tar.gz package for macOS.  This allows people an easy way to download releases from github directly.
2019-08-14 16:04:57 -05:00
Daniel Nelson ac10714332
Add Linux mips build (#6153) 2019-07-23 13:20:39 -07:00
Daniel Nelson f22e7a1465
Update next version for builds 2019-06-05 14:09:59 -07:00
Daniel Nelson 59d646a8e8
Test and build official packages with Go 1.12 (#5923) 2019-05-29 18:54:44 -07:00
Lorenzo Affetti 2c3c377334 Create telegraf user in pre-install rpm scriptlet (#5783) 2019-04-30 11:04:45 -07:00
marcv81 2fb62d4aec No longer requires dep to be in $GOPATH/bin (#5763) 2019-04-26 10:50:06 -07:00
Daniel Nelson bc95a2a2b5
Don't start telegraf when stale pidfile found (#5731) 2019-04-17 15:47:03 -07:00
Lorenzo Affetti 37441e9eb1 Set log directory attributes in rpm spec (#5716) 2019-04-15 16:07:47 -07:00
Daniel Nelson 417c5c1de8
Add owned directories to rpm package (#5607) 2019-03-22 14:02:45 -07:00
Daniel Nelson bfc8758db6
Update build.py next_version 2019-02-27 11:32:58 -08:00
Gunnar 52bd698046 Use Systemd for Amazon Linux 2 packages (#5387) 2019-02-06 16:17:11 -08:00
Daniel Nelson c579a6bdb9
Add linux mipsle packages (#5234) 2019-02-04 13:50:13 -08:00
Daniel Nelson d5a03eb690
Use Go 1.10.8 and 1.11.5 (#5346) 2019-01-25 18:08:48 -08:00
Daniel Nelson 334f9267b6
Use Go 1.11.4 and 1.10.7 (#5221) 2019-01-03 12:41:16 -08:00
Daniel Nelson c12eecc90e
Signal telegraf process until it exits (#5169) 2018-12-26 18:54:50 -08:00
Daniel Nelson f533d3b370
Bump version in build.py 2018-11-05 14:55:10 -08:00
Trevor Pounds 1ec12ba6ad Add Go 1.11 CI support (#4859) 2018-10-19 11:01:31 -07:00
Trevor Pounds ecaaa20ed0 Update CI to Go 1.10.4 (#4860) 2018-10-18 15:45:18 -07:00
Daniel Nelson 8a03a21de2
Place docker files in scripts and update makefile 2018-10-11 00:57:00 -07:00
Greg Linton 96f3d7def4 Update telegraf.conf 2018-09-12 16:08:19 -06:00
Daniel Nelson 8b2d64585d
Use the correct GOARM value in the armel package (#4608) 2018-08-29 12:28:00 -07:00
Daniel Nelson 6e92df45e7 Use dep v0.5.0 (#4542) 2018-08-14 15:55:38 -06:00
Daniel Nelson 9051ea9dc0 Require dep to be installed before building (#4461) 2018-07-24 15:57:24 -06:00
Greg 1bd41ef3ce Update vendoring to dep from gdm (#4314) 2018-06-19 11:55:38 -07:00
Daniel Nelson b1d77ade55
Update master version to 1.8 2018-06-05 11:46:55 -07:00
Daniel Nelson ce58926feb
Run apt-get update in release.sh 2018-05-07 15:12:01 -07:00
Daniel Nelson de355b76d6
Simplify testing with TLS (#4095) 2018-05-04 16:33:23 -07:00
Mauro Murari 3ae0c20200 Fix platform not supported error in build.py (#4102) 2018-05-04 14:18:59 -07:00
Daniel Nelson 00203fa889
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 c160b56229
Fix build.py next_version 2018-04-04 21:53:20 -07:00
Daniel Nelson 89974d96d7
Install new requirements for fpm gem install 2018-02-06 11:33:18 -08:00
Paul Myjavec 12d62e60b3 Use CircleCI 2.0 for builds (#3731) 2018-02-01 15:05:39 -08:00
Lukasz Jagiello a18eedb970 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 6514399baf Add shadow-utils dependency to rpm package (#3505) 2017-11-27 17:02:16 -08:00
Daniel Nelson 5141f8a2a0
Update contributing documentation 2017-11-07 13:59:06 -08:00
Daniel Nelson c14478f025
Update http_listener certs 2017-11-03 21:52:45 -07:00
clheikes 02baa696c3 Fix TELEGRAF_OPTS expansion in systemd service unit (#3354) 2017-10-18 13:57:32 -07:00
Daniel Nelson 771fbc311a
Regenerate TLS certs due to expiration 2017-10-02 15:44:55 -07:00
Daniel Nelson b24663b0bd
Remove nightly versioning scheme 2017-09-22 18:07:08 -07:00
Daniel Nelson 366bda45c3
Remove out of date Vagrantfile 2017-09-22 17:35:58 -07:00
Daniel Nelson c010fb1c3c
Fix build versioning; add dev.docker file 2017-09-22 17:35:58 -07:00
Daniel Nelson b8e134cd37 Fix arm64 packages contain 32-bit executable (#3246) 2017-09-18 14:22:54 -07:00
Daniel Nelson 9fc7220c2e Don't start Telegraf on install in Amazon Linux (#3156) 2017-08-22 17:01:59 -07:00
Daniel Nelson 5224b526f4
Hide output of git describe 2017-08-22 13:32:52 -07:00
Daniel Nelson 4de264ffc8
Remove version test 2017-08-18 11:08:48 -07:00
Daniel Nelson f9573ad969
Remove Godeps_windows from build.py 2017-08-07 17:43:06 -07:00
Daniel Nelson 40aacd9046
Fix artifact redirection 2017-08-07 17:41:52 -07:00
Daniel Nelson 5e73f3e816
Only upload nightly if on master branch 2017-08-07 17:24:35 -07:00
Daniel Nelson a1e7a5f474
Upload as nightly builds if PACKAGE set 2017-08-07 17:16:34 -07:00
Daniel Nelson 1fb5373962
Build releases with -w -s ldflags 2017-08-07 15:47:20 -07:00
Daniel Nelson 795f02ab88 Cleanup Makefile (#3089) 2017-08-03 11:54:05 -07:00
Daniel Nelson 5f88be022c
Add circleci parameter to build packages 2017-07-26 17:13:50 -07:00
Daniel Nelson 0b6db905ff
Generate sha256 hashes when packaging 2017-05-31 12:29:39 -07:00
Sylvain Boily 1ebd1aaa41 Systemd does not see all shutdowns as failures (#2716) 2017-05-08 11:48:29 -07:00
Daniel Nelson 4200018a0b
Enable s390x builds
closes #2766
2017-05-05 14:39:56 -07:00
Daniel Nelson 67cd1669cc Add SLES11 support to rpm package (#2768) 2017-05-05 14:29:40 -07:00
Sébastien a8cfe03ba8 fix systemd path in order to add compatibility with SuSe (#2499) 2017-05-05 14:04:33 -07:00