forked from lix-project/hydra
hydra-notify: Enable the prometheus exporter in development environments by default
This commit is contained in:
parent
6d7ee27d25
commit
f4ad80527a
|
@ -19,6 +19,13 @@ if [ ! -f ./.hydra-data/hydra.conf ]; then
|
||||||
cat << EOF > .hydra-data/hydra.conf
|
cat << EOF > .hydra-data/hydra.conf
|
||||||
# test-time instances likely don't want to bootstrap nixpkgs from scratch
|
# test-time instances likely don't want to bootstrap nixpkgs from scratch
|
||||||
use-substitutes = true
|
use-substitutes = true
|
||||||
|
|
||||||
|
<hydra_notify>
|
||||||
|
<prometheus>
|
||||||
|
listen_address = 127.0.0.1
|
||||||
|
port = 64445
|
||||||
|
</prometheus>
|
||||||
|
</hydra_notify>
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
HYDRA_CONFIG=$(pwd)/.hydra-data/hydra.conf exec hydra-dev-server --port 63333
|
HYDRA_CONFIG=$(pwd)/.hydra-data/hydra.conf exec hydra-dev-server --port 63333
|
||||||
|
|
Loading…
Reference in a new issue