Merge pull request #765 from cransom/foreman-hydra-notify

Add hydra-notify to devshell
This commit is contained in:
Eelco Dolstra 2020-05-25 16:36:43 +02:00 committed by GitHub
commit 471b036eef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -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
View 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