Commit Graph

15 Commits

Author SHA1 Message Date
Quentin Dufour
cd5fa90c68
Configure structopt to report the right version
By default, structopt reports the value provided by
the env var CARGO_PKG_VERSION, feeded by Cargo when reading
Cargo.toml. However for Garage we use a versioning based on git,
so we often report a version that is behind the real version.
In this commit, we create garage_util::version::garage() that
reports the right version and configure all structopt subcommands
to call this function instead of using the env var.
2022-08-29 17:54:03 +02:00
Quentin Dufour
40a140bd20
Run clippy in nix, leveraging nix caching ability 2022-08-29 17:47:16 +02:00
Quentin Dufour
71d4cf42f1
Refactor default.nix to follow Nix Flakes patterns 2022-08-29 17:46:51 +02:00
Quentin Dufour
ac98769009
Bump Nix image to 22.05 2022-08-29 17:46:50 +02:00
Quentin Dufour
90a57fbc7e
Put log-lines in nix.conf 2022-08-29 17:46:16 +02:00
Quentin Dufour
0529f3c34d Patch cargo2nix openssl override 2022-03-17 12:17:38 +01:00
Quentin Dufour
2a3afcaf65 Test WinSCP 2022-03-03 14:29:10 +01:00
Quentin Dufour
5d19f3d2d7
Add integration tests to Drone 2022-02-10 17:55:50 +01:00
Quentin Dufour
084dcdbd3a
Upgrade cargo2nix 2022-02-10 17:55:50 +01:00
Quentin Dufour
6f7ef11537 Generate and upload a JSON result 2022-02-05 22:09:43 +01:00
Alex Auvolat
241db1e1f5 Add URL field to JSON builds 2022-02-05 22:09:43 +01:00
Quentin Dufour
ecd76977ea Generate JSON build description 2022-02-05 22:09:43 +01:00
Quentin Dufour
93f8d59e4c
Extract toolchain build from the CI 2021-10-29 11:34:01 +02:00
Quentin Dufour
cc1caa87fb
Use Rust binaries from Nix instead of rustup 2021-10-29 11:34:01 +02:00
Quentin Dufour
dc017a0cab
Build Garage with Nix 2021-10-19 16:56:07 +02:00