40 Commits

Author SHA1 Message Date
Roman Lebedev
6380373800
Deb PPA: change how we produce README 2025-09-26 23:59:44 +03:00
Roman Lebedev
d13164cb1f
Deb PPA: some more cleanup in buildd job 2025-09-25 23:40:25 +03:00
Roman Lebedev
d21d263698
Deb PPA: run qemu on all threads, not just one 2025-09-25 21:50:53 +03:00
Roman Lebedev
c4b4cb66ec
deb PPA: re-enable trixie
As noted in IRC, one could use a custom-compiled newer kernel,
so it's useful to still provide tools for the dist.

But disable autopkgtest, since dkms is not usable out-of-the-box.
2025-09-25 20:03:07 +03:00
Roman Lebedev
b6475f7ee9
Debian / PPA: add autopkgtests, run them for debian amd64 jobs
These tests require qemu, and it's somewhat tricky,
i haven't quite figured out the incantation
that works for Github's aarch64 workers.

I'm also unsure how to make them work for ubuntu builds.

Since debian stable's kernel is too old, as discussed,
i'm disabling PPA for it.
2025-09-24 22:54:26 +03:00
Kent Overstreet
fb0c7d250d fixup! tweak debian repo readme 2025-09-23 15:41:04 -04:00
Roman Lebedev
47794b5f29
Deb PPA: unbreak publish job (it was the backticks), and reorder some lines 2025-09-23 13:30:07 +03:00
Kent Overstreet
23313f0f69 tweak debian repo readme
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-21 13:25:10 -04:00
Roman Lebedev
97a7748c35
CI: debian pkgs: re-disable publish job for PR's 2025-09-21 20:03:29 +03:00
Roman Lebedev
e61199c01f
CI: unbreak debian pkg builds for PR's 2025-09-21 19:58:23 +03:00
Roman Lebedev
931678d4aa
apt repo readme: suggest releases by default 2025-09-21 19:45:31 +03:00
Roman Lebedev
2f0b52bf85
apt repo readme: mention pinning 2025-09-21 19:45:31 +03:00
Roman Lebedev
9674212ba6
More Debian / Ubuntu / PPA stuff
Signed-off-by: Roman Lebedev <lebedev.ri@gmail.com>
2025-09-19 08:02:34 +03:00
Roman Lebedev
a235493c29
Github actions: don't try to attest PR builds, not allowed by GitHub 2025-09-18 04:57:04 +03:00
Roman Lebedev
be615fc6d7
APT Readme: use different sentinels in nested cat blocks
Sorry about that...

Signed-off-by: Roman Lebedev <lebedev.ri@gmail.com>
2025-09-18 02:22:27 +03:00
Roman Lebedev
1b560a9a35
deb repo: actually provide usable instructions in README
Signed-off-by: Roman Lebedev <lebedev.ri@gmail.com>
2025-09-18 02:03:51 +03:00
Kent Overstreet
1bf97bb2de drop bcachefs-tools-deb workflow
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 00:56:44 -04:00
Roman Lebedev
a06a4bb5ea
debian package vendoring and PPA 2025-09-16 20:49:02 +03:00
Kent Overstreet
6f9d09aaf3 kill ubuntu 22.04 build
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 11:56:42 -04:00
Thomas Mühlbacher
ea5bdadabd chore(nix): structure github CI nix flake checks
Makes it way easier to identify CI failures for people who try to use
github for contributions.

Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-03-31 12:54:46 -04:00
Alexander Fougner
088e17a54a ci: bump upload-artifact action
Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2024-07-17 11:24:07 +02:00
Alexander Fougner
f8d6a67db0 ci: fix build for older debian deps
also drop ubuntu 20.04 from build matrix, include 24.04 instead which
is soon to go stable.

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2024-07-17 11:24:05 +02:00
John Titor
a0bbe712c0
workflows: add monthly flake lock update workflow
Signed-off-by: Masum Reza <masumrezarock100@gmail.com>
2024-05-29 01:12:56 +05:30
Thomas Mühlbacher
88aa61eb95 ci: run nix build in workflow
so since up until the last merged changes, this entire gh action pretty
much equated to a no-op, afaict. and even now, the only thing i added in
PR #272 is a formatter check only for *.nix files.

i plan to add more checks soon that will be run by `nix flake check`.
but as of right now, adding this is the quickest way to make sure at
least something useful is done by this workflow.

Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-05-23 21:04:41 +02:00
Thomas Mühlbacher
45c8cc32a3 ci: fix NixOS misnomer
this workflow has nothing to do with NixOS, it's just running Nix on
Ubuntu.

Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-05-23 21:03:00 +02:00
Thomas Mühlbacher
368cdb8796 ci: fix ci by updating gh actions
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-05-22 23:20:16 +02:00
Thomas Bertschinger
f5baaf48e3 move Rust sources to top level, C sources into c_src
This moves the Rust sources out of rust_src/ and into the top level.
Running the bcachefs executable out of the development tree is now:

$ ./target/release/bcachefs command
or
$ cargo run --profile release -- command

instead of "./bcachefs command".

Building and installing is still:

$ make && make install

Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-16 01:47:05 -05:00
Thomas Bertschinger
0a284fc4ff convert main() from C to Rust
This moves the main() function from C to Rust. It also updates the name
of the Rust package from "bcachefs-rust" to "bcachefs-tools".

Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-16 01:46:41 -05:00
Alexander Fougner
4c5dcb018d fix packaging
- make deb fails with dh: error: Unknown sequence --with
  (options should not come before the sequence)

- fix deb build deps

- add missing rpm files

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-10 12:16:00 -05:00
Alexander Fougner
1c2cb80376 fix udev rules path
- include rules file in rpmspec
- update install docs with udev build requirement

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-06 15:41:05 -05:00
Alexander Fougner
8f4361b686 ci: skip install of recommended packages
Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-11-07 20:02:43 +01:00
Alexander Fougner
04666325d4 ci: bump github actions
- cachix/install-nix-action v22 -> v23
- actions/checkout v3 -> v4

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-11-07 20:02:43 +01:00
Alexander Fougner
caeeba5152 ci: set and verify MSRV
To prevent uncontrolled usage of new rust features, directly or from
dependencies, set a minimum supported Rust version and verify it builds.

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-08-04 20:13:38 +02:00
Alexander Fougner
a3087defd8 Remove sparse protocol envvar
Default as of rust 1.70

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-08-04 20:13:38 +02:00
Alexander Fougner
a7b0ba44f0 ci: upgrade to checkout action v3
v2 is deprecated

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-07-20 22:27:56 +02:00
Jörg Thalheim
2bbb23812c add dependabot config to keep github ci actions up-to-date 2023-07-20 22:27:56 +02:00
Jörg Thalheim
73dd04c059 ci: unpin nix install url
I don't think we no longer need this and the install-nix-action
is not compatible with it.
2023-07-20 22:27:56 +02:00
Jörg Thalheim
23c2c8832a ci: bump install-nix-action/cachix to fix nixos build
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2023-07-20 22:27:56 +02:00
Alexander Fougner
eb13ae8d5e Add packaging workflow
Package and publish deb+rpm for easy testing

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-03-19 19:24:28 +01:00
Kayla Firestack
3db34427e6 add nixos check
add cachix action
2021-10-18 16:31:21 -04:00