Skip to content

Commit

Permalink
build: recommend influx-cli in packaging, add section to README (infl…
Browse files Browse the repository at this point in the history
  • Loading branch information
danxmoran authored Jul 23, 2021
1 parent 035e11e commit eeeb886
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ builds:
pre: make generate-web-assets

nfpms:
- id: "influxdb2"
builds: ["influxd"]
- id: influxdb-server
package_name: influxdb2
formats:
- deb
- rpm
Expand All @@ -48,11 +48,13 @@ nfpms:
- src: scripts/influxd-systemd-start.sh
dst: /usr/lib/influxdb/scripts/influxd-systemd-start.sh
scripts:
preinstall: "scripts/pre-install.sh"
postinstall: "scripts/post-install.sh"
postremove: "scripts/post-uninstall.sh"
preinstall: scripts/pre-install.sh
postinstall: scripts/post-install.sh
postremove: scripts/post-uninstall.sh
conflicts:
- influxdb
recommends:
- influx-cli
overrides:
rpm:
replacements:
Expand All @@ -69,13 +71,13 @@ nfpms:
license: MIT

archives:
- id: influxd
- id: influxd_only
format: tar.gz
format_overrides:
- goos: windows
format: zip
wrap_in_directory: true
name_template: "influxdb2-nightly-{{ .Os }}-{{ .Arch }}"
name_template: "influxdb2-server-nightly-{{ .Os }}-{{ .Arch }}"
files:
- LICENSE
- README.md
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
## unreleased

### `influx` CLI moved to separate repository

The `influx` CLI has been moved to its [own GitHub repository](https://github.com/influxdata/influx-cli/). Release artifacts
produced by `influxdb` are impacted as follows:

* Release archives (`.tar.gz` and `.zip`) no longer contain the `influx` binary.
* The `influxdb2` package (`.deb` and `.rpm`) no longer contains the `influx` binary. Instead, it declares a recommended
dependency on the new `influx-cli` package.
* The `quay.io/influxdb/influxdb` image no longer contains the `influx` binary. Users are recommended to migrate to the
`influxdb` image hosted in DockerHub.

With this change, versions of the `influx` CLI and `influxd` server are not guaranteed to exactly match. Please use
`influxd version` or `curl <your-server-url>/health` when checking the version of the installed/running server.

### Go Version

This release upgrades the project to `go` version 1.16.
Expand Down

0 comments on commit eeeb886

Please sign in to comment.