report build results in Git web interfaces #32
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tick/X marks next to commits on GitHub and Gitea.
This worked:
Next: figuring out how to get from $HYDRA_JSON to the input commit id.
Which Hydra jobs are relevant for the build status of a commit?
There's already a Hydra plugin for Github statuses. We can adapt it for Gitea.
For Github:
Get a token at https://github.com/settings/tokens with only the repo:status scope. I'll need the
/etc/nixos/secret/
filename.As the token-generating user will be visible in a commit status, you might consider creating a "nixbld.m-labs.hk" bot account on Github. This user has to have access to the repos.
My findings for
services.hydra.extraConfig
so far:Example statuses in my current artiq fork: https://github.com/astro/artiq/commits/master
GiteaStatus plugin upstream PR: https://github.com/NixOS/hydra/pull/849
Would you like this as an additional patch for the hydra config in it-infra?
Yes.