Commit Graph

135 Commits (f18d7e759625b829a8ad82e1b7631e5e9412b7d0)

Author SHA1 Message Date
Jason Wilder 9c851f790e Use go1.4.3
Fixes #5283 #5217
2016-01-10 16:43:31 -07:00
Philip O'Toole eaec514ca0 b*1 to tsm1 shard converter 2015-12-29 15:31:07 -05:00
Philip O'Toole 8c8e9c1eb6 Set linker flags in Go 1.5 style
[ci skip]
2015-12-14 09:54:56 -08:00
Philip O'Toole 7bae79cb71 Move to Go 1.5.2 2015-12-09 11:53:00 -08:00
Philip O'Toole 34fddc2c10 Compute file md5sum before any rename
Renames can happen for nightly builds, which resulted in failed md5sum
commands.

[ci skip]
2015-11-23 14:50:03 -08:00
Philip O'Toole 15d9a6316a Calculate MD5 sums during packaging 2015-11-20 11:36:19 -08:00
Ross McDonald b53ebe9d5d Backporting changes from build.py to package.sh. Also fixes a few miscellaneous package permissions issues that Debian's lintian complained about. 2015-11-16 13:19:54 -06:00
Ross McDonald bd186195db Restructured filesystem hierarchy, and updated pre/post installation scripts to ease upgrade progress. Also adding first iteration of new build script (build.py).
New package filesystem hierarchy:
	 - /var/lib/influxdb => Data directories
	 - /usr/lib/influxdb => Scripts and other miscellaneous files
	 - /etc/influxdb => Configuration
	 - /usr/bin/ => Where InfluxDB binaries will live
2015-11-12 10:42:41 -06:00
Philip O'Toole 3cab8fac02 Revert to Go 1.4.2
This is not passing 'go vet' under 1.4.2.
2015-11-11 15:48:37 -08:00
Philip O'Toole 437f80af8d No need to quote build date during packaging
[ci skip]
2015-10-30 15:42:29 -07:00
Sean Reifschneider cb85b9db25 Issue #4446: Fixing logrotate config file.
This issue switches from "cp" to "install" for the logrotate file,
with the option to specify the mode.  Also uses the name "influxdb"
instead of "influxd".
2015-10-14 11:15:48 -06:00
Philip O'Toole c767259e5d Symlink to stress and inspect
[ci skip]
2015-10-13 18:54:26 -07:00
Philip O'Toole 84396cdafa Package the stress and inspect tools 2015-10-09 11:13:11 -07:00
Philip O'Toole 880f55565e Support building race-enabled packages
This will allow testing to run without need to perform special builds,
simply download and install the race-detection-enabled package.
2015-10-07 22:09:30 -07:00
Philip O'Toole 22a385068d Remove post-install script
This script needs to be re-worked with the new upcoming repo, so remove
this problematic operation for now.
2015-10-05 14:57:34 -07:00
Philip O'Toole fa5de49d2e Revert to explicit description of package
The previous way is causing fpm issues due to quoting.
2015-10-05 13:56:22 -07:00
Philip O'Toole a8f601986d Correctly quote packaging DESCRIPTION
[ci skip]
2015-10-05 13:38:03 -07:00
Philip O'Toole 7e0c4d3cf9 Merge pull request #4330 from influxdb/go1.5.1
Move to Go 1.5.1
2015-10-05 12:45:33 -07:00
Philip O'Toole 7b71e8989f Move to Go 1.5.1 2015-10-05 12:35:13 -07:00
Philip O'Toole 1daf665a1d influxdb user removed by purge
[ci skip]
2015-09-29 15:53:07 -07:00
Philip O'Toole e9a41e8c01 Factor out DESCRIPTION in packaging script 2015-09-28 17:43:54 -07:00
Philip O'Toole 0697f01f8e Fix minor bug in packaging script
Thanks to @fg2it for the report.

