Logo
Explore Privacy Policy Terms of Service Help
Sign In
ahuston-0/hydra
1
0
Fork 0
You've already forked hydra
Code Issues Pull Requests1 Packages Projects Releases Wiki Activity
8a169ffa56
BranchesTags
View all branches
hydra/foreman/start-queue-runner.sh

8 lines
202 B
Bash
Raw Normal View History

Add runHydra shell runHyda automatically starts hydra and postgres: ``` $ nix-shell -A runHydra ``` The shell receives hydra from the working copy as buildInput. Running hydra, queue-runner, evaluator and postgres is managed by foreman (https://github.com/ddollar/foreman) and configured in `Procfile`.
2020-05-13 17:37:25 +02:00
#!/bin/sh
Use custom ports for postgres/hydra Use custom ports so hydra and postgres can run in environments where the default ports are in use already.
2020-05-14 11:49:29 +02:00
# wait until hydra is listening on port 63333
while ! nc -z localhost 63333; do sleep 1; done
Add runHydra shell runHyda automatically starts hydra and postgres: ``` $ nix-shell -A runHydra ``` The shell receives hydra from the working copy as buildInput. Running hydra, queue-runner, evaluator and postgres is managed by foreman (https://github.com/ddollar/foreman) and configured in `Procfile`.
2020-05-13 17:37:25 +02:00
Use custom ports for postgres/hydra Use custom ports so hydra and postgres can run in environments where the default ports are in use already.
2020-05-14 11:49:29 +02:00
touch .hydra-data/hydra.conf
HYDRA_CONFIG=$(pwd)/.hydra-data/hydra.conf exec hydra-queue-runner
Reference in New Issue Copy Permalink
Powered by Gitea Page: 51ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API