Collection of tools to deploy IOHK infrastructure.
deployments- includes all NixOps deployments controlled via.hsscriptsmodules- NixOS moduleslib.nix- warps upstream<nixpkgs/lib.nix>with our common functionsscripts- has bash scripts not converted to Haskell/Turtle into Cardano.hs yetsrk-nixpkgs.nix- is a collection of Haskell packagesstaticincludes files using in deploymentsjobsetsis 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
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.