Commit graph

6 commits

Author SHA1 Message Date
Jakub Nyckowski 0b714c5c54
Add gotestsum to devbox (#29873)
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.
2023-08-01 22:09:57 +00:00
Michael Wilson 2c27a77931
Use the devbox install action, update devbox packages. (#28616)
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.
2023-07-14 23:58:13 +00:00
Jakub Nyckowski b37a8b5240
Devbox update - fix legacy warning (#28168)
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.
2023-06-23 13:32:35 +00:00
Michael Wilson cb84fbf564
Make devbox sandbox friendly, add devbox CI. (#27728)
* 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.
2023-06-14 20:58:45 +00:00
Michael Wilson cb493019bb
[devbox] Speed up yarn install, unset GOROOT. (#27664)
* 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.
2023-06-12 13:01:18 +00:00
Michael Wilson 90c98c38fd
Initial devbox. (#27373)
* 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.
2023-06-08 16:03:39 +00:00