Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
mantis job: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
picnoir committed Nov 19, 2020
1 parent 622b5a8 commit ccc1ba5
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 174 deletions.
9 changes: 6 additions & 3 deletions docker/morpho.nix
Expand Up @@ -3,11 +3,14 @@ let run-morpho-node =
writeShellScript "morpho-node" ''
set -exuo pipefail
mkdir -p /tmp
cd "$NOMAD_TASK_DIR"
chown --reference . --recursive . || true
ulimit -c unlimited
set +x
echo "waiting for $REQUIRED_PEER_COUNT peers"
until [ "$(jq morpho-topology.json-c enode mantis.conf)" -ge "$REQUIRED_PEER_COUNT" ]; do
sleep 0.1
done
set -x
exec morpho-checkpoint-node \
--topology "$NOMAD_TASK_DIR"/morpho-topology.json \
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Expand Up @@ -10,7 +10,7 @@
terranix.follows = "bitte/terranix";
utils.url = "github:numtide/flake-utils";
ops-lib.url = "github:input-output-hk/ops-lib/zfs-image?dir=zfs";
morpho-node.url = "github:input-output-hk/ECIP-Checkpointing/nin-flake";
morpho-node.url = "github:input-output-hk/ECIP-Checkpointing/master";
midnight-automation = {
url = "git+ssh://github.com/input-output-hk/midnight-automation?ref=etcm-99-mantis-agen";
flake = false;
Expand Down

0 comments on commit ccc1ba5

Please sign in to comment.