Class: CiCd::Builder::Manifest::Runner

Inherits:
ChefRepo::Runner
  • Object
show all
Includes:
Build, Repo
Defined in:
lib/cicd/builder/manifest.rb

Constant Summary

Constants included from Build

Build::EXT_RGX, Build::MMP_RGX, Build::VER_RGX

Instance Method Summary collapse

Methods included from Repo

#getRepoClass

Methods included from Build

#cleanupAfterPackaging, #getVersionBuild, #getVersionBuildFromName, #packageBuild, #prepareBuild

Constructor Details

#initializeRunner



19
20
21
22
# File 'lib/cicd/builder/manifest.rb', line 19

def initialize()
  super
  @default_options[:builder] = VERSION
end

Instance Method Details

#getBuilderVersionObject



25
26
27
28
29
30
31
32
# File 'lib/cicd/builder/manifest.rb', line 25

def getBuilderVersion
  {
      version:  VERSION,
      major:    MAJOR,
      minor:    MINOR,
      patch:    PATCH,
  }
end

#setupObject



35
36
37
38
39
40
41
42
43
# File 'lib/cicd/builder/manifest.rb', line 35

def setup()
  $stdout.write("ManifestBuilder v#{CiCd::Builder::Manifest::VERSION}\n")
  @default_options[:env_keys] << %w(
                                    MANIFEST_FILE
                                    CLASSES_FILE
                                    CLASSES_MANIFEST_FILE
                                   )
  super
end