Skip to content

Commit fe01715

Browse files
authored
Merge pull request #40 from input-output-hk/next-2025-01-21
Ephemeral module, kes rotations, icc secrets
2 parents 044d4ea + 63c1ca7 commit fe01715

File tree

184 files changed

+3159
-290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+3159
-290
lines changed

Justfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -981,8 +981,8 @@ start-demo:
981981
BYRON_SIGNING_KEY="$KEY_DIR"/utxo-keys/shelley.000.skey \
982982
ERA_CMD="alonzo" \
983983
nix run .#job-move-genesis-utxo
984-
echo "Sleeping 7 seconds until $(date -d @$(($(date +%s) + 7)))"
985-
sleep 7
984+
echo "Sleeping 10 seconds until $(date -d @$(($(date +%s) + 10)))"
985+
sleep 10
986986
echo
987987
fi
988988

@@ -991,15 +991,15 @@ start-demo:
991991
POOL_RELAY_PORT=3001 \
992992
ERA_CMD="alonzo" \
993993
nix run .#job-register-stake-pools
994-
echo "Sleeping 7 seconds until $(date -d @$(($(date +%s) + 7)))"
995-
sleep 7
994+
echo "Sleeping 10 seconds until $(date -d @$(($(date +%s) + 10)))"
995+
sleep 10
996996
echo
997997

998998
echo "Delegating rewards stake key..."
999999
ERA_CMD="alonzo" \
10001000
nix run .#job-delegate-rewards-stake-key
1001-
echo "Sleeping 160 seconds until $(date -d @$(($(date +%s) + 160)))"
1002-
sleep 160
1001+
echo "Sleeping 100 seconds until $(date -d @$(($(date +%s) + 100)))"
1002+
sleep 100
10031003
echo
10041004

10051005
echo "Forking to babbage..."

README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,27 +50,36 @@ If needed, a new secret can be generated with `age-keygen`.
5050

5151
## SSH
5252

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

5757
just save-ssh-config
5858

5959
With that you can then get started with:
6060

61-
# Listing machines
61+
# List machines
6262
just list-machines
6363

64-
# Ssh to machines
64+
# Ssh to a newly provisioned machine
65+
just ssh-bootstrap $MACHINE
66+
67+
# Deploy to a newly provisioned machine
68+
just apply-bootstrap $MACHINE
69+
70+
# Ssh to a machine already deployed
6571
just ssh $MACHINE
6672

67-
# Finding other operations recipes to use
73+
# Deploy to a machine already deployed
74+
just apply $MACHINE
75+
76+
# Find many other operations recipes to use
6877
just --list
6978

7079
## Cloudformation
7180

7281
We bootstrap our infrastructure using AWS Cloudformation, it creates resources
73-
like S3 Buckets, a DNS zone, KMS key, and OpenTofu state storage.
82+
like S3 Buckets, a DNS Zone, KMS key, and OpenTofu state storage.
7483

7584
The distinction of what is managed by Cloudformation and OpenTofu is not very
7685
strict, but generally anything that is not of the mentioned resource types will
@@ -114,7 +123,11 @@ To deploy changes on an OS level, we use the excellent
114123

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

117-
To deploy a machine:
126+
To deploy a machine for the first time:
127+
128+
just apply-bootstrap $MACHINE
129+
130+
To subsequently deploy a machine:
118131

119132
just apply $MACHINE
120133

@@ -132,4 +145,4 @@ Or simply decrypt a KMS or sops age secret with:
132145

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

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

docs/explain/old-node-configs.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
4949
## Version Reference:
5050
51+
* Node `10.1.4`
52+
* Environment configs can be found in `result/environments/config/` after running:
53+
```bash
54+
nix run github:input-output-hk/cardano-playground/node-10.1.4-config#job-gen-env-config
55+
5156
* Node `10.1.3`
5257
* Environment configs can be found in `result/environments/config/` after running:
5358
```bash

flake.lock

Lines changed: 22 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
nixpkgs.follows = "cardano-parts/nixpkgs";
66
nixpkgs-unstable.follows = "cardano-parts/nixpkgs-unstable";
77
flake-parts.follows = "cardano-parts/flake-parts";
8-
cardano-parts.url = "github:input-output-hk/cardano-parts/v2025-01-17";
9-
# cardano-parts.url = "path:/home/jlotoski/work/iohk/cardano-parts-wt/v2025-01-17";
8+
cardano-parts.url = "github:input-output-hk/cardano-parts/v2025-02-04";
9+
# cardano-parts.url = "path:/home/jlotoski/work/iohk/cardano-parts-wt/v2025-02-04";
1010

1111
# Local pins for additional customization:
1212
cardano-node-hd.url = "github:IntersectMBO/cardano-node/utxo-hd-9.0";
@@ -22,11 +22,6 @@
2222
cardano-node-pparams-api.url = "github:johnalotoski/cardano-node-pparams-api";
2323

2424
cardano-new-tracing.url = "github:IntersectMBO/cardano-node/jutaro/new_tracing10_1_2";
25-
26-
cardano-node-peerSnapshotFile = {
27-
url = "github:IntersectMBO/cardano-node/jl/nixos-svc-peerSnapshotFile";
28-
flake = false;
29-
};
3025
};
3126

3227
outputs = inputs: let

0 commit comments

Comments
 (0)