Skip to content

Commit 14754b8

Browse files
authored
Merge pull request #51 from input-output-hk/next-2025-08-07
Node 10.6.0 pre-release
2 parents 401b1ad + cd42610 commit 14754b8

File tree

154 files changed

+7200
-1677
lines changed

Some content is hidden

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

154 files changed

+7200
-1677
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*.cert
22
/cloudFormation/
3-
/.direnv
3+
/.direnv*
44
/.envrc.local
55
/.gcroots
66
/*.log

.sops.yaml

Lines changed: 15 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ keys:
44

55
# Misc
66
- &misc1-metadata-a-1 age187hd0pffv549vfcmnw5u9yg3fck9e4psesz2xchrklqjqepccd7s6vlkcv
7+
- &misc1-wg-a-1 age1ryvlcaajedpnkdyugnre6yysht5ahkn3yrwz48wvywpn2sxwfqtqrc8qmn
8+
- &misc1-wg-b-1 age1tsyap098spn8j6nshvc56y4cucfuxr53wcapdy39lxqm8qfuvf7qd60m06
79

810
# Preprod
911
- &preprod1-bp-a-1 age1zhewzr3r8u4qmu9c5asw0vv9pw9qxvah9y60reu5uggrr8vrd95skhn3q3
@@ -18,25 +20,8 @@ keys:
1820
- &preview2-bp-b-1 age1jcfeznfkxx2rmeej9f4frvnjqkxdpd9kg56l57nmtamq53802fjq7x2y69
1921
- &preview3-bp-c-1 age13tc9mjgu7hwfxsa84hq0tcz7eeg9m6f0fmg8gzxwme30pfxf7g4sfk2y0k
2022

21-
# Private
22-
- &private1-bp-a-1 age1pwmcf9nez82glwzk3mfcfyv0wnc4yev8pjhxk43fwgcr3m8yjsesjdfha0
23-
- &private1-dbsync-a-1 age1q435aw99zpavtn5ce770jesh3th0ghne8jkt5mse8zscpp5r2ghsark64e
24-
- &private1-faucet-a-1 age1lack6chc6czx8t9sc9ayc3wq0du82ne6l8m5h6lwz8zn6rxz5gqqtpz4z2
25-
- &private2-bp-b-1 age1wewhhymvzljpgy7v9caud2zmgjt7dsdcluvpq8373ueuj5qv435qgn9xae
26-
- &private3-bp-c-1 age1ay9e566ksavc46809vzjzcwlsu06dzr869fdv8qf9p9qu69qva4ssdv4af
27-
2823
# Sanchonet
29-
- &sanchonet1-bp-a-1 age1apa4g9hfjaq9kp95utg5jeqm9zmdhylcfsqmekrl0ptg4wjt53fsrfffy9
30-
- &sanchonet1-dbsync-a-1 age1d5nc5w5th0qzagqa8xqltye2ttsuazury35pgwymyrnzrdk6zezqznv0ua
31-
- &sanchonet1-faucet-a-1 age15cj5hg52ep6ccc4t5xm9ncuf94m2ds4k02lzzvmeykx2z4gc83es5ze452
32-
- &sanchonet2-bp-b-1 age10ethn6sqe2fcx03pev0vddteg9jwe7azydq9glj9eyppdkqy855sxv40k9
33-
- &sanchonet3-bp-c-1 age1hpyzunphtls4tfk5j4dc4rxg55essxd3ht7fweapumfzqe8h5suq0xa699
34-
35-
# Shelley-qa
36-
- &shelley-qa1-bp-a-1 age1xxu6w2sftwxp5aef9yes20wegwv62pwhg7jzvt60q4ucwl6eyfaskjgqfu
37-
- &shelley-qa1-faucet-a-1 age1pcg2a9pzfcl6jwkzchyhlg30nznfaaecjwnpy2am6mhq8kvgf9msudxt5a
38-
- &shelley-qa2-bp-b-1 age1pzcdrzm9j4pxar6nx9wu7le95apw7gu4838s22u7evycydcunu3qw7eafy
39-
- &shelley-qa3-bp-c-1 age19ulgvpe2wnvmu6tujae0ekn2stz46ntw0n03et4ctjk8nawa25eq6luw8f
24+
- &sanchonet1-bp-a-1 age1sxhjqwnuf5duczjv5fwle492jpm7fhwunkwhp6agle6y75yqdeas586aaj
4025

4126
# Mainnet, non-prod testing machines
4227
- &mainnet1-rel-a-1 age16m0sd0pyme79ds8jd380ctuc23p570djl0rnrp6xt28tce5ltvyql4hdgn
@@ -120,106 +105,40 @@ creation_rules:
120105
- *sre
121106
- *preview3-bp-c-1
122107

123-
# Private specific
124-
- path_regex: secrets/groups/private1/deploy/.*govtool-backend.*$
125-
key_groups:
126-
- age:
127-
- *sre
128-
- *private1-dbsync-a-1
129-
130-
- path_regex: secrets/groups/private1/deploy/.*faucet.*$
131-
key_groups:
132-
- age:
133-
- *sre
134-
- *private1-faucet-a-1
135-
136-
- path_regex: secrets/groups/private1/deploy/.*$
137-
key_groups:
138-
- age:
139-
- *sre
140-
- *private1-bp-a-1
141-
142-
- path_regex: secrets/groups/private2/deploy/.*$
143-
key_groups:
144-
- age:
145-
- *sre
146-
- *private2-bp-b-1
147-
148-
- path_regex: secrets/groups/private3/deploy/.*$
149-
key_groups:
150-
- age:
151-
- *sre
152-
- *private3-bp-c-1
153-
154108
# Sanchonet specific
155-
- path_regex: secrets/groups/sanchonet1/deploy/.*govtool-backend.*$
156-
key_groups:
157-
- age:
158-
- *sre
159-
- *sanchonet1-dbsync-a-1
160-
161-
- path_regex: secrets/groups/sanchonet1/deploy/.*faucet.*$
162-
key_groups:
163-
- age:
164-
- *sre
165-
- *sanchonet1-faucet-a-1
166-
167109
- path_regex: secrets/groups/sanchonet1/deploy/.*$
168110
key_groups:
169111
- age:
170112
- *sre
171113
- *sanchonet1-bp-a-1
172114

173-
- path_regex: secrets/groups/sanchonet2/deploy/.*$
174-
key_groups:
175-
- age:
176-
- *sre
177-
- *sanchonet2-bp-b-1
178-
179-
- path_regex: secrets/groups/sanchonet3/deploy/.*$
180-
key_groups:
181-
- age:
182-
- *sre
183-
- *sanchonet3-bp-c-1
184-
185-
# Shelley-qa specific
186-
- path_regex: secrets/groups/shelley-qa1/deploy/.*faucet.*$
187-
key_groups:
188-
- age:
189-
- *sre
190-
- *shelley-qa1-faucet-a-1
191-
192-
- path_regex: secrets/groups/shelley-qa1/deploy/.*$
193-
key_groups:
194-
- age:
195-
- *sre
196-
- *shelley-qa1-bp-a-1
197-
198-
- path_regex: secrets/groups/shelley-qa2/deploy/.*$
115+
# Mainnet non-prod specific
116+
- path_regex: secrets/groups/mainnet1/deploy/.*$
199117
key_groups:
200118
- age:
201119
- *sre
202-
- *shelley-qa2-bp-b-1
120+
- *mainnet1-rel-a-1
203121

204-
- path_regex: secrets/groups/shelley-qa3/deploy/.*$
122+
# Miscellaneous group specific, metadata server
123+
- path_regex: secrets/groups/misc1/deploy/.*metadata.*$
205124
key_groups:
206125
- age:
207126
- *sre
208-
- *shelley-qa3-bp-c-1
127+
- *misc1-metadata-a-1
209128

210-
# Mainnet non-prod specific
211-
- path_regex: secrets/groups/mainnet1/deploy/.*$
129+
# Miscellaneous group specific, wireguard tunnel
130+
- path_regex: secrets/groups/misc1/deploy/.*wg-a-1.*$
212131
key_groups:
213132
- age:
214133
- *sre
215-
- *mainnet1-rel-a-1
134+
- *misc1-wg-a-1
216135

217-
# Miscellaneous group specific
218-
- path_regex: secrets/groups/misc1/deploy/.*metadata.*$
136+
# Miscellaneous group specific, wireguard tunnel arn
137+
- path_regex: secrets/groups/misc1/deploy/.*wg-b-1.*$
219138
key_groups:
220139
- age:
221140
- *sre
222-
- *misc1-metadata-a-1
141+
- *misc1-wg-b-1
223142

224143
# Temporary buildkite testing
225144
- path_regex: secrets/buildkite/.*$

Justfile

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ checkSshConfig := '''
112112
| where ($it.machine | str ends-with ".ipv4")
113113
| rename machine pubIpv4
114114
| update machine { $in | str replace ".ipv4" "" }
115+
| update pubIpv4 { $in | if $in == "unavailable.ipv4" { null } else { $in } }
115116
| sort-by machine
116117
)
117118
@@ -283,8 +284,17 @@ cardano-testnet isNg *ARGS:
283284
cf STACKNAME:
284285
#!/usr/bin/env nu
285286
mkdir cloudFormation
287+
let secretName = (nix eval --raw '.#cardano-parts.cluster.infra.generic.costCenter')
288+
let costCenter = (
289+
just sops-decrypt-binary secrets/tf/cluster.tfvars
290+
| lines
291+
| where { |it| $it =~ $secretName }
292+
| parse $"($secretName) = \"{secret}\""
293+
| get 0.secret
294+
| to text
295+
)
286296
nix eval --json '.#cloudFormation.{{STACKNAME}}' | from json | save --force 'cloudFormation/{{STACKNAME}}.json'
287-
rain deploy --debug --termination-protection --yes ./cloudFormation/{{STACKNAME}}.json
297+
rain deploy --debug --params costCenter=($costCenter) --termination-protection ./cloudFormation/{{STACKNAME}}.json
288298

289299
# Prep dbsync for delegation analysis
290300
dbsync-prep ENV HOST ACCTS="501":
@@ -400,11 +410,11 @@ dedelegate-pools ENV *IDXS=null:
400410
--wallet-mnemonic <(just sops-decrypt-binary secrets/envs/{{ENV}}/utxo-keys/faucet.mnemonic) \
401411
--delegation-index "$i"
402412

403-
TXID=$(eval "$CARDANO_CLI" latest transaction txid --tx-file tx-deleg-account-$i-restore.txsigned)
413+
TXID=$(eval "$CARDANO_CLI" latest transaction txid --tx-file tx-deleg-account-$i-restore.txsigned | jq -r .txhash)
404414
EXISTS="true"
405415

406416
while [ "$EXISTS" = "true" ]; do
407-
EXISTS=$(eval "$CARDANO_CLI" latest query tx-mempool tx-exists $TXID | jq -r .exists)
417+
EXISTS=$(eval "$CARDANO_CLI" latest query tx-mempool tx-exists $TXID | jq -r .exists || true)
408418
if [ "$EXISTS" = "true" ]; then
409419
echo "Pool de-delegation index $i tx still exists in the mempool, sleeping 5s: $TXID"
410420
else

docs/environments-pre/preprod

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)