NixOS / hydra

Hydra, the Nix-based continuous build system
http://nixos.org/hydra
GNU General Public License v3.0
1.1k stars 291 forks source link

flake: fix gitea integration test #1361

Closed Ma27 closed 3 months ago

Ma27 commented 4 months ago

This is an integration test that confirms that jobset definitions from git repositories are correctly built and status updates pushed to the gitea instance. The following things needed to be fixed:

cc @Ericson2314 is there anything keeping us from updating nixpkgs btw?

ajs124 commented 4 months ago

Still fails for me with AssertionError: Expected exactly three status updates for latest commit (queued, started, finished)! .

Ma27 commented 4 months ago

This is where I'd like to have a :melting_face: as reaction, GitHub! Thanks, managed to reproduce it after several rounds of nix build --rebuild. Going to fix that.

Ma27 commented 3 months ago

@ajs124 fixed the test by removing a redundant status update from the plugin (rationale is in the commit message).