61 Commits

Author SHA1 Message Date
Roman Lebedev
187509df65
Deb: effectively disable timeout for the publish job
The actual runtime depends on the actual physical location
where the job happens to run, and the network load at the moment.
It might be very slow, it might be very fast.
Let's be more understanding here.
2025-10-14 02:13:17 +03:00
Roman Lebedev
b0a5a37e58
Deb publish: upload all debs first, then do the slow snapshot publish stuff 2025-10-14 02:11:09 +03:00
Roman Lebedev
5f035ccd9f
Aptly: do not generate Contents files 2025-10-14 00:23:43 +03:00
Roman Lebedev
32154aed77
Implement Open Build Service packaging 2025-10-13 23:36:22 +03:00
Roman Lebedev
0c413a37f4
Deb publish: get the readme from source tarball, don't fetch the repo 2025-10-13 23:36:22 +03:00
Roman Lebedev
e531e27616
Deb: switch baseline containers to use debian stable 2025-10-13 23:36:22 +03:00
Roman Lebedev
bb6e5dead4
Deb PPA: consistently specify publish prefix 2025-10-12 04:11:24 +03:00
Roman Lebedev
5c36adae42
Deb PPA: last few missing changes
* Publish source package for every distro, not just the first one processed
* Add README wrapper that was previously manually added
* Autoproduce dists symlink
2025-10-09 15:12:43 +03:00
Roman Lebedev
6b0201408c
Deb PPA / aptly: hardlinks don't work through SSHFS 2025-10-08 04:17:18 +03:00
Roman Lebedev
7c6c3f464c
Deb PPA: avoid some pitfails in publish job 2025-10-08 02:50:31 +03:00
Roman Lebedev
1f91b153ba
Debian PPA: switch to aptly 2025-10-08 01:24:02 +03:00
Roman Lebedev
015845f3e4
Debian: cross-build support
For debian distros, we're lucky and cross-build *now* just works,
and is as fast as native amd64 builds.

For ubuntu, things are ugly. On questing it currently does not work,
(but maybe they will fix it later), however on plucky it just doesn't work.

So i'm just disabling ppc64el ubuntu builds
since full cross-compilation is really slow,
but if someone actually needs them, those can be reenabled...
2025-10-06 14:45:23 +03:00
Roman Lebedev
7730d7f4d8
Last-ditch effort to fix publish job 2025-10-06 00:47:08 +03:00
Roman Lebedev
f4f49dbe33
Unbreak Deb Publish job 2025-10-05 23:04:53 +03:00
Roman Lebedev
2d2e2b7223
Deb PPA: fix publish job 2025-10-05 21:57:16 +03:00
Roman Lebedev
766f89f0f2
Deb PPA: use vendor-filterer 2025-10-05 21:57:16 +03:00
Roman Lebedev
07bf2c16cb
Deb PPA rewrite, adding packages for ppc64el
TLDR: instead of running the entirety of the job in the container,
start a detached container, and manually run each step
in detached container. This allows to run stuff outside of container.
2025-10-05 16:38:42 +03:00
Roman Lebedev
cb80f2be96
Deb PPA: some more eatmydata musings that i missed in earlier change 2025-09-28 12:30:13 +03:00
Roman Lebedev
8e64a3b967
Deb PPA: consistently install full gnupg, not just gpg 2025-09-28 11:47:30 +03:00
Roman Lebedev
9e26cc289c
Debian: add reprotest job
The packages appear to be generally reproducible,
BUT only if using the same build directory.
I do not yet know why.
2025-09-28 11:46:59 +03:00
Roman Lebedev
b907189f9a
Deb PPA: use eatmydata, bump initial apt timeout 2025-09-27 23:01:49 +03:00
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