gotestsum has been added to the Docker image in https://github.com/gravitational/teleport/pull/29862 Unfortunately, devbox failed to rebuild the image due to a bug in devbox that has been fixed in 0.5.8.
This PR re-adds the gotestsum to devbox and upgrades the version used in the CI.
The devbox install action will be used instead of our custom devbox install.
This will ensure caching is used, speeding up this process.
Additionally, the following have been updated:
- buf -> 1.23.1.
- go -> 1.20.5
- clang -> 14.0.6
Finally, packages have been migrated to regular devbox syntax where possible.
Looks like the latest version v0.5.5 of devbox started complaining about our `devbox.json`. I applied the recommended changes which seems to solve the issue.
* Make devbox sandbox friendly, add devbox CI.
The devbox is now sandbox friendly, and devbox CI has been added to ensure
that any changes to Devbox are properly validated.
* Install correct binary name for node protoc plugin.
* Add in zlib to support LIBFIDO compilation.
* Speed up yarn install, set GOROOT to nix go.
Yarn is now being installed via yarn's generic install script, which seems
to be much faster than the corresponding nix package. Additionally, the GOROOT
environment variable is being properly set to the nix's go installation.
* Unset goroot instead of trying to set it.
* Initial devbox.
As devbox has added in version pinning, it seems like a viable way for
maintaining consistent tooling across devboxes. This is an initial pass
at using devbox in Teleport.
* Use latest git/bash, use clang instead of gcc.
* Add in TELEPORT_DEVBOX env variable for future use.
* Alphabetize and add in gotestsum.
* Remove gotestsum.
* Bump golangci-lint to 1.53.2
* Make sure libbpf works in linux.
* Add in notes to update devbox.json, add in a few more dependencies to devbox.json.
* Remove extraneous comments in Dockerfile, add in README.md blurb.