Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel CI #295

Merged
merged 136 commits into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
Changes from 127 commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
918ba3e
WIP Bazel CircleCI
fmorency Feb 2, 2023
60ea5ce
Bazel fmt fix
fmorency Feb 2, 2023
5ab5396
.
fmorency Feb 2, 2023
c4ce0d7
.
fmorency Feb 2, 2023
8361047
.
fmorency Feb 2, 2023
fc1d027
Patch libudev-sys build script
fmorency Feb 2, 2023
c585549
.
fmorency Feb 2, 2023
3e0b23b
.
fmorency Feb 2, 2023
d82a410
.
fmorency Feb 2, 2023
73b6cb1
.
fmorency Feb 3, 2023
a8090fe
.
fmorency Feb 3, 2023
2a8f455
.
fmorency Feb 3, 2023
f0cd177
.
fmorency Feb 3, 2023
e3638c0
.
fmorency Feb 3, 2023
1b27435
.
fmorency Feb 3, 2023
9c90960
Bazel --test_env
fmorency Feb 6, 2023
238e9c6
Bazel coverage
fmorency Feb 6, 2023
2e1a755
.
fmorency Feb 7, 2023
15d42ce
.
fmorency Feb 7, 2023
42457a6
Remote cache
fmorency Feb 7, 2023
7d0ede7
many-rs Bazel release
fmorency Feb 7, 2023
e32d39b
.
fmorency Feb 7, 2023
aa85de7
.
fmorency Feb 7, 2023
4857923
.
fmorency Feb 7, 2023
81f8041
.
fmorency Feb 7, 2023
a02dfb2
Bats
fmorency Feb 8, 2023
d331e74
wip
fmorency Feb 8, 2023
0b83953
.
fmorency Feb 8, 2023
0f3b14d
.
fmorency Feb 8, 2023
37c61d3
.
fmorency Feb 8, 2023
d874b0d
.
fmorency Feb 8, 2023
1897afc
.
fmorency Feb 9, 2023
d9202a0
.
fmorency Feb 9, 2023
3258e9f
.
fmorency Feb 9, 2023
418b348
.
fmorency Feb 9, 2023
b983306
.
fmorency Feb 9, 2023
51db5f5
.
fmorency Feb 9, 2023
d0825b2
.
fmorency Feb 9, 2023
c650e01
.
fmorency Feb 9, 2023
dff85f6
.
fmorency Feb 9, 2023
02a3fdd
Limit jobs
fmorency Feb 9, 2023
4a39949
test macos
fmorency Feb 9, 2023
b81c250
.
fmorency Feb 9, 2023
7af7b15
.
fmorency Feb 9, 2023
7cdf4ad
.
fmorency Feb 9, 2023
cce0d0e
.
fmorency Feb 9, 2023
db24557
.
fmorency Feb 9, 2023
38cb0c5
.
fmorency Feb 9, 2023
37a3ad3
.
fmorency Feb 9, 2023
52ed177
test nightly
fmorency Feb 9, 2023
67979cb
.
fmorency Feb 9, 2023
53ead22
.
fmorency Feb 9, 2023
7ec72fa
Test Docker build without pushing
fmorency Feb 9, 2023
07097d6
.
fmorency Feb 9, 2023
ded7931
.
fmorency Feb 9, 2023
df4a0f4
.
fmorency Feb 9, 2023
5fbe743
.
fmorency Feb 9, 2023
fc0e258
.
fmorency Feb 9, 2023
0ca9c28
.
fmorency Feb 9, 2023
71c1e35
.
fmorency Feb 9, 2023
684e791
.
fmorency Feb 9, 2023
effe9bd
Merge remote-tracking branch 'origin/main' into bazel-ci
fmorency Feb 13, 2023
3fe9913
Remove bash privileged mode
fmorency Feb 13, 2023
2d9ce4f
.
fmorency Feb 13, 2023
e15b40b
.
fmorency Feb 13, 2023
e9aeb1d
.
fmorency Feb 13, 2023
abd066a
.
fmorency Feb 13, 2023
8e24545
.
fmorency Feb 13, 2023
7aa105c
Nuke Nix. Use Bazel.
fmorency Feb 13, 2023
9e95035
.
fmorency Feb 13, 2023
62a6c51
.
fmorency Feb 13, 2023
4b31f88
.
fmorency Feb 13, 2023
117f710
.
fmorency Feb 13, 2023
25a4e6d
.
fmorency Feb 13, 2023
2ee0594
.
fmorency Feb 13, 2023
c7c4515
.
fmorency Feb 13, 2023
328cf20
.
fmorency Feb 13, 2023
78e0830
.
fmorency Feb 14, 2023
2948589
.
fmorency Feb 14, 2023
fa435dd
.
fmorency Feb 14, 2023
87c6603
.
fmorency Feb 14, 2023
d438ff1
Faster bats tests
fmorency Feb 14, 2023
9e3eb70
.
fmorency Feb 14, 2023
8f8bbb2
.
fmorency Feb 14, 2023
b219e72
Bazel + Bats
fmorency Feb 14, 2023
40dd87f
.
fmorency Feb 14, 2023
f7be526
.
fmorency Feb 14, 2023
c81030a
PoC Bats resiliency tests
fmorency Feb 15, 2023
190355a
.
fmorency Feb 15, 2023
aff1ef1
.
fmorency Feb 15, 2023
0ffec7c
.
fmorency Feb 15, 2023
ffb1bed
.
fmorency Feb 15, 2023
a7f2db1
.
fmorency Feb 15, 2023
3c028f5
.
fmorency Feb 15, 2023
ac6b33a
.
fmorency Feb 15, 2023
9d5e11c
.
fmorency Feb 15, 2023
2bbb193
.
fmorency Feb 15, 2023
cb18c25
.
fmorency Feb 16, 2023
58722da
.
fmorency Feb 16, 2023
407ad42
.
fmorency Feb 16, 2023
0cd6783
.
fmorency Feb 16, 2023
82072f1
.
fmorency Feb 16, 2023
cf9d2e6
.
fmorency Feb 16, 2023
f8e02b4
.
fmorency Feb 16, 2023
651318d
.
fmorency Feb 16, 2023
6c52a70
.
fmorency Feb 16, 2023
26375a7
.
fmorency Feb 16, 2023
8add9fb
.
fmorency Feb 16, 2023
1c68d2d
.
fmorency Feb 16, 2023
d7ba705
.
fmorency Feb 16, 2023
3e982cd
.
fmorency Feb 16, 2023
d0336b0
.
fmorency Feb 16, 2023
c01a36f
.
fmorency Feb 16, 2023
1ad0b18
Run make rule, cleanup
fmorency Feb 17, 2023
ae0fd57
.
fmorency Feb 17, 2023
6f4e5a0
Cleanup
fmorency Feb 17, 2023
e033597
.
fmorency Feb 17, 2023
8d55a0d
.
fmorency Feb 17, 2023
aee6a92
.
fmorency Feb 17, 2023
f0acebc
.
fmorency Feb 17, 2023
48a8563
.
fmorency Feb 17, 2023
d302ae2
.
fmorency Feb 17, 2023
b38c8cc
.
fmorency Feb 17, 2023
36ba208
Merge remote-tracking branch 'origin/main' into bazel-ci
fmorency Feb 17, 2023
e461e26
.
fmorency Feb 17, 2023
eaaa48b
.
fmorency Feb 17, 2023
4cf3e2b
.
fmorency Feb 17, 2023
7bd5afa
Update docker/.gitignore
fmorency Feb 21, 2023
9e28d82
Update third_party/cargo/patches/BUILD
fmorency Feb 21, 2023
5017a3c
Update tests/test_helper/many.bash
fmorency Feb 21, 2023
a405e9d
Fix from review
fmorency Feb 21, 2023
4c7620d
.
fmorency Feb 21, 2023
72810b7
.
fmorency Feb 21, 2023
bb71d6d
.
fmorency Feb 21, 2023
6ac5c97
.
fmorency Feb 21, 2023
621f8ed
Merge branch 'main' into bazel-ci
fmorency Feb 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Taken from the Bazel `rules_rust` Github repository
build --@rules_rust//rust/toolchain/channel=nightly

