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 aa06e8b commit 5467e6c
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 171 deletions.
3 changes: 1 addition & 2 deletions docker/morpho.nix
Expand Up @@ -3,12 +3,11 @@ let run-morpho-node =
writeShellScript "morpho-node" ''
set -exuo pipefail
mkdir -p /tmp
cd "$NOMAD_TASK_DIR"
set +x
echo "waiting for $REQUIRED_PEER_COUNT peers"
until [ "$(jq -e -r < morpho-topology.json '.[] | length')" -ge "$REQUIRED_PEER_COUNT" ]; do
until [ "$(jq morpho-topology.json-c enode mantis.conf)" -ge "$REQUIRED_PEER_COUNT" ]; do
sleep 0.1
done
set -x
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";
Expand Down

0 comments on commit 5467e6c

Please sign in to comment.