forked from lix-project/hydra
Merge pull request #765 from cransom/foreman-hydra-notify
Add hydra-notify to devshell
This commit is contained in:
commit
471b036eef
1
Procfile
1
Procfile
|
@ -1,4 +1,5 @@
|
||||||
hydra-server: ./foreman/start-hydra.sh
|
hydra-server: ./foreman/start-hydra.sh
|
||||||
hydra-queue-runner: ./foreman/start-queue-runner.sh
|
hydra-queue-runner: ./foreman/start-queue-runner.sh
|
||||||
hydra-evaluator: ./foreman/start-evaluator.sh
|
hydra-evaluator: ./foreman/start-evaluator.sh
|
||||||
|
hydra-notify: ./foreman/start-notify.sh
|
||||||
postgres: ./foreman/start-postgres.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