Collection of tooling and automation 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 CIterraform
- other AWS infrastructurenix-darwin
- deployment script and configurations for MacOS X machines
- Fork https://github.com/input-output-hk/iohk-ops
- Check out the
master
branch - Add your username and SSH public key to the appropriate developer
section of
lib/ssh-keys.nix
. Keys should remain sorted alphabetically by username. - Submit a PR against
master
and let DevOps know. - Wait until the DevOps team deploys the infrastructure cluster.
Sources for the iohk-ops
tool are in the iohk
directory.
After cloning this repo, start a nix-shell
.
% nix-shell
[nix-shell:~/iohk/iohk-ops]$ io --help
To hack on the iohk-ops
tool, use
% nix-shell -A ioSelfBuild
[nix-shell:~/iohk/iohk-ops]$ type io
io is a function
io ()
{
runhaskell -iiohk iohk/iohk-ops.hs "$@"
}
[nix-shell:~/iohk/iohk-ops]$ io --help
This will provide a Haskell environment where you can use io
to run
the script or ghci
for development.
$(nix-build --no-out-link https://github.com/input-output-hk/iohk-ops/archive/master.tar.gz -A iohk-ops)/bin/iohk-ops --help