scripts/deploy: print a deployment plan before executing it
This commit is contained in:
@@ -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 (...earlyHosts)
|
||||||
deployHosts (...lateHosts)
|
deployHosts (...lateHosts)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user