14 Commits

Author SHA1 Message Date
Jeffrey Smith II
a187815d88
chore: make sure .exe is on windows builds (#500)
* chore: make sure .exe is on windows builds

* chore: make sure .exe is on windows builds
2023-04-20 12:59:47 -04:00
Brandon Pfeifer
1164ca57ff
chore: use fpm for packaging (#476)
* chore: remove goreleaser configuration and scripts

* chore: replace goreleaser with fpm

goreleaser handled signing and uploading packages. So, that
functionality had to be implemented here as well.
2023-03-01 17:26:34 -05:00
Dane Strandboge
85c690f1f1
chore: add checkgenerate test to lint (#404) 2022-06-23 10:07:38 -05:00
Jamie Strandboge
2d1f3ee3bc
build: allow specifying -gcflags via env (#267)
Make targets may call '$(GO_BUILD)', but there is no facility for
specifying arguments to 'go build'. As a first step, introduce the
GCFLAGS Makefile variable that when unset, operates as always, but when
set, adds '-gcflags "$(GCFLAGS)"' to go build. Eg, when unspecified,
maintain the current behavior (though with an additional space):

$ make
CGO_ENABLED=0 go build  -ldflags ...

When specified, add the specified -gcflags:

$ GCFLAGS="all=-N -l" make
CGO_ENABLED=0 go build -gcflags "all=-N -l" -ldflags ...

This could be useful in various situations such as producing unoptimized
builds (like in the above).
2021-09-14 11:35:45 -04:00
Daniel Moran
c0103e7b1b
build: fix make fmt, reformat test sources (#234) 2021-08-20 15:26:00 -04:00
Daniel Moran
10c17ec661
build: upgrade staticcheck to latest version (#224) 2021-08-04 14:54:53 -04:00
Daniel Moran
ef4bdcb9b1
build: set up nightly & tagged release jobs (#188) 2021-07-16 17:17:43 -04:00
Daniel Moran
581daaa5ba
build: run tests natively on ARM, Mac, and Windows in CI (#111) 2021-06-14 10:36:35 -04:00
Daniel Moran
4981b6742e
build: set up goreleaser for release (cross-)builds (#101) 2021-05-22 21:21:44 -04:00
Daniel Moran
d995f7d182
test: replace hand-written mocks with gomock (#63) 2021-05-06 10:19:41 -04:00
Daniel Moran
f95668ada6
refactor: improve codegen to support influx query rewrite (#60)
* build: add goimports to fmt target to remove unused imports
* feat: update codegen template to support returning raw response body
* feat: add support for gunzip-ing response bodies
* refactor: remove unused piece from codegen return values
2021-05-05 10:30:22 -04:00
Daniel Moran
4f62e469e9
refactor: switch to OpenAPITools's generator for our HTTP clients (#33)
* build: add CI job to check OpenAPI generation is clean
* feat: add hidden flag for HTTP debug
2021-04-16 17:16:58 -04:00
Daniel Moran
ca8a5c5364
feat: implement ping command (#31)
* build: use deepmap/oapi-codegen to generate an HTTP client
* feat: add global CLI options
* feat: load local config to find host and token
* feat: implement ping command
* test: add unit tests for ping command
2021-04-14 09:31:21 -04:00
Daniel Moran
8c062cacf0
feat: set up project skeleton for new CLI (#1)
* docs: fill in README
* feat: initial setup of CLI, with help + version commands
* build: add linters and Makefile
* build: add initial CircleCI workflow
2021-04-12 13:39:09 -04:00