Skip to content
This repository was archived by the owner on Aug 17, 2023. It is now read-only.

Files

Latest commit

bf6ee32 · Apr 26, 2022

History

History

infra

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 6, 2021
Apr 26, 2022
Dec 6, 2021
Jan 24, 2022
Dec 24, 2021
Apr 22, 2022
Dec 15, 2021
Dec 6, 2021
Feb 15, 2022
Dec 6, 2021
Dec 24, 2021
Mar 24, 2022
Apr 26, 2022
Apr 26, 2022

Adrestia Infrastructure

Here are the sources for our deployment at adrestia.iohkdev.io.

Getting started

Ensure that you have Nix >= v2.6.0.

Either use nix develop to get an infra shell, or enable nix-direnv.

Deployment credentials

The deployment keys are fetched from our shared folder in Vaultwarden using the bw CLI.

Run bw login then save the BW_SESSION=... value into .state/session.env.

Test that credential fetching is working with:

$ ./scripts/fetch.sh adrestia_test
It works!

Create deployment

Run update-nixops to set up the nixops database and install necessary AWS credentials.