Skip to content

Commit

Permalink
Merge pull request #1315 from dlorenc/influxcli
Browse files Browse the repository at this point in the history
Add influx cli package.
  • Loading branch information
rawlingsj authored Apr 15, 2023
2 parents edeff3e + d1344fc commit 0b17a8f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
42 changes: 42 additions & 0 deletions influx.yaml
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
1 change: 1 addition & 0 deletions packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ cortex
rpcsvc-proto
protoc-gen-go
influxd
influx
chartmuseum
protoc-gen-go-grpc
libtraceevent
Expand Down

0 comments on commit 0b17a8f

Please sign in to comment.