[ci skip]
2015-09-28 15:09:17 -07:00
Philip O'Toole 7cb8c2d2ec Add build timestamp to version data 2015-09-24 23:40:53 -07:00
Philip O'Toole 143af911ac Add package post-uninstall script
Fixes issue #3754.

[ci skip]
2015-09-17 14:06:42 -07:00
Philip O'Toole da37639741 Pass RC number as an optional parameter
This allows proper versioning of RCs for RPMs.

Fixes issue #3879.
2015-09-17 13:36:01 -07:00
Philip O'Toole 82ec6e5e17 Add shebang to package post-install script
Fixes issue #3430
2015-09-16 22:45:16 -07:00
Philip O'Toole 55d9c9bfaa RPM package depends on coreutils
Fixes issue #3816

[ci skip]
2015-09-16 21:14:42 -07:00
Philip O'Toole e06d6e58b2 Fix packaging script indentation
[ci skip]
2015-09-15 11:56:27 -07:00
Cameron Sparr a8c7e2ac04 Install & update systemd influxdb service
Closes #3989
Closes #4047
2015-09-09 10:00:48 -06:00
Philip O'Toole a7ba677efd Further fixes to packaging script re config sample 2015-09-09 00:51:37 -07:00
Philip O'Toole 734f424e97 Correct config file name and fix logrotate
[ci skip]
2015-09-09 00:46:31 -07:00
Sean Beckett 7a8966cbd4 fixing filename
[ci skip]
2015-09-08 15:28:29 -07:00
Philip O'Toole 8a3d7e584d Call lograte file simple "influxdb"
[ci skip]
2015-09-08 12:14:20 -07:00
Philip O'Toole becb5b62b1 Fix small typo in packaging script
[ci skip]
2015-09-08 12:07:14 -07:00
Philip O'Toole f19ed2e178 Changes for installing logrotate 2015-09-08 11:56:12 -07:00
Philip O'Toole 82c101be14 Clean up whitespace 2015-09-08 08:50:26 -07:00
fg2it 95a4a3a800 review comment ! -z => -n and more detailed output when pushing tag version to repo 2015-09-02 01:04:25 +02:00
fg2it f030051657 always use clean_exit
reducing noise from fpm
2015-09-01 22:34:32 +02:00
fg2it 9408310462 adding -w option to package.sh to package dirty working directory 2015-09-01 02:58:45 +02:00
fg2it d6c8f381d5 adding options to package.sh 2015-08-31 23:47:42 +02:00
Philip O'Toole 191163c7c7 Move to Go 1.5 2015-08-27 09:58:15 -07:00
Philip 3f525ff8c1 Re-order package type generation
This change is just cosmetic and will result in the same packages being
generated.

Temporary fix for #3755.

[ci skip]
2015-08-24 22:23:19 -07:00
Philip O'Toole 717bce6899 Add build branch to version information 2015-08-13 13:40:51 -07:00
Philip O'Toole 603166a638 Switch to target branch after 'go get' 2015-07-01 12:19:35 -04:00
Philip O'Toole d76b734467 Allow path to fpm to be set by env. variable
Some execution contexts, like cron, don't have PATH set up as needed, so
this change allows the path to fpm to be passed in.
2015-06-30 10:13:24 -04:00
Philip O'Toole 5aaea5b4a7 Use "which" path for fpm 2015-06-30 09:42:00 -04:00
Philip O'Toole aea509474e Revert force of -x during packaging
[ci skip]
2015-06-29 14:29:50 -04:00
Philip O'Toole 5b764cfc01 Force -x for package.sh
For debug of nightly build process.
2015-06-29 14:17:12 -04:00
Philip O'Toole e63c59abdd Merge pull request #3154 from marcosnils/debug_package
Add debug option to package script
2015-06-27 02:36:37 -04:00
Philip O'Toole 85256a2b87 Add -1 back to RPM package names
This is to bring the variable back into line with what fpm will actually
do.

http://www.rpm.org/max-rpm/ch-rpm-file-format.html
2015-06-27 02:33:11 -04:00