Commit graph

43 commits

Author SHA1 Message Date
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
d47af7b173
drone: set TARGET env as needed by "to_s3" func 2022-08-29 17:48:19 +02:00
1cc0de40f0
Migrate to nix-daemon builders 2022-08-29 17:47:17 +02:00
40a140bd20
Run clippy in nix, leveraging nix caching ability 2022-08-29 17:47:16 +02:00
71d4cf42f1
Refactor default.nix to follow Nix Flakes patterns 2022-08-29 17:46:51 +02:00
ac98769009
Bump Nix image to 22.05 2022-08-29 17:46:50 +02:00
90a57fbc7e
Put log-lines in nix.conf 2022-08-29 17:46:16 +02:00
5d19f3d2d7
Add integration tests to Drone 2022-02-10 17:55:50 +01:00
3baa841d6f
tests: Fix garage integration test 2022-02-10 17:55:49 +01:00
45d6d377d2
Remove website publishing (new website is now online) 2022-02-06 09:25:04 +01:00
93f8d59e4c
Extract toolchain build from the CI 2021-10-29 11:34:01 +02:00
ada7899b24
Fix clippy lints (fix #121) 2021-10-26 10:20:05 +02:00
f6ebcbc7a7
Disable i686 and armv6l pipelines for now 2021-10-25 15:25:01 +02:00
dc017a0cab
Build Garage with Nix 2021-10-19 16:56:07 +02:00
0f9d9df83b
Update Drone signature 2021-10-11 11:46:05 +02:00
88925ebe22
add clippy to the CI 2021-05-03 22:11:37 +02:00
ef4d6e782a
Add minio & rclone to our functional tests
It is now possible to configure which clients
you do not want to test with the env variable SKIP_XXX=1,
XXX being the client name. eg. SKIP_S3CMD=1 ./script/test-smoke.sh
2021-05-02 14:59:58 +02:00
f2e1fca658
re-disable drone caches 2021-04-27 16:37:11 +02:00
640e3921d8
Use pre-prepared Docker image in CI to speed things up 2021-04-27 16:37:11 +02:00
7f1a50dbd9
Update drone CI signature 2021-04-27 16:37:11 +02:00
1273802994
use volume for cargo home
so it gets preserved between steps, and registry download is done only once
2021-04-27 16:37:11 +02:00
4af39ab47a
fix drone CI signature 2021-04-27 16:37:11 +02:00
1c97b82c45
Skip Drone CI caching 2021-04-27 16:37:11 +02:00
f7c09daa46
Try to fix Drone 2021-04-27 16:37:09 +02:00
15ae74b080
Install rustfmt 2021-04-27 16:37:09 +02:00
379af242ae
Fix Drone CI signature 2021-04-27 16:37:08 +02:00
9ced9f78dc
Improve bootstraping: do it regularly; persist peer list 2021-04-27 16:37:08 +02:00
3a449badb1
Add signature to Drone CI 2021-04-27 16:37:08 +02:00
9996dcf13e
test2 2021-04-27 16:37:08 +02:00
7bc708d71d
test 2021-04-27 16:37:08 +02:00
8501d2679a
publish website only in correct repo 2021-04-27 16:37:08 +02:00
c4cb9120fe only upload book from branch main 2021-03-19 14:29:37 +01:00
c5e24de159 Center logo in book, add book CI 2021-03-19 14:25:57 +01:00
4e94b2b704 Fix checksum path in drone CI 2021-03-19 14:15:19 +01:00
ec26acb161 try fixing CI
maybe absolute path break caching, who knows
2021-03-18 17:45:26 +01:00
8d63738cb0 Checkpoint: add merkle tree in data table 2021-03-11 13:47:21 +01:00
b5dc4d33a9 CI improvements 2021-02-17 22:13:08 +01:00
a3d9d0faac yea more gzip 2021-02-10 13:11:13 +01:00
bcf727f9c1 oops, missed a step 2021-02-10 12:54:11 +01:00
24766a0eb9 change dockerfile; add gzip caching 2021-02-10 12:53:00 +01:00
75d96bdc58 Add drone caching 2021-02-08 16:32:29 +01:00
9a8b387bb0 fix drone 2021-02-08 15:02:03 +01:00
536bbb2277 add drone.yml 2021-02-08 14:58:24 +01:00