diff --git a/influx.yaml b/influx.yaml new file mode 100644 index 00000000000..447e998968f --- /dev/null +++ b/influx.yaml @@ -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/text@v0.3.8 + 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 diff --git a/packages.txt b/packages.txt index 55b82eba6c3..b74fb8b1ad6 100644 --- a/packages.txt +++ b/packages.txt @@ -530,6 +530,7 @@ cortex rpcsvc-proto protoc-gen-go influxd +influx chartmuseum protoc-gen-go-grpc libtraceevent