Commit Graph

10 Commits

Author SHA1 Message Date
Oliver Gould 32d8c76511
Update to dev:v32 with Rust 1.64.0 (#9675)
https://github.com/linkerd/dev/pull/10

Signed-off-by: Oliver Gould <ver@buoyant.io>
2022-10-21 10:28:00 -07:00
Oliver Gould 695f843914
Update to Rust 1.63 (#9196)
Also, restore the go-lint timeout (10m)

Signed-off-by: Oliver Gould <ver@buoyant.io>
2022-08-17 16:27:27 -07:00
Oliver Gould 6adcf81625
ci: Use devcontainer tooling in CI (#8925)
Our devcontainers pin versions of all of the tools we need to build &
test the project, but these tools are not necessarily kept in sync with
those in our devcontainer.

This change introduces new variants of our devcontainer image that can
be pre-bundled with Go or Rust tooling (with fairly minimal container
images). Various CI workflows are updated to use the same tooling
versions that are used by our devcontainer, and a CI workflow is added
to ensure that these versions stay in sync. Some workflows are NOT
updated--especially those that invoke `docker`--since the docker
environment is severely limited when running inside of a container.

Furthermore, this change does the following:

* Update shellcheck to v0.8.0;
* Update `bin/shellcheck-all` to exclude irrelevant files (that are not
  part of the project);
* Add `helm` and `helm-docs` to the devcontainer;
* Update `helm` to v3.9.1
* Update `helm-docs` to v1.11.0
* Include tools like `just`, `cargo-action-fmt`, and `cargo-nextest` in
  our Rust image
* Add a `just` recipe that builds (and optionally publish) the
  appropriate devcontainer images

Signed-off-by: Oliver Gould <ver@buoyant.io>
2022-07-27 09:54:39 -07:00
Oliver Gould 698c0593c6
dev: Update build tooling (#8883)
* rust v1.62.0
* golangci-lint v1.46.2
* k3d v5.4.4
* just 1.2.0
* cargo-nextest v0.9.24

Furthermore, the build will update the development Go version to the
latest v1.17 release.

Signed-off-by: Oliver Gould <ver@buoyant.io>
2022-07-14 08:27:44 -07:00
Oliver Gould 4f9344886c
Update to Rust v1.60 (#8286)
Signed-off-by: Oliver Gould <ver@buoyant.io>
2022-04-19 14:25:54 -07:00
Oliver Gould 7d484529fa
Update Rust to v1.59.0 (#7964)
Signed-off-by: Oliver Gould <ver@buoyant.io>
2022-02-25 09:25:19 -08:00
Oliver Gould f33bb7beed
Add a devcontainer configuration (#7583)
VS Code [devcontainers][dc] provide a way to define a reproducible,
customizable developer environment. This should lower the barrier to
entry for contributors and reduce the maintenance burden for existing
developers, as a docker daemon is now basically all that's needed to get
up and running.

This change adds a devcontainer for the Linkerd2 project. Its container
starts in the host's network so that it can easily access k3d clusters
running on the host's docker daemon.

[dc]: https://code.visualstudio.com/docs/remote/containers

Signed-off-by: Oliver Gould <ver@buoyant.io>
2022-01-11 14:38:18 -08:00
Oliver Gould 5cbad1fdb4
Update Rust to v1.56.0 (#7136)
Adopt the [2021 edition][ed2021].

[ed2021]: https://doc.rust-lang.org/edition-guide/rust-2021/index.html
2021-10-22 09:40:53 -07:00
Oliver Gould d10344423b
Update to Rust 1.55.0 (#6855) 2021-09-10 06:21:41 -07:00
Oliver Gould 867da52d99
Create a top-level Cargo workspace (#6845)
Various development tools (including Rust Analyzer and some reusable
actions) expect the root of the project to define a Cargo workspace.

In order to work more naturally with these tools, this change moves the
`Cargo.lock`, `rust-toolchain`, and `deny.toml` files to the root of the
project. A `Cargo.toml` is factored out of `policy-controller` to define
the top-level workspace.
2021-09-09 14:49:42 -07:00