3e1a98668f
Allow configuring a set of domains to allow logins from Persona.
...
E.g. add the following to only allow Persona logins from email.com and gmail.com email addresses.
persona_allowed_domains email.com,gmail.com
2014-01-09 13:31:02 +01:00
a598fe7e81
Allow Hydra's binary cache to be signed
...
This requires adding the following to hydra.conf:
binary_cache_key_name = <key-name>
binary_cache_private_key_file = <path-to-private-key>
e.g.
binary_cache_key_name = hydra.nixos.org-1
binary_cache_private_key_file = /home/hydra/cache-key.sec
2014-01-08 15:19:17 +01:00
de26b55afe
User.pm: Handle params from JSON properly
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-12-12 09:38:57 -05:00
f25f8dbfa3
Higher timeout for prefetching bazaar inputs.
2013-12-11 17:34:45 +01:00
a92a57f3b0
hydra-evaluator: When evaluating a single jobset, exit with a failure code if evaluation fails
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-11-27 14:29:05 -05:00
dd4e57fb0c
Allow passing a specific build as an input
...
Fixes #62 .
2013-11-11 21:36:26 +00:00
8f104396ec
Support passing a jobset evaluation as an input
...
All successful, non-garbage-collected builds in the evaluation are
passed in a attribute set. So if you declare a Hydra input named
‘foo’ of type ‘eval’, you get a set with members ‘foo.<jobname>’. For
instance, if you passed a Nixpkgs eval as an input named ‘nixpkgs’,
then you could get the Firefox build for x86_64-linux as
‘nixpkgs.firefox.x86_64-linux’.
Inputs of type ‘eval’ can be specified in three ways:
* As the number of the evaluation.
* As a jobset identifier (‘<project>:<jobset>’), which will yield the
latest finished evaluation of that jobset. Note that there is no
guarantee that any job in that evaluation has succeeded, so it might
not be very useful.
* As a job identifier (‘<project>:<jobset>:<job>’), which will yield
the latest finished evaluation of that jobset in which <job>
succeeded. In conjunction with aggregate jobs, this allows you to
make sure that the evaluation contains the desired builds.
2013-11-11 21:17:22 +00:00
7b35e4d0de
Add a link to the latest finished eval of a jobset
2013-11-11 14:49:39 +01:00
a0fdf8d2ba
Use local copy of the Persona sign in button
2013-11-06 22:20:57 +01:00
80267bcbb1
Merge branch 'persona'
2013-11-06 18:14:52 +01:00
c92410c147
Use hydra-module.nix in the tests
2013-11-06 18:10:52 +01:00
066b982222
Revert "Add a unit template to run hydra-evaluator with arbitrary arguments"
...
Can't get the escaping to work right to pass more than one argument
This reverts commit 6cac7e9795
.
2013-11-06 11:45:29 -05:00
8b67ad8787
hydra-module.nix: Export the HYDRA_* environment variables
...
This is useful if you want to run hydra-* commands manually.
2013-11-06 17:32:50 +01:00
ed9d57d0a4
hydra-module.nix: More paranoid permissions on the data directory
2013-11-06 17:29:34 +01:00
2614fe21fb
hydra-module.nix: Use startAt
2013-11-06 17:29:22 +01:00
d710c1e443
hydra-module.nix: Fix setting the logo
2013-11-06 17:27:36 +01:00
243b05f1e7
hydra-module.nix: Use -p instead of HYDRA_PORT
2013-11-06 17:19:57 +01:00
f4845cde00
hydra-module.nix: Make services require hydra-init
2013-11-06 17:09:24 +01:00
1f6304c876
hydra-module.nix: Don't use a password
...
If PostgreSQL is running on the same system, then the "hydra" user can
can connect without a password (via Unix domain socket
authentication), so no need to set up a password. If PostgreSQL is on
another machine, then creating a user/database won't work anyway.
2013-11-06 17:07:25 +01:00
6cac7e9795
Add a unit template to run hydra-evaluator with arbitrary arguments
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-11-06 10:35:53 -05:00
ed69106c34
hydra-module.nix: Give types to options
...
Also, rename the "service.hydra.hydra" option to
"service.hydra.package" to be consistent with NixOS option naming
conventions.
2013-11-06 16:34:16 +01:00
6fc59aa0da
hydra-module.nix: Remove the useWAL option
...
This is not a Hydra option but a Nix option so it shouldn't be here.
2013-11-06 16:17:11 +01:00
9dc3311ff7
hydra-module.nix: Don't create an admin user
...
It's the user's job to create users with the appropriate roles.
2013-11-06 16:15:53 +01:00
64cbdddea8
Test whether incorrect passwords are rejected
2013-11-06 16:12:08 +01:00
4fb3d67f49
Make /login give a proper JSON response again
2013-11-06 16:12:07 +01:00
bb2976693c
Use hydra-init / hydra-create-user in the tests
2013-11-06 16:12:07 +01:00
8c2acdd294
make clean: Delete darcs-repo
2013-11-06 14:29:55 +00:00
60e7e4fbe9
Remove obsolete/broken timeline feature
2013-11-06 15:20:30 +01:00
e8d92445d7
Keep sessions for a week
2013-11-06 15:15:35 +01:00
5723fda7fc
Keep session state across hydra-server restarts
2013-11-06 15:14:31 +01:00
33f01da507
Fix hydra_logo setting
2013-11-06 15:10:26 +01:00
df1a33c63f
Fix layout at all page sizes
2013-11-06 14:50:21 +01:00
3c45992182
Make the logo configurable via hydra.conf
2013-11-06 14:40:30 +01:00
b44baf3746
Add a flag to enable Persona support
...
It's disabled by default. To enable, add the following to hydra.conf:
enable_persona = 1
2013-11-06 14:38:36 +01:00
d118a575e1
Use page-header on the front page
2013-11-06 14:11:56 +01:00
8928c35ecd
Slight layout tweak
2013-11-06 14:07:43 +01:00
55f9d23933
Add a command `hydra-create-user' for managing user accounts
2013-11-06 13:36:29 +01:00
3315d1ea51
Remove obsolete hydra-control script
2013-11-06 11:42:49 +00:00
7a18e5f0c1
Remove unused file
2013-11-06 11:42:04 +00:00
63100b0ee8
Merge branch 'master' into persona
2013-11-06 12:35:36 +01:00
27a740d4b1
Don't show an empty projects list
2013-11-06 12:15:11 +01:00
a0b58b6b62
Fix typo that caused empty news item to show up
2013-11-06 12:15:11 +01:00
ecadcef642
Prevent a division by zero in hydra-queue-runner
...
Fixes #131 .
2013-11-06 12:15:11 +01:00
f1c187198c
Stupid capitalization scheme
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-11-05 12:39:55 -05:00
2e1c07c5f7
Argh
...
ALWAYS RUN THE TESTS
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-11-05 12:31:36 -05:00
cfd4843290
topbar: Include "Create project" in menu.
...
For users who only have the "create-projects" role, actually display the
item in the menu as the only option.
Signed-off-by: aszlig <aszlig@redmoonstudios.org >
2013-11-05 17:03:31 +01:00
f6a83bcc5b
user: Fix spelling of create-projects role.
...
This actually is right in the manual but displayed incorrectly on the
web interface.
Signed-off-by: aszlig <aszlig@redmoonstudios.org >
2013-11-05 17:03:31 +01:00
8a0200edd2
Doh
2013-11-05 16:13:09 +01:00
ae85d2df23
Add a "My jobsets" tab to the dashboard
2013-11-05 16:05:29 +01:00
d5574230e4
typo
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-11-05 09:57:15 -05:00