Skip to content

nixos/ente: migrate test from minio to garage, minor fixes - #509708

Merged
oddlama merged 4 commits into
NixOS:masterfrom
oddlama:fix/ente-tests-garage
Apr 17, 2026
Merged

oddlama merged 4 commits into
NixOS:masterfrom
oddlama:fix/ente-tests-garage

Conversation

@oddlama

@oddlama oddlama commented Apr 13, 2026 •

Copy link
Copy Markdown
Member

And fixes #510450

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Apr 13, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested review from nicegamer7 and pinpox April 13, 2026 20:23
@nixpkgs-ci nixpkgs-ci Bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Apr 13, 2026
@oddlama oddlama mentioned this pull request Apr 13, 2026
15 of 19 tasks
@herbetom

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 509708 --additional-package nixosTests.ente
Commit: ede42c75f752e1a4f43084881633e22a1a86c641


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 1 test built:
  • nixosTests.ente

@herbetom herbetom left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not so sure about documenting quite a lot of garage specifics inside ente docs. Seems like something that should probably be just a link to either some nixos garage docs or some wiki.

In general: i don't think the md is reachable in any other way then then the GitHub Code Browser? So maybe this whole thing would be better served with beeing inside wiki.nixos.org? 🙈

@oddlama

oddlama commented Apr 14, 2026 •

Copy link
Copy Markdown
Member Author

Not so sure about documenting quite a lot of garage specifics inside ente docs. Seems like something that should probably be just a link to either some nixos garage docs or some wiki.

I agree, it's generally more to set up with garage. But admittedly, I am struggling a bit to remove information without making the guide hard to follow. Any pointers on what you would like to omit?

In general: i don't think the md is reachable in any other way then then the GitHub Code Browser? So maybe this whole thing would be better served with beeing inside wiki.nixos.org? 🙈

Good point! Seems like I forgot to include the meta attribute on the module a while back 😅 I added that in now.

@nixpkgs-ci
nixpkgs-ci Bot requested a review from GetPsyched April 14, 2026 17:57
@nixpkgs-ci nixpkgs-ci Bot added the 8.has: documentation This PR adds or changes documentation label Apr 14, 2026
@herbetom

Copy link
Copy Markdown
Member

I would just keep it at something along the lines of "you need an S3 compatible object storage. You can self host that with software like Garage (here is a link with instructions on how to set that up).

And then put the garage specifics into https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/web-servers/garage.md or the like.

And then continue with now you've got a hostname, bucket name, access key and secret key. Put them into these places.

That way it's also easy to follow when you don't want to use garage because you make the split exactly where both of those services meet in a standardized way.

@oddlama
oddlama force-pushed the fix/ente-tests-garage branch from dd93de9 to 00c5e01 Compare April 16, 2026 17:48
@oddlama oddlama mentioned this pull request Apr 16, 2026
3 tasks done
@nicegamer7

Copy link
Copy Markdown
Contributor

It might be good to add a test to ensure ente-web builds with non-null enteMainUrl.

You could also rename this PR to be more accurate now that it contains a couple other commits, but I'm not sure that's too important to be honest.

@oddlama
oddlama force-pushed the fix/ente-tests-garage branch from 00c5e01 to f244290 Compare April 16, 2026 19:02
@oddlama

oddlama commented Apr 16, 2026

Copy link
Copy Markdown
Member Author

It might be good to add a test to ensure ente-web builds with non-null enteMainUrl.

The nixos test always tested this, it's just missing as a test passthru. I'll add it too.

You could also rename this PR to be more accurate now that it contains a couple other commits, but I'm not sure that's too important to be honest.

I'll see if I can edit this

@oddlama oddlama changed the title nixos/tests/ente: migrate test from minio to garage nixos/ente: migrate test from minio to garage, minor fixes Apr 16, 2026
@oddlama

oddlama commented Apr 16, 2026

Copy link
Copy Markdown
Member Author
  • adjusted docs to remove S3 provider specifics
  • fixed ente url replacements
  • added test as passthrough to ente-web

@nicegamer7

Copy link
Copy Markdown
Contributor

Oh I see, I remember explicitly checking that it was a passthrough, but I guess I was checking museum.

@oddlama
oddlama requested a review from herbetom April 16, 2026 20:44
@PatrickDaG

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 509708 --additional-package nixosTests.ente
Commit: 98d5ac253018a2a89e3def46656520aa22c3f2d1


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 1 test built:
  • nixosTests.ente

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Apr 17, 2026
@oddlama
oddlama merged commit 7bd2d2b into NixOS:master Apr 17, 2026
31 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nixos/ENTE: Build fails

4 participants