examples/master: make app authentication the default option
This commit is contained in:
parent
619ed4e436
commit
5cf46bdb59
|
@ -19,13 +19,14 @@
|
||||||
# All other user in the organization will be able to restart builds or evaluations.
|
# All other user in the organization will be able to restart builds or evaluations.
|
||||||
admins = [ "Mic92" ];
|
admins = [ "Mic92" ];
|
||||||
github = {
|
github = {
|
||||||
authType.legacy = {
|
# Use this when you have set up a GitHub App
|
||||||
# Github user token used as a CI identity
|
authType.app = {
|
||||||
tokenFile = pkgs.writeText "github-token" "ghp_000000000000000000000000000000000000"; # FIXME: replace this with a secret not stored in the nix store
|
id = 000000; # FIXME: replace with App ID obtained from GitHub
|
||||||
|
secretKeyFile = pkgs.writeText "app-secret.key" "00000000000000000000"; # FIXME: replace with App secret key obtained from GitHub
|
||||||
};
|
};
|
||||||
# authType.app = {
|
#authType.legacy = {
|
||||||
# id = "00000000000000000"; # FIXME: replace with App ID obtained from GitHub
|
# # Github user token used as a CI identity
|
||||||
# secretKeyFile = pkgs.writeText "app-secret.key" "00000000000000000000"; # FIXME: replace with App secret key obtained from GitHub
|
# tokenFile = pkgs.writeText "github-token" "ghp_000000000000000000000000000000000000"; # FIXME: replace this with a secret not stored in the nix store
|
||||||
#};
|
#};
|
||||||
# A random secret used to verify incoming webhooks from GitHub
|
# A random secret used to verify incoming webhooks from GitHub
|
||||||
# buildbot-nix will set up a webhook for each project in the organization
|
# buildbot-nix will set up a webhook for each project in the organization
|
||||||
|
|
Loading…
Reference in a new issue