Collection of tools to deploy IOHK infrastructure.
deployments
- includes all NixOps deployments controlled via.hs
scriptsmodules
- NixOS moduleslib.nix
- wraps upstream<nixpkgs/lib.nix>
with our common functionsscripts
- has bash scripts not converted to Haskell/Turtle into Cardano.hs yetdefault.nix
- is a collection of Haskell packagesstatic
includes files using in deploymentsjobsets
is used by Hydra CI
$ ./CardanoCSL.hs build
$ ./CardanoCSL.hs deploy
Note this will not remove machines if they no longer exist.
If you want to remove a machine simply remove them in the bottom part of the nixops.nix
file.
Then run nixops deploy
with -k
:
./Cardano.hs deploy
$ nixops list
$ nixops info -d <deployment-name>
$ nixops ssh -d <deployment-name> <machine-name>
Replace <machine-name>
with the machine you want to connect to (from info
call).
$ ./CardanoCSL.hs destroy
$ ./CardanoCSL.hs ami -c config.yaml
This will update modules/amis.nix
so make sure to commit it.
Append https://github.com/input-output-hk/pos-prototype-deployment/blob/master/lib.nix#L46 and submit a PR.