def deploy_all

near-v-framework@0.4.0.0 · domain/architecture/system/effects.bend:423

import near-v-framework@0.4.0.0/domain/architecture/system/effects.bend as Effects
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend as X
import near-v-framework@0.4.0.0/domain/architecture/type.bend as A
import near-v-framework@0.4.0.0/domain/architecture/ops.bend as O
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/ops.bend as DO
import near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend as P

423# A deploy of the whole plan; afterwards it records the deployment, so the next plan compares against it.
424def deploy_all(+root: String, +entry: String, +a: A.Architecture) -> IO(Unit):
425  do IO<Unit>:
426    +steps : List<&2, P.Step> <- plan_all(root, entry, a)
427    deploy(root, steps)
428    X.write(deployed_path(root), DO.record(O.deployment(a)))

Uses (13)

Used by (0)

No other definition uses this definition.