Copyright | © 2015-Present Stack Builders |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Definitions for types and functions related to the configuration of the Hapistrano tool.
Synopsis
- data Config = Config {
- configDeployPath :: !(Path Abs Dir)
- configHosts :: ![Target]
- configSource :: !Source
- configRestartCommand :: !(Maybe GenericCommand)
- configBuildScript :: !(Maybe [GenericCommand])
- configCopyFiles :: ![CopyThing]
- configCopyDirs :: ![CopyThing]
- configLinkedFiles :: ![FilePath]
- configLinkedDirs :: ![FilePath]
- configVcAction :: !Bool
- configRunLocally :: !(Maybe [GenericCommand])
- configTargetSystem :: !TargetSystem
- configReleaseFormat :: !(Maybe ReleaseFormat)
- configKeepReleases :: !(Maybe Natural)
- configKeepOneFailed :: !Bool
- configWorkingDir :: !(Maybe (Path Rel Dir))
- configMaintenanceDirectory :: !(Path Rel Dir)
- configMaintenanceFileName :: !(Path Rel File)
- data CopyThing = CopyThing FilePath FilePath
- data Target = Target {
- targetHost :: String
- targetPort :: Word
- targetShell :: Shell
- targetSshArgs :: [String]
- deployStateFilename :: String
Documentation
Hapistrano configuration typically loaded from hap.yaml
file.
Config | |
|
Information about source and destination locations of a file/directory to copy.
Datatype that holds information about the target host.
Target | |
|
deployStateFilename :: String Source #
Constant with the name of the file used to store the deployment state information.
Orphan instances
FromJSON TargetSystem Source # | |
parseJSON :: Value -> Parser TargetSystem # parseJSONList :: Value -> Parser [TargetSystem] # |