Add hydra-notify to devshell
I came across https://github.com/NixOS/hydra/issues/751 and realized that hydra-notify is responsible for creating the additional jobsets in a declarative file. My declarative testing works in dev now.
This commit is contained in:
parent
3c6b724f92
commit
8a169ffa56
1
Procfile
1
Procfile
|
@ -1,4 +1,5 @@
|
|||
hydra-server: ./foreman/start-hydra.sh
|
||||
hydra-queue-runner: ./foreman/start-queue-runner.sh
|
||||
hydra-evaluator: ./foreman/start-evaluator.sh
|
||||
hydra-notify: ./foreman/start-notify.sh
|
||||
postgres: ./foreman/start-postgres.sh
|
||||
|
|
7
foreman/start-notify.sh
Executable file
7
foreman/start-notify.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# wait for hydra-server to listen
|
||||
while ! nc -z localhost 63333; do sleep 1; done
|
||||
|
||||
touch .hydra-data/hydra.conf
|
||||
HYDRA_CONFIG=$(pwd)/.hydra-data/hydra.conf exec hydra-notify
|
Loading…
Reference in a new issue