Commit Graph

88 Commits (1.8)

Author SHA1 Message Date
Brandon Pfeifer 09783cbb73
chore: remove circleci config and associated scripts (#25070) 2024-06-18 12:53:57 -04:00
Cody Shepherd 94ab39b839
build: add daily job to automate changelog generation (#22625) 2021-10-12 09:29:26 -07:00
Daniel Moran 970548807c
test: add ungrouped-agg case to perf test suite (#22569) 2021-09-23 16:24:49 -04:00
William Baker e3ed13e8d9
build: series cardinality perf test (#22507)
* build: series cardinality perf test
2021-09-17 15:14:17 -06:00
William Baker 0fbc0e53f3
build: run perf test queries only on specific datasets (#22483)
* build: run perf test queries only on specific datasets
2021-09-16 10:46:47 -06:00
William Baker 29ea953fa1
build: new multi-measurement perf test (#22344)
* build: new multi measurement perf test
2021-08-30 16:33:07 -06:00
Daniel Moran 7aa04801f0
test: add `aggregate-drop` case to iot perf-tests (#22264) 2021-08-20 11:42:06 -04:00
William Baker ee3d4f6b7d
build: use alterate names for IoT query types (#22248)
* build: use new query types for some iot cases
2021-08-18 09:57:47 -06:00
William Baker b0c0185398
build: multi-measurement & `group() |> aggregateWindow()` backports (#22230)
* build: add perf tests for group-window-transpose

* build: add multi measurement query benchmarks
2021-08-17 13:07:35 -06:00
Dane Strandboge 936da24642
build: add iot usecase tests to 1.8 (#22215)
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2021-08-16 15:40:26 -05:00
William Baker d6f0377dc2
build: don't include host tag on perf test results (#22183) (#22194)
* build: dont report host for perf tests
2021-08-12 15:53:42 -06:00
Cody Shepherd 115e24083d
fix: systemd service -- handle 40x and block indefinitely (#22076)
* chore: update pkg_run_test to test auth-enabled

* fix: fixes to systemd startup script

* accept 40x responses as evidence that API is up and running
* block indefinitely while waiting for API

* chore: update changelog

* chore: move pkg_run tests into discrete bash scripts; avoid swallowing errors
2021-08-10 13:09:35 -07:00
Daniel Moran d53f7f332a
build: backport updated perf tests to 1.8 (#22114)
* Add metaquery perf tests
* Re-add branch as a tag in perftest results
* Replace general perf tests with aggregate tests, refactor script
* Remove file_tag from perf-test telegraf config
* Only run influxql perf tests
* Use tsi1 index for perf tests


Co-authored-by: William Baker <wbaker@gmail.com>
2021-08-09 16:43:45 -04:00
Cody Shepherd b0b7af7f3f
fix: handle https in systemd wrapper, and prevent it from looping forever (#22026)
* fix: handle https in systemd wrapper, and prevent it from looping forever

* chore: update pkg install test to check https

* chore: update changelog
2021-08-03 11:52:14 -07:00
Cody Shepherd df8d3d32c3
fix: systemd-start script should be executable by group and others (#21987)
* chore: add test to install and run deb package

* fix: systemd start script should be executable for group and others

* chore: update changelog
2021-08-03 08:21:35 -07:00
Cody Shepherd aaba5efb61
chore: adjust packaging procedure to enable correct systemd behavior (#21905) 2021-07-21 10:23:32 -07:00
Sam Arnold 51600c8300
chore: update protobuf library versions and remove influx_tsm (#21882) (#21891)
* chore: update protobuf library versions and remove influx_tsm (#21882)

* chore: update protobufs

* fix: run codegen during build

* fix: fully remove influx_tsm

* fix: codegen works

* fix: add tools.go for 1.8
2021-07-20 15:16:19 -04:00
Cody Shepherd fea92628f4
chore: enable query performance tests (#21762)
* chore: enable query performance tests

* chore: push influx_tools to s3 bucket for use in 2.x
2021-07-20 11:19:19 -07:00
Cody Shepherd 4f30e2029c
fix: systemd unit should block on startup until http endpoint is ready (#21865)
* fix: systemd unit should block on startup until http endpoint is ready

* chore: update changelog
2021-07-20 11:18:12 -07:00
Cody Shepherd 673dc6a19e
chore: change commit and branch keys to fields instead of tags (#21826)
context: configuring unique data as tags causes series cardinality to
grow in an unbounded manner; data with unique values should be set
as fields
2021-07-16 06:59:28 -07:00
Cody Shepherd 9ebac08390
chore: enable log retention for performance tests (#21708) (#21716)
* chore: upload perftest logs to s3 bucket when finished

* chore: turn on verbose telegraf logging in perf test reporting
2021-06-21 13:15:39 -07:00
Cody Shepherd 91b16da55b
chore: adjust ingest perf tests for 1.8 to bring in line with 2.0 (#21679) 2021-06-14 10:18:11 -07:00
Lorenzo Affetti 83b1f48112 fix(package): make rpm verify pass after installation 2019-04-30 12:10:40 +02:00
Gunnar Aasen 0350557c16 Use Systemd for Amazon Linux 2 packages 2019-02-06 16:28:48 -08:00
Mark Rushakoff c2841c8342 Use correct variable style in influxdb.service
From the systemd.service docs:

Use "${FOO}" as part of a word, or as a word of its own, on the command
line, in which case it will be replaced by the value of the environment
variable including all whitespace it contains, resulting in a single
argument. Use "$FOO" as a separate word on the command line, in which
case it will be replaced by the value of the environment variable split
at whitespace, resulting in zero or more arguments.
2017-10-03 11:15:22 -07:00
Mark Rushakoff e623b1b16b Use `command` instead of `which`
Some systems don't have `which` installed.

Also fix some whitespace issues.

Fixes #8900.
2017-10-02 11:49:08 -07:00
Ross McDonald f7c686dbef Merge pull request #7536 from ast-systemtechnik/skladd-patch-init.sh
make init.sh compatible with busybox
2016-12-01 14:08:10 -06:00
Chris Casey 8e720a3308 fix chuid argument order 2016-11-10 16:31:50 -06:00
Stephan Klatt 35d2fb6e01 init.sh: busybox kill compatible signal names
busybox's kill does not accept -s SIGTERM, but only -s TERM
2016-10-28 15:30:48 +02:00
Stephan Klatt 9a880f6144 init.sh: initialize counter variable in stop()
fixes init.sh stop error on busybox systems: #7535
2016-10-28 13:46:13 +02:00
Ross McDonald c769639e88 Packaging fixes:
* Removes sysvinit-tools as an RPM package dependency.

* Update init script to not rely on sysvinit utils for backwards
  compatibility.

* Minor overall improvements to init script (improved error messages,
  comments, check for root privileges).

* Adds SLES support to post-installation script.
2016-07-12 09:22:57 -05:00
Jonathan A. Sternberg 55a58aaaca Remove systemd output redirection
Let systemd handle the output so the journal can be used. This also
let's the user configure if the journal stores the output of this
service to a file instead of setting the location.

Fixes #6824.
2016-06-17 13:00:00 -05:00
kevgrig f49c4f18a0 Update influxdb.service
Start influxdb.service after the network is up; otherwise, there's a chance after reboot that influxdb fails to bind and then doesn't start. For more, see (http://unix.stackexchange.com/a/126146)[http://unix.stackexchange.com/a/126146]
2016-04-30 10:36:40 -07:00
Ross McDonald 98789addc4 Modified tests to use '-n' over '! -z', and added quotes to pids to ensure strings. 2016-03-30 14:25:42 -05:00
Ross McDonald e52201ed34 Moved different init commands into their own functions. 2016-03-30 10:11:24 -05:00
Valeriy Simonov e70d8aaa25 Wait for process termination on restart
Fixing "bind: address already in use" error
2016-03-23 10:37:39 +05:00
Jason Wilder db5d715846 Merge pull request #5536 from mmattioli/cleanup
Cleanup
2016-02-08 08:57:44 -07:00
Ross McDonald 11418fefba Added support for Amazon Linux to installation scripts. 2016-02-04 09:17:59 -06:00
Michael Mattioli 658ffc9084 Updated docs link in .service
The link to the InfluxDB docs was stale,
simply updates it pointing to the current
URL which contains the docs for InfluxDB
2016-02-03 21:35:55 -05:00
Alexandre Derumier 487756fa46 postinstall script : use /etc/debian_version for debian/ubuntu detection
currently we use /etc/lsb-release to detect debian,

but this file is only present on ubuntu.

/etc/debian_version is installed by default by debian and ubuntu
2016-01-14 15:22:48 +01:00
Ross McDonald 560f691096 A few updates:
- Re-enabling support for ARM builds in `build.py`.
- Improved `build.py`'s iteration and package version.
- Fixed minor bug with logrotate file path in `build.py`.
- Improved installation pre and post install/uninstall scripts by adding distribution-specific logic to account for quirks between the different package managers.
- Added post-install as post-trans script for RPM builds due to the order of RPM upgrade commands (issue where init scripts were removed when upgrading).
- Added explicit backup to pre-install script to ensure legacy configuration survive an upgrade.
2016-01-07 15:03:43 -06:00
Mi! d721bc5eee Fixed syntax Error in influxdb.service
Updated, removed erroneous spaces for stdout and stderr redirect ```2>>$STDERR``` which resulted in a broken forward.
2015-12-15 10:51:11 +01:00
Ross McDonald df46eeb48f Fixed issue where pre-install script would attempt to copy to a non-existent directory. 2015-11-17 15:29:51 -06: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
Chris Dickson a60f90b082 specify shell on pidfile touch on service start
resolves "/var/run/influxdb/influxd.pid not writable, check permissions [ FAILED ]"
error on service restart  when influxdb user shell is set to /bin/false
2015-10-01 15:30:14 -05:00
Cameron Sparr a8c7e2ac04 Install & update systemd influxdb service
Closes #3989
Closes #4047
2015-09-09 10:00:48 -06:00
Philip O'Toole 206ddae286 Add basic logrotate file 2015-09-08 08:50:47 -07:00
Philip O'Toole d1e6dced47 Use actual kill command, not shell alias
https://www.freebsd.org/doc/handbook/basics-processes.html

[ci skip]
2015-09-05 00:18:54 -07:00
Philip O'Toole 54c832f4a8 Correct shutdown in init.d script
This was already reviewed by @jwilder, but merged incorrectly.
2015-09-04 23:49:47 -07:00