Eelco Dolstra
79d34ed7c9
Follow nix/nixpkgs
2020-10-20 12:21:06 +02:00
Eelco Dolstra
94d696df0e
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/20a7d8d23a19530207378fc74ddd558232240f43' -> 'github:NixOS/nix/e0ca98c2071b815578470e280df8fdb750c7e23b'
* Updated 'nix/nixpkgs': 'github:NixOS/nixpkgs/3a10a004bb5802d5f23c58886722e4239705e733' -> 'github:NixOS/nixpkgs/ad0d20345219790533ebe06571f82ed6b034db31'
* Updated 'nixpkgs': 'github:NixOS/nixpkgs/5659cb448e9b615d642c5fe52779c2223e72f7eb' -> follows 'nix/nixpkgs'
2020-10-20 12:20:33 +02:00
Eelco Dolstra
90a2f8eb2b
Merge branch 'master' of github.com:NixOS/hydra into master
2020-10-20 12:19:53 +02:00
Eelco Dolstra
338d946620
Remove nix from hydra-perl-deps
...
Also add nix to passthru. This makes it easier to override nix in 'nix
develop', e.g.
$ nix develop \
--redirect .#hydraJobs.build.x86_64-linux.nix ~/Dev/nix/outputs/out \
--redirect .#hydraJobs.build.x86_64-linux.nix.dev ~/Dev/nix/outputs/dev
2020-10-20 12:15:18 +02:00
Eelco Dolstra
4e05acc471
Fix localhost builds
2020-10-20 12:11:46 +02:00
Eelco Dolstra
6cd2bb6954
Fix build
2020-10-18 21:01:06 +02:00
Eelco Dolstra
deb9b68afd
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/8b4a542d1767e0df7b3c0902b766f34352cb0958' -> 'github:NixOS/nix/20a7d8d23a19530207378fc74ddd558232240f43'
* Updated 'nix/nixpkgs': 'github:NixOS/nixpkgs/70717a337f7ae4e486ba71a500367cad697e5f09' -> 'github:NixOS/nixpkgs/3a10a004bb5802d5f23c58886722e4239705e733'
2020-10-18 20:55:30 +02:00
Eelco Dolstra
bea7c2581f
Merge branch 'update-nix-unstable' of https://github.com/Ma27/hydra
2020-10-18 20:40:57 +02:00
Eelco Dolstra
869671e556
Merge pull request #823 from andir/ldap
...
ldap: Use hashed passwords in the test
2020-10-13 12:37:16 +02:00
Andreas Rammhold
458b0ceb85
ldap: Use hashed passwords in the test
...
We should lead with good example and when users copy code from this repo
it should not incentivize them to use plain text passwords.
2020-10-12 17:18:37 +02:00
Andreas Rammhold
656b0c27b3
Update to NixOS 20.09
...
This allows us to make use of the openldap modules for hashed passwords.
In 20.03 the openldap expression didn't yet build those modules.
2020-10-12 17:18:01 +02:00
Maximilian Bosch
9cc76f6d69
Fix build with latest Nix
...
Recently a few internal APIs have changed[1]. The `outputPaths` function
has been removed and a lot of data structures are modeled with
`std::optional` which broke compilation.
This patch updates the code in `hydra-queue-runner` accordingly to make
sure that Hydra compiles again.
[1] https://github.com/NixOS/nix/pull/3883
2020-09-26 23:37:39 +02:00
Maximilian Bosch
2394140843
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/2a8017092025a7c108ca1a829a8b4f0bcf7ee2c0' -> 'github:NixOS/nix/8b4a542d1767e0df7b3c0902b766f34352cb0958'
* Updated 'nix/lowdown-src': 'github:edolstra/lowdown/c7a4e715af1e233080842db82d15b261cb74cb28' -> 'github:kristapsdz/lowdown/1705b4a26fbf065d9574dce47a94e8c7c79e052f'
* Updated 'nixpkgs': 'github:NixOS/nixpkgs/252bfe0107587d40092057f338e9ffcf7bbd90cb' -> 'github:NixOS/nixpkgs/5659cb448e9b615d642c5fe52779c2223e72f7eb'
2020-09-26 23:36:37 +02:00
Eelco Dolstra
46a8d6d531
Merge branch 'fix/addPermRoot' of https://github.com/helsinki-systems/hydra
2020-09-15 13:22:53 +02:00
Eelco Dolstra
d33ac5799c
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/eb75282b8dc855983368c79cc4c2943c298518f7' -> 'github:NixOS/nix/2a8017092025a7c108ca1a829a8b4f0bcf7ee2c0'
* Added 'nix/lowdown-src': 'github:edolstra/lowdown/c7a4e715af1e233080842db82d15b261cb74cb28'
2020-09-15 13:14:47 +02:00
Eelco Dolstra
b8a4ed0c77
Merge pull request #815 from helsinki-systems/fix/non-static-decl
...
Fix non-static declarative jobsets
2020-09-14 15:52:05 +02:00
Eelco Dolstra
2c76e9848a
Merge pull request #812 from helsinki-systems/no-accesslog
...
Disable access log
2020-09-14 15:38:13 +02:00
Eelco Dolstra
a6c4e4b067
Merge pull request #807 from plutotulp/bugfix-revcount-as-integer
...
reproduce bash script must supply revCount as int
2020-09-14 15:34:03 +02:00
Eelco Dolstra
733bbc131d
Merge pull request #808 from andir/ldap
...
ldap: only try the LDAP realm when it is configured
2020-09-14 15:33:33 +02:00
ajs124
2c61779816
fix build after nix commit 82b77a77262c414044fffc7ad8b955ad91827995
2020-09-14 15:30:59 +02:00
Eelco Dolstra
e630440a07
Merge pull request #813 from helsinki-systems/fix/manual-xml
...
manual: Fix XML
2020-09-14 14:55:43 +02:00
Janne Heß
24acb9d6bb
Fix non-static declarative jobsets
...
With the current implementation, if ANY hash was found inside the decl
spec, the spec would be treated as static. This is problematic since
`inputs` is a hash and hence any configuration would be handled as a
static one.
This fixes the code to match the documentation and only switch to static
processing when ALL values are hashes.
2020-09-13 18:21:38 +02:00
Janne Heß
3f4d9f8446
manual: Fix XML
2020-09-13 17:52:18 +02:00
Janne Heß
971dcc46a2
Disable access log
...
This is annoying and mostly redundant to nginx.
2020-09-13 17:51:21 +02:00
Andreas Rammhold
6a07712e1d
LDAP: only try LDAP authentication when the realm is configured
2020-09-12 19:57:24 +02:00
Andreas Rammhold
ee60f4ccd9
tests: fix invalid YAML
...
Somwhere while polishing the initial PR I forgot to add that colo.
2020-09-12 19:57:24 +02:00
Erlend Pedersen
1d11b29e73
reproduce bash script must supply revCount as int
...
The reproduce script would fail for me, because it passed revCount as
a string to nix-build, which would then fail to subtract from it.
2020-09-12 14:04:43 +02:00
Graham Christensen
8f683aa7f8
Merge pull request #805 from andir/ldap
...
LDAP support continued (with missing packages & tests)
2020-09-11 12:10:23 -04:00
Andreas Rammhold
b5d7ed2e99
LDAP: add brief section in the documentation
2020-09-11 15:21:40 +02:00
Andreas Rammhold
f229da352e
LDAP add test for roles and multiple users
2020-09-10 17:09:32 +02:00
Andreas Rammhold
cfc01e2518
LDAP: add VM test to flake.nix
...
In this newly added test an OpenLDAP server will provide one user
(called `user`) and it will be attempted to login as that said user.
Also logging in with any other password must fail.
2020-09-10 17:09:32 +02:00
Andreas Rammhold
b8c19337b6
LDAP: add the required packages to the perlPackage via the overlay
...
Nixpkgs doesn't currently provide these required packages. In order to
use this feature without waiting for a newer release of NixOS/Nixpkgs
thes have been packages inline.
2020-09-10 16:47:33 +02:00
edef
c00b42dced
don't try to load HYDRA_LDAP_CONFIG if none is provided
2020-09-09 13:02:51 +02:00
edef
b9ff7b2671
include perlPackages.YAML in buildInputs
2020-09-09 13:02:49 +02:00
ajs124
28646e1c5f
Initial attempt at adding LDAP login support
2020-09-09 13:00:34 +02:00
Eelco Dolstra
e707990e2d
Merge pull request #804 from grahamc/fully-static-jobsets
...
declarative projects: support fully static, declarative configuration
2020-09-02 21:09:01 +02:00
Eelco Dolstra
dd0145a7f4
Merge pull request #802 from grahamc/run-command-hacking
...
Development-time improvements
2020-09-02 21:05:57 +02:00
Graham Christensen
7f16c0d243
declarative projects: support fully static, declarative configuration
2020-09-02 12:35:41 -04:00
Graham Christensen
648eb980dd
hydra-notify: autoflush stdout too
2020-09-02 12:35:18 -04:00
Graham Christensen
65a34499f0
foreman/queue runner: run locally to avoid trust issues
2020-09-02 12:35:18 -04:00
Graham Christensen
128aa0afc9
foreman: allow using substitutes by default
2020-09-02 12:35:18 -04:00
Graham Christensen
42d09aace1
readme: note the default user/pass
2020-09-02 12:35:18 -04:00
Graham Christensen
cbc386efe7
Merge pull request #803 from cransom/fix-imagebase
...
Remove image dependency on hydra.nixos.org
2020-09-01 15:37:18 -04:00
Casey Ransom
03be8ae7a1
Remove image dependency on hydra.nixos.org
...
Also standardize the slack image size on 256 pixels.
2020-09-01 15:13:12 -04:00
Eelco Dolstra
405c52b589
Fix build
2020-08-27 17:46:36 +02:00
Eelco Dolstra
e463f44bfc
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/edfd676e059578fb574ce78d1a2cc66d018d3b16' -> 'github:NixOS/nix/eb75282b8dc855983368c79cc4c2943c298518f7'
2020-08-27 17:28:34 +02:00
Eelco Dolstra
1113c2895a
Fix build
2020-08-07 21:42:09 +02:00
Eelco Dolstra
529a003de5
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/4e7f1c7f11fb22d7954b2dacbe87c61548fab82d' -> 'github:NixOS/nix/edfd676e059578fb574ce78d1a2cc66d018d3b16'
2020-08-07 21:20:39 +02:00
Eelco Dolstra
f8e15bc311
Revive putBytes
2020-08-04 18:25:21 +02:00
Eelco Dolstra
56495289cd
flake.lock: Update
...
Flake input changes:
* Updated 'nix': 'github:NixOS/nix/ed52cf632bf9db90311014600ca0f042ef57ca20' -> 'github:NixOS/nix/4e7f1c7f11fb22d7954b2dacbe87c61548fab82d'
2020-08-04 16:02:38 +02:00