Commit Graph

35 Commits (main)

Author SHA1 Message Date
Florian Klink 79ca8e76a4 nix/common.nix: use pattern from nix-community/flake-compat
continuous-integration/drone/pr Build is passing Details
This is still a bit confusing, as normally the flake.defaultNix attrset
gets exposed via a top-level default.nix, but at least it brings us
closer to that.
2 months ago
Alex 5efcdc0de3 Update rust toolchain to 1.68 and simplify Nix stuff
continuous-integration/drone Build is passing Details
5 months ago
Alex f251b4721f Apply nixfmt to all .nix files; fix devshell and add it to cache
continuous-integration/drone/push Build is passing Details
8 months ago
Alex e76dba9561
Make repository into a Nix flake
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
10 months ago
Alex 002b9fc50c
Add TLS support for Consul discovery + refactoring
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
11 months ago
Alex 667ca9d3e3
Cleanup nix scripts
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/pr Build was killed Details
11 months ago
Alex 00cf076412
Fix cargo2nix feature discovery
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
11 months ago
Alex e89e047c5a
Fix i386 build with custom toolchain (armv6 unknown state) 12 months ago
Alex 8d04ae7014
cargo2nix unstable (patched), rust 1.63.0, nixpkgs 22.05 (32-bit builds are broken)
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is failing Details
12 months ago
Alex 2197753dfd Merge pull request 'Add step to generate multi-arch Docker container in CI' (#393) from multi-arch-container into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #393
1 year ago
Alex d104ae8711
Add step to generate multi-arch Docker container in CI
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone Build is passing Details
1 year ago
Alex e89f880694
Enable k2v feature flag in CI
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
1 year ago
Alex 782630fc27
Initialize metrics exporter earlier (fix #389)
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
1 year ago
Alex 7f54706b95
Merge branch 'lx-perf-improvements' into netapp-stream-body
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
1 year ago
Alex f310fce34b
Inject GIT_VERSION even later
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
1 year ago
Alex db61f41030
Move GIT_VERSION injection later in build chain to reduce build times
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
1 year ago
Alex 2c2b93acdf
Update Nix files with optional db engines
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
1 year ago
Alex 7de53a4d66
Force disable pkg-config for libsodum-sys and libzstd-sys
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
1 year ago
Alex 8d77a76df1
Update .nix files
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
1 year ago
Alex 5d065b8a0f
cargo2nix fix to fetchCrateGit
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
1 year ago
Quentin 2c7bae935a
Configure structopt to report the right version
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/tag Build is passing Details
continuous-integration/drone Build is passing Details
continuous-integration/drone/push Build is passing Details
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.
1 year ago
Quentin fcb04843f7
Run clippy in nix, leveraging nix caching ability
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
1 year ago
Quentin 5fb8584247
Refactor default.nix to follow Nix Flakes patterns 1 year ago
Quentin 96561c48a1
Bump Nix image to 22.05 1 year ago
Quentin 9c9e483375
Put log-lines in nix.conf 1 year ago
Quentin 0529f3c34d Patch cargo2nix openssl override
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone Build is passing Details
continuous-integration/drone/push Build is passing Details
2 years ago
Quentin 2a3afcaf65 Test WinSCP
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2 years ago
Quentin 5d19f3d2d7
Add integration tests to Drone 2 years ago
Quentin 084dcdbd3a
Upgrade cargo2nix 2 years ago
Quentin 6f7ef11537 Generate and upload a JSON result
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2 years ago
Alex 241db1e1f5 Add URL field to JSON builds 2 years ago
Quentin ecd76977ea Generate JSON build description 2 years ago
Quentin 93f8d59e4c
Extract toolchain build from the CI
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2 years ago
Quentin cc1caa87fb
Use Rust binaries from Nix instead of rustup 2 years ago
Quentin dc017a0cab
Build Garage with Nix
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone Build is passing Details
continuous-integration/drone/push Build is passing Details
2 years ago