84 Commits

Author SHA1 Message Date
Maksim Nabokikh bcc2283694 feat: enhance test commands to support GitHub Actions formatting (#4575)
With the number of tests growing, it is harder and harder to find errors in the test output. Gotestsum is a well-known runner for tests helping to format the output fot both local runs and GitHub Actions.

Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2026-02-23 15:34:51 +01:00
Maksim Nabokikh ad3a83ebcf build(gomplate): update gomplate version to v5.0.0 and add update script (#4542)
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2026-02-15 16:23:38 +01:00
Mark Sagi-Kazar 26accba6b1 ci: update linter
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2025-08-18 14:21:00 +02:00
Ethan Dieterich 246fa79967 Makefile: Do not export SHELL
The intent for exporting the SHELL variable is to ensure that all
Makefile target comands are run with the amended PATH value that is
set via the "export PATH := ..." directive.

However, exporting PATH value is all that is necessary to ensure that
all target commands run with the amended PATH.  It is not necessary to
*also* export a SHELL command that explicitly sets the PATH value.

Specifically: setting SHELL to use "env" to set the PATH environment
variable gets difficult if the PATH includes whitespace.  make's
assignment right hand side parsing does not treat quotes as delimiters
of tokens.  For example, the following directive in a Makefile results
in the FOO variable having 3 tokens, not 2:

FOO := bar "baz yow"

Therefore, achieving the overall goal of amending the PATH for all
Makefile target commands -- even if the PATH includes whitespace -- is
best achieved simply by not exporting the SHELL.

Signed-off-by: Ethan Dieterich <ethandieterich@gmail.com>
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2025-03-06 12:09:25 -05:00
Mark Sagi-Kazar 76de7b3920 build: update Go to 1.24
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2025-02-18 13:03:54 +01:00
Mark Sagi-Kazar d066d8eabb build: update Go version
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2025-01-09 15:22:50 +01:00
Mark Sagi-Kazar 0537d5ba11 chore: update tool versions
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2024-02-27 14:10:58 +01:00
Maksim Nabokikh 85d4261aa9 Bump dependencies ent v0.12.5, protobuf v1.32.0 (#3249)
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2023-12-28 12:44:03 +01:00
Maksim Nabokikh 82b090ff43 Bump golangci-lint 1.55.2 (#3232)
Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2023-12-22 11:32:42 +01:00
Marco Franssen 47a0e067a1 Utilize native git diff feature (#2981)
This `--exit-code` option does exactly what the script is doing

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-06 19:40:25 +04:00
Mark Sagi-Kazar ba8fa1f2d7 chore: upgrade tools
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2023-03-20 12:29:09 +01:00
Mark Sagi-Kazar d12a1fc687 update linter
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2023-03-18 14:27:45 +01:00
m.nabokikh 7667a61444 fix: Run go mod tidy last (fix verify command)
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2023-03-13 21:37:17 +01:00
m.nabokikh 96637cf0f7 feat: Bump dependencies and Makefile refactoring
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2023-03-04 19:14:45 +01:00
Maksim Nabokikh 5d7850eae5 feat: Verify generated files (#2833)
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2023-02-26 04:32:52 +04:00
Daniel Lipovetsky 07d7913049 chore: Upgrade golangci-lint to v1.50.1 from v1.46.0 (#2790) 2023-01-19 22:14:58 +01:00
Mark Sagi-Kazar 1736f95024 chore: upgrade linter
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2022-05-25 10:58:20 +02:00
Mark Sagi-Kazar 102762062b build: only build static release binaries
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2022-02-08 23:55:31 +01:00
Márk Sági-Kazár 75c27c8dba Merge pull request #2378 from ankeesler/akeesler/distroless
distroless: Dockerfile works with distroless base image
2022-02-08 21:56:25 +01:00
m.nabokikh 254165d665 chore: update golangci-lint download script
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-01-31 22:33:38 +04:00
Andrew Keesler 0394bf8cea distroless: Dockerfile works with distroless base image
I can build this via:
  docker build --build-arg BASEIMAGE=gcr.io/distroless/static:latest -t andrew:distroless .

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2022-01-18 19:40:28 -05:00
Andrew Keesler 764ce711b6 distroless: rewrite docker-entrypoint.sh in go
See go doc ./cmd/docker-entrypoint for why.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2022-01-18 19:18:43 -05:00
Mark Sagi-Kazar e875745ee0 chore: add kind to the tooling
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 14:46:33 +01:00
Mark Sagi-Kazar f45fe6d0c1 refactor: tool dependency download
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 14:11:38 +01:00
Mark Sagi-Kazar 054e397177 refactor: remove unused proto scripts
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 14:11:38 +01:00