Sha256: ae299a767f4b2f575f415aec7b2f354a4da8883d326eafbe61b828f051c61b6b

Contents?: true

Size: 1.38 KB

Versions: 15

Compression:

Stored size: 1.38 KB

Contents

require 'cicd/builder/chefrepo'

module CiCd
  module Builder
    _lib=File.dirname(__FILE__)
    $:.unshift(_lib) unless $:.include?(_lib)

    require 'cicd/builder/manifest/version'

    module Manifest
      class Runner < ChefRepo::Runner
        require 'cicd/builder/manifest/mixlib/build'
        require 'cicd/builder/manifest/mixlib/repo'
        include CiCd::Builder::Manifest::Build
        include CiCd::Builder::Manifest::Repo

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

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

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

      end
    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
manifest-builder-0.6.0 lib/cicd/builder/manifest.rb
manifest-builder-0.5.15 lib/cicd/builder/manifest.rb
manifest-builder-0.5.14 lib/cicd/builder/manifest.rb
manifest-builder-0.5.13 lib/cicd/builder/manifest.rb
manifest-builder-0.5.12 lib/cicd/builder/manifest.rb
manifest-builder-0.5.11 lib/cicd/builder/manifest.rb
manifest-builder-0.5.10 lib/cicd/builder/manifest.rb
manifest-builder-0.5.8 lib/cicd/builder/manifest.rb
manifest-builder-0.5.7 lib/cicd/builder/manifest.rb
manifest-builder-0.5.6 lib/cicd/builder/manifest.rb
manifest-builder-0.5.5 lib/cicd/builder/manifest.rb
manifest-builder-0.5.4 lib/cicd/builder/manifest.rb
manifest-builder-0.5.2 lib/cicd/builder/manifest.rb
manifest-builder-0.5.1 lib/cicd/builder/manifest.rb
manifest-builder-0.5.0 lib/cicd/builder/manifest.rb