Eelco Dolstra
02888105a8
Add a hydra.conf option to enable email notification
...
Note that it's disabled by default.
2018-03-12 14:04:23 +01:00
Eelco Dolstra
c0fac52872
Add some debug code
2018-03-07 10:23:43 +01:00
Eelco Dolstra
5a1f2a50e5
Handle derivations with system type 'builtin'
...
Fixes #540 .
2018-03-07 10:22:35 +01:00
Eelco Dolstra
68afa2bf6f
Dump more system info in /queue-runner-status
2018-03-07 10:06:56 +01:00
Eelco Dolstra
cb43da06f3
Use Nix 2.0 and default GCC
2018-03-07 09:52:18 +01:00
Eelco Dolstra
3ec73c93e2
Remove unused dependency on aws-sdk-cpp
2018-02-23 16:47:24 +01:00
Eelco Dolstra
028ecf7c1f
Merge pull request #536 from phile314-fh/master
...
[ Fix #531 ] Trim github pr plugin store paths.
2018-02-12 18:05:03 +01:00
Philipp Hausmann
3cf2ffe367
[ Fix #531 ] Trim github pr plugin store paths.
...
nix-store --add returns a trailing LF which caused wrong include
paths for the github PR plugin JSON input.
2018-02-12 17:59:56 +01:00
Eelco Dolstra
ae080615d1
Merge pull request #535 from grahamc/patch-3
...
Typo: on the build view page: Yu -> You
2018-02-08 18:50:00 +01:00
Graham Christensen
aeca462de0
Typo: on the build view page: Yu -> You
2018-02-08 12:37:21 -05:00
Eelco Dolstra
fd463ff403
Remove nix-install-package support
...
'nix-install-package' no longer exists in Nix 1.12.
Closes #268 .
2018-01-15 14:27:58 +01:00
Eelco Dolstra
a4fc292c83
Merge pull request #526 from grahamc/add-restart-jobs-role
...
Add a restart-jobs role
2018-01-02 11:27:33 +01:00
Graham Christensen
83a48d2d4f
Add a restart-jobs role
...
Frequently users want Hydra access just to restart jobs. However,
prior to this commit the only way to grant that access was by giving
them full Admin access which isn't necessarily what we want to do.
By having a restart-jobs role, we can grant this privilege to users
who are known to the community and want to help, but aren't long-time
members.
I haven't tested this commit, but it looks good to me...
2017-12-30 08:28:23 -05:00
Eelco Dolstra
8913c682cf
Doh
2017-12-25 15:02:17 +01:00
Eelco Dolstra
0d79f16fd5
git-export -> source
2017-12-25 14:31:30 +01:00
Eelco Dolstra
7ccec0900b
Fix links to steps in the machines page
2017-12-07 16:20:23 +01:00
Eelco Dolstra
e9670641ec
Distinguish build step states
...
The web interface now shows whether a build step is connecting,
copying inputs/outputs, building, etc.
2017-12-07 15:35:31 +01:00
Eelco Dolstra
457483ba0e
Don't lock the BuildSteps table when inserting
...
Instead, optimistically insert a row and retry if there is a conflict.
2017-12-07 14:41:29 +01:00
Eelco Dolstra
2660c3cc54
Remove redundant check
2017-12-05 16:00:18 +01:00
Eelco Dolstra
d0b19d3172
Merge pull request #520 from AmineChikhaoui/master
...
hide disabled jobsets by default.
2017-12-05 15:28:41 +01:00
AmineChikhaoui
52e0ebcfed
hide disabled jobsets by default.
2017-12-05 14:07:58 +01:00
Eelco Dolstra
364e21919a
hydra-eval-{jobs,jobset}: Pass file name as <...>
2017-11-28 16:51:00 +01:00
Eelco Dolstra
b7bc4384b7
Fix serving plain text files
2017-11-21 17:55:52 +01:00
Eelco Dolstra
5986aae704
Add option eval_substituter
...
When using the "build" or "sysbuild" jobset input types in conjunction
with a binary cache store, the evaluator needs to be able to fetch
store paths from the binary cache. Typical usage:
store_uri = s3://nix-test-cache?secret-key=...
eval_substituter = s3://nix-test-cache
Also, the public key of the binary cache must be added to
binary-cache-public-keys in nix.conf, otherwise the local nix-daemon
won't allow the store paths to be copied over.
2017-11-20 16:12:20 +01:00
aszlig
a0b1875a4f
release.nix: Fix quoting of ${LOGNAME:-foo} ( #517 )
...
In order to use ${...} literally within an indented string we need to
prefix it with two single quotes.
Signed-off-by: aszlig <aszlig@nix.build>
2017-11-15 11:46:30 +00:00
Eelco Dolstra
7857f83251
Serve directories and symlinks correctly
2017-11-14 17:17:07 +01:00
Eelco Dolstra
100249c066
Use git rev-list --count
2017-11-14 16:18:54 +01:00
Eelco Dolstra
5216b7eb2c
Don't rely on ${LOGNAME:-foo} evaluating to a string
2017-11-14 15:11:14 +01:00
Eelco Dolstra
2cdc84f34f
Fix build against Nix master
...
Also, remove support in hydra-eval-jobs for multiple jobset input
alternatives. The web interface hasn't supported this in a long
time. Thus we can use the regular "--arg" handler.
2017-10-26 13:10:14 +02:00
Eelco Dolstra
eef0d8861b
Remove test line
2017-10-19 13:17:29 +02:00
Eelco Dolstra
b04dc6c76e
Fix root creation when the root already exists but is owned by another user
2017-10-19 12:28:38 +02:00
Eelco Dolstra
b904f25247
Hide contents links
2017-10-18 15:57:43 +02:00
Eelco Dolstra
d8d71ea4a3
hydra-server: Use server_store_uri instead of store_uri, if set
...
The store_uri may contain parameters that cause Nix to fail when
running under the hydra-server user (e.g. the signing key).
2017-10-18 15:33:55 +02:00
Eelco Dolstra
f39c13b2ff
hydra-server: Set XDG_CACHE_HOME, other Nix barfs
2017-10-18 15:33:46 +02:00
Eelco Dolstra
3e7938c61a
hydra-module: Include "=" in hydra.conf
...
hydra-queue-runner is more anal about the format than Catalyst, so it
was misinterpreting gc_roots_dir.
2017-10-18 14:23:10 +02:00
Eelco Dolstra
62c6cca937
Make one-click installs work for binary cache stores
...
This requires setting binary_cache_public_uri in hydra.conf.
2017-10-18 14:09:28 +02:00
Eelco Dolstra
44ef743d84
Hide some things that require a local store
2017-10-18 13:44:41 +02:00
Eelco Dolstra
40a9b70df2
Shut up warning
2017-10-18 13:39:39 +02:00
Eelco Dolstra
30943dd217
Detect MIME type
2017-10-18 13:38:34 +02:00
Eelco Dolstra
42fbde0383
Use "nix cat-store" to serve files from the Nix store
...
This makes downloading/viewing build results work with binary cache
stores. For good performance, this should be used in conjunction with
ca580bec35
,
i.e. you should set store_uri to something like
s3://my-cache?local-nar-cache=/tmp/nar-cache
to cache NARs between requests.
2017-10-18 12:48:31 +02:00
Eelco Dolstra
bc60fccf78
Remove remaining references to store_mode etc.
2017-10-18 12:23:07 +02:00
Eelco Dolstra
cc64e51f75
USER -> LOGNAME for consistency
...
Don't remember why we use LOGNAME. Also ensure that it's set.
2017-10-18 11:23:00 +02:00
Eelco Dolstra
e70f9e872a
Merge pull request #514 from dtzWill/fix/issue-513
...
hydra-queue-runner: ensure roots directory exists
2017-10-18 11:16:42 +02:00
Will Dietz
c81594f470
hydra-queue-runner: ensure roots directory exists
...
Fixes #513
2017-10-17 13:04:56 -05:00
Eelco Dolstra
45b138373b
hydra-queue-runner: Write GC roots for outputs paths
...
We lost this behaviour somewhere. So build outputs could be GC'ed when
running the collector with --option gc-keep-outputs false.
2017-10-12 18:55:38 +02:00
Remy Goldschmidt
eb7631fb9d
hydra-create-user now has --password-hash
option ( #504 )
...
When creating a Hydra user with the `hydra-create-user` command, you can now
provide a SHA1 password hash with the `--password-hash` flag. This is useful for
the upcoming work on Fully Declarative Hydra, since the end user should not have
to specify plaintext passwords in their `configuration.nix` file.
2017-10-08 11:55:51 +01:00
Keshav Kini
4b1af1fc1b
Fix link syntax in README.md ( #511 )
2017-09-30 22:39:36 +01:00
Rob Vermaas
b645b03536
Fix string comparison
2017-09-25 11:54:55 +00:00
Eelco Dolstra
27103398c9
Make maxLogSize configurable
2017-09-22 15:23:58 +02:00
Eelco Dolstra
d9cbf8cf01
Use PostgreSQL 9.5
...
9.2 is no longer in Nixpkgs.
2017-09-22 15:18:22 +02:00