5efcdc0de3
Update rust toolchain to 1.68 and simplify Nix stuff
continuous-integration/drone Build is passing
2023-04-25 14:46:47 +02:00
f251b4721f
Apply nixfmt to all .nix files; fix devshell and add it to cache
continuous-integration/drone/push Build is passing
2023-01-26 12:25:48 +01:00
e76dba9561
Make repository into a Nix flake
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-16 23:25:34 +01:00
002b9fc50c
Add TLS support for Consul discovery + refactoring
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-18 18:38:20 +02:00
667ca9d3e3
Cleanup nix scripts
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-10-18 12:48:31 +02:00
e89e047c5a
Fix i386 build with custom toolchain (armv6 unknown state)
2022-10-14 18:10:24 +02:00
8d04ae7014
cargo2nix unstable (patched), rust 1.63.0, nixpkgs 22.05 (32-bit builds are broken)
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build is failing
2022-10-14 14:30:48 +02:00
e89f880694
Enable k2v feature flag in CI
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-09-20 17:54:41 +02:00
782630fc27
Initialize metrics exporter earlier ( fix #389 )
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-20 17:50:22 +02:00
f310fce34b
Inject GIT_VERSION even later
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-07 18:30:15 +02:00
db61f41030
Move GIT_VERSION injection later in build chain to reduce build times
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-09-07 11:59:56 +02:00
2c2b93acdf
Update Nix files with optional db engines
continuous-integration/drone/push Build is pending
continuous-integration/drone/pr Build is pending
2022-09-06 17:20:10 +02:00
7de53a4d66
Force disable pkg-config for libsodum-sys and libzstd-sys
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-09-06 16:41:58 +02:00
8d77a76df1
Update .nix files
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-09-06 15:49:41 +02:00
2c7bae935a
Configure structopt to report the right version
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/tag Build is passing
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
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-11 10:21:45 +02:00
fcb04843f7
Run clippy in nix, leveraging nix caching ability
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-07-26 18:27:52 +02:00
5fb8584247
Refactor default.nix to follow Nix Flakes patterns
2022-07-26 18:27:52 +02:00