-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1315 from dlorenc/influxcli
Add influx cli package.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package: | ||
name: influx | ||
version: 2.7.1 | ||
epoch: 0 | ||
description: CLI for managing resources in InfluxDB v2 | ||
copyright: | ||
- license: MIT | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- ca-certificates-bundle | ||
- busybox | ||
- go | ||
- build-base | ||
- git | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/influxdata/influx-cli | ||
tag: v${{package.version}} | ||
expected-commit: 401f3a40326616d5b5f32e814db0248982f557f5 | ||
|
||
- runs: | | ||
# Mitigate GHSA-69ch-w2m2-3vjp | ||
go get golang.org/x/[email protected] | ||
go mod tidy | ||
# Our global LDFLAGS conflict with a Makefile parameter | ||
unset LDFLAGS | ||
make | ||
mkdir -p ${{targets.destdir}}/usr/bin | ||
mv bin/linux/$(go env GOARCH)/influx ${{targets.destdir}}/usr/bin/influx | ||
- uses: strip | ||
|
||
update: | ||
enabled: true | ||
github: | ||
identifier: influxdata/influx-cli | ||
strip-prefix: v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -530,6 +530,7 @@ cortex | |
rpcsvc-proto | ||
protoc-gen-go | ||
influxd | ||
influx | ||
chartmuseum | ||
protoc-gen-go-grpc | ||
libtraceevent | ||
|