scripts/deploy: print a deployment plan before executing it

This commit is contained in:
2025-05-17 01:42:23 +00:00
parent 997e901fee
commit ba657ae647

View File

@@ -302,6 +302,18 @@ proc main (...args) {
}
}
info "build plan -----"
# TODO: dedupe this logic with `deployHosts`
for hset in (earlyHosts, lateHosts) {
for v in (variants) {
for h in (hset) {
info "- $h$v"
}
}
}
info "-----"
deployHosts (...earlyHosts)
deployHosts (...lateHosts)