Skip to content

Commit

Permalink
Add hydra-notify to devshell
Browse files Browse the repository at this point in the history
I came across #751 and realized
that hydra-notify is responsible for creating the additional jobsets in
a declarative file. My declarative testing works in dev now.
  • Loading branch information
Casey Ransom committed May 20, 2020
1 parent 3c6b724 commit 8a169ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions 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 changes: 7 additions & 0 deletions foreman/start-notify.sh
@@ -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

0 comments on commit 8a169ff

Please sign in to comment.