Commit Graph

93 Commits (d6f9903f10acf7fabe0ad38e9f52f0de4fb07108)

Author SHA1 Message Date
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
Philip O'Toole d1aeec30b1 Use the first directory of GOPATH 2015-04-10 11:29:20 -07:00
Philip O'Toole 9b4b5dd40a Fix up paths for run and data 2015-04-03 12:52:37 -07:00
Philip O'Toole af5ae3d68d Merge pull request #1789 from kylezh/pkg
add --config-files option to fpm command
2015-03-04 10:53:15 -08:00
Philip O'Toole 4f2e665365 Unconditionally remove the init.d symlink 2015-03-02 10:48:04 -08:00
Kai Zhang 43fc102b8e add --config-files option to fpm command
This is to avoid overwritten of config file when update package.

Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-02-28 11:05:10 +08:00
Philip O'Toole 915e456ecf Explicitly name installation binaries
Fixes #1734.
2015-02-25 11:17:34 -08:00
Philip O'Toole f369ac351f Fix typo in error message 2015-02-11 23:15:18 -08:00
Will Fife 2c11d3dbe3 Changed first line to use /usr/bin/env bash as bash can't be expected
to reside at /bin/bash, for instance on FreeBSD systems its at
/usr/local/bin/bash.
2015-02-10 14:18:28 -08:00
Philip O'Toole ce0cc84ec1 Create, and use, standard path for log file 2015-01-29 14:29:21 -08:00
Philip O'Toole 573989c5cb Merge pull request #1447 from influxdb/increase_fd_limits
Set FD limits to 64K for influxd
2015-01-29 14:12:36 -08:00
Philip O'Toole 42d1f4056c Create 'run' directory tree for influxdb 2015-01-29 13:27:17 -08:00
Philip O'Toole 030c5276a9 'go get' packages before building 2015-01-29 12:24:51 -08:00
Philip O'Toole 7f88b8bb16 Create link for renamed CLI binary 2015-01-28 17:25:50 -08:00
Philip O'Toole f328e7a8e6 Add detailed packaging instructions 2015-01-28 12:21:26 -08:00
Philip O'Toole c41b2b64d6 Add comment about 'fpm' and AWS CLI prerequisites 2015-01-28 09:51:54 -08:00
Philip O'Toole 2cb2b5d0b5 Explicitly set AWS creds during upload
Also, check return codes to make sure everything worked OK.
2015-01-28 09:43:19 -08:00