Sha256: 111cb3f09e3373a56706d15d3be6c8a04e68bc3c85989e59816008ed6ab26a5a
Contents?: true
Size: 1.73 KB
Versions: 2
Compression:
Stored size: 1.73 KB
Contents
require 'cicd/builder/manifest' module CiCd module Builder _lib=File.dirname(__FILE__) $:.unshift(_lib) unless $:.include?(_lib) require 'cicd/builder/environments-list/version' module EnvironmentsList class Runner < Manifest::Runner require 'cicd/builder/environments-list/mixlib/build' include CiCd::Builder::EnvironmentsList::Build require 'cicd/builder/environments-list/mixlib/repo' include CiCd::Builder::EnvironmentsList::Repo # --------------------------------------------------------------------------------------------------------------- def initialize() super @klass = 'CiCd::Builder::EnvironmentsList' @default_options[:builder] = VERSION end # --------------------------------------------------------------------------------------------------------------- def getBuilderVersion { version: VERSION, major: MAJOR, minor: MINOR, patch: PATCH, } end # --------------------------------------------------------------------------------------------------------------- def setup() $stdout.write("EnvironmentsListBuilder v#{CiCd::Builder::EnvironmentsList::VERSION}\n") @default_options[:env_keys] << %w( REPO_PRODUCTS ARTIFACTORY_RELEASE_REPO ARTIFACTORY_ENVIRONMENTS_MODULE ) @default_options[:env_keys] = @default_options[:env_keys].select{|key| key !~ /^CLASSES/} super end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
environments-list-builder-0.2.0 | lib/cicd/builder/environments-list.rb |
environments-list-builder-0.1.9 | lib/cicd/builder/environments-list.rb |