Skip to content

Commit

Permalink
imp: initial machine standup
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Apr 25, 2024
1 parent 7ce8910 commit 1197407
Show file tree
Hide file tree
Showing 7 changed files with 1,660 additions and 141 deletions.
4 changes: 4 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ apply *ARGS:
apply-all *ARGS:
colmena apply --verbose {{ARGS}}

# Deploy select machines with the bootstrap key
apply-bootstrap *ARGS:
SSH_CONFIG=<(sed -i '6i IdentityFile .ssh_key' .ssh_config) colmena apply --verbose --on {{ARGS}}

# Build the prod cardano book
build-book-prod:
#!/usr/bin/env bash
Expand Down
27 changes: 17 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,31 @@
</p>

<p align="center">
Welcome to the Cardano $REPO Repository
Welcome to the Ouroboros-network-ops Repository
<br />
</p>

Cardano is a decentralized third-generation proof-of-stake blockchain platform and home to the ada cryptocurrency.
It is the first blockchain platform to evolve out of a scientific philosophy and a research-first driven approach.
Cardano is a decentralized third-generation proof-of-stake blockchain platform
and home to the ada cryptocurrency. It is the first blockchain platform to
evolve out of a scientific philosophy and a research-first driven approach.

# Cardano $REPO
# Ouroboros-network-ops

The $REPO project serves as ...
The ouroboros-network-ops project serves as a cardano-node test cluster for the
network team.

It utilizes [flake-parts](https://flake.parts/) and re-usable
nixosModules and flakeModules from [cardano-parts](https://github.com/input-output-hk/cardano-parts).
It utilizes [flake-parts](https://flake.parts/) and re-usable nixosModules and
flakeModules from
[cardano-parts](https://github.com/input-output-hk/cardano-parts).

## Getting started

While working on the next step, you can already start the devshell using:

nix develop

This will be done automatically if you are using [direnv](https://direnv.net/).
This will be done automatically if you are using [direnv](https://direnv.net/)
and issue `direnv allow`.

## AWS

Expand All @@ -44,10 +48,13 @@ SRE cluster secret in `~/.age/credentials`:
# $REPO: sre
AGE-SECRET-KEY-***********************************************************

If needed, a new secret can be generated with `age-keygen`.

## SSH

If your credentials are correct, you will be able to access SSH after creating
an `./.ssh_config` using:
If your credentials are correct, and the cluster is already bootstrapped with
openTofu infrastructure, you will be able to access SSH after creating an
`./.ssh_config` using:

just save-ssh-config

Expand Down

0 comments on commit 1197407

Please sign in to comment.