# Feature flag alias
build --flag_alias=balance_testing=//src/many-ledger:balance_testing
build --flag_alias=migration_testing=//src/many-ledger:migration_testing
build --flag_alias=webauthn_testing=//src/many-ledger:webauthn_testing
build --flag_alias=disable_token_sender_check=//src/many-ledger:disable_token_sender_check

build:all-features --balance_testing --migration_testing --webauthn_testing --disable_token_sender_check

run:bats-resiliency-ledger --balance_testing --migration_testing

# Enable rustfmt for all targets in the workspace
build:rustfmt --aspects=@rules_rust//rust:defs.bzl%rustfmt_aspect
build:rustfmt --output_groups=+rustfmt_checks
Expand All @@ -13,6 +23,14 @@ build:clippy --output_groups=+clippy_checks
build:rust-analyzer @rules_rust//tools/rust_analyzer:gen_rust_project
run:rust-analyzer @rules_rust//tools/rust_analyzer:gen_rust_project

# Use BuildBuddy cache without any account
build:remote-cache --bes_results_url=https://app.buildbuddy.io/invocation/
build:remote-cache --bes_backend=grpcs://remote.buildbuddy.io
build:remote-cache --remote_cache=grpcs://remote.buildbuddy.io
build:remote-cache --remote_timeout=3600
build:remote-cache --experimental_remote_cache_compression
build:remote-cache --experimental_remote_build_event_upload=minimal

# This import should always be last to allow users to override
# settings for local development.
try-import %workspace%/user.bazelrc
Expand Down
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.0.0
Loading