Commit Graph

109 Commits (f73bc6ff19f081dec1230a964d14f04af08e7855)

Author SHA1 Message Date
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
Philip O'Toole 6640580b04 Push release tarbal to S3 2015-06-27 02:31:54 -04:00
Marcos Lilljedahl 674da83a7e Change tar package creation format
This change will make the tar.gz file contain a root folder
with the following format: influxdb_$VERSION_$ARCH
2015-06-26 16:57:08 -03:00
Marcos Lilljedahl 45044b40a0 Add support for tgz package
Fixes #3149
2015-06-26 11:21:53 -03:00
Marcos Lilljedahl d7f20e244b Add debug option to package script 2015-06-26 10:33:59 -03:00
Philip O'Toole b3ecb0c33a Remove -1 from RPM package name 2015-06-25 23:38:38 -04:00
Philip O'Toole 23a4225673 AWS CLI already outputs what it is doing 2015-06-25 19:18:27 -04:00
Philip O'Toole c254a5c31e RPM packages use underscored version
Prep an underscored version, for later replacement if nightly build is
in progress.
2015-06-25 19:18:22 -04:00
Philip O'Toole 7a93ed6d55 Remove duplicate S3 upload message 2015-06-25 18:58:00 -04:00
Philip O'Toole d9ba03bfdc Don't upload packages to get.influxdb.org bucket 2015-06-25 18:56:10 -04:00
Philip O'Toole aae8287dcc Remove unused packaging script variable 2015-06-25 18:54:23 -04:00
Philip O'Toole 27a35142e3 Always push version in 2015-06-25 18:54:09 -04:00
Philip O'Toole 9eb5840558 Packaging script no longer assumes master branch
This will be required for making builds for branches other than master.
2015-06-25 17:27:43 -04:00
Philip O'Toole 28543d1bbb Override version during nightly builds 2015-06-24 16:25:29 -07:00
Philip O'Toole 0c3c79c725 Replace package version name with night if NIGHTLY 2015-06-24 15:44:55 -07:00
Philip O'Toole 3f295dcb14 Use correct boolean operator in packaging script 2015-06-24 15:12:30 -07:00
Philip O'Toole fa08c8d808 Make packaging script nightly build-aware 2015-06-24 15:08:27 -07:00
Philip O'Toole 7147aa0a0e Correctly set GOPATH during packaging 2015-06-24 14:47:34 -07:00
Philip O'Toole 04eaddfde8 Revert to any pre-existing GOPATH after gvm 2015-06-24 14:40:03 -07:00
Todd Persen 8ade485b58 Reset +x on package.sh 2015-05-21 17:50:46 -07:00
Todd Persen 5c567352b9 Revert changes to package.sh 2015-05-21 17:49:45 -07:00
Haim Daniel e742c376e2 package.sh: restore lost newline 2015-05-14 22:11:35 +03:00
Haim Daniel d109efa55d package.sh: add support for package dependencies
Putting a dependency on the coreutils package provides more robust way
to be installed in environments in which the basic sh-utils
(e.g. 'ln' cmd, which is used for service init script link) is not
present. Red Hat's anaconda is an example for such environment.

Signed-off-by: Haim Daniel <haimdaniel@gmail.com>
2015-05-14 22:01:19 +03:00
Philip O'Toole e3fcdd2d01 Source gvm script before running gvm 2015-04-21 10:18:54 -07:00
Philip O'Toole deb089afaf Corrections to packaging script 2015-04-21 10:14:26 -07:00
Philip O'Toole 7d37a8b6b8 Packaging now uses gvm
This allows the script to set the exact version of Go used to build the
program.
2015-04-20 18:14:46 -07:00
ben hockey eaac88a0f6 /var/run/influxdb creation covered by init script 2015-04-15 16:47:20 -05:00