Commit graph

11 commits

Author SHA1 Message Date
Michael Wilson c20d5b3c40
Update devbox.lock. (#32509)
The devbox.lock has been updated to account for the most recent version of
devbox.
2023-09-26 08:02:04 +00:00
Alan Parra dc46f6f589
Pin golangci-lint and buf versions (#31300)
* Pin golangci-lint to v1.54.2

* Pin Buf to v1.26.1

* Pin devbox
2023-08-31 20:41:26 +00:00
Michael Wilson 1661462872
chore: Bump devbox go to 1.21.0. (#31144)
* Bump devbox go to 1.21.0.

go on the devbox has been bumped to 1.21.0.

* Add in lock.
2023-08-29 18:40:56 +00:00
Grzegorz Zdunek 8d6b0d625c
Upgrade Node.js to v18 (#30985)
* Remove Node from CentOS Dockerfiles

* Take Node version from Makefile in GHA

* Update Node to 18.17.1
2023-08-28 09:55:42 +00:00
Alan Parra 55eb8bd345
Move most devbox packages to "latest" (#30295)
* Fix init_hook for Fish users

* Move development tools to "latest"

* Use Buf and OpenSSL formulas

* Use rust and yarn formulas

* Bump Go version

* Update lock files
2023-08-10 20:47:57 +00:00
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