Skip to content

Commit

Permalink
tmpl: update the flake template readme
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Jan 17, 2025
1 parent 901c12b commit 64e3c59
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions templates/cardano-parts-project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,30 @@ If needed, a new secret can be generated with `age-keygen`.

## SSH

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

just save-ssh-config

With that you can then get started with:

# Listing machines
# List machines
just list-machines

# Ssh to machines
# Ssh to a newly provisioned machine
just ssh-bootstrap $MACHINE

# Deploy to a newly provisioned machine
just apply-bootstrap $MACHINE

# Ssh to a machine already deployed
just ssh $MACHINE

# Finding other operations recipes to use
# Deploy to a machine already deployed
just apply $MACHINE

# Find many other operations recipes to use
just --list

## Cloudformation
Expand Down Expand Up @@ -112,7 +121,11 @@ To deploy changes on an OS level, we use the excellent

All colmena configuration is in `./flake/colmena.nix`.

To deploy a machine:
To deploy a machine for the first time:

just apply-bootstrap $MACHINE

To subsequently deploy a machine:

just apply $MACHINE

Expand All @@ -130,4 +143,4 @@ Or simply decrypt a KMS or sops age secret with:

sops -d ./secrets/github-token.enc

See also the `just sops-<encrypt|decrypt>-binary` recipes for encrypting or decrypting age binary blobs.
See also the `just sops-<encrypt|decrypt>-binary` and similar recipes for encrypting or decrypting age binary blobs.

0 comments on commit 64e3c59

Please sign in to comment.