cicd-builder 0.9.29 → 0.9.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43b046d8964915ca088ec9c390dd871de1f7a1d0
|
|
4
|
+
data.tar.gz: a9b241bf89301f531bde18126ff8fd0920d4870c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25df5d46329a2697d45f61bd84a54daaf4177a7c5ad841fc4c029f542fcb36b62a32c768e48f327da4159d43acb3b338e460dd9293fba5a6246dab4819088df4
|
|
7
|
+
data.tar.gz: 862aebbb48e63c7c7e13b90ccfc486862e25e55a709162f7908039a096a465ccb8387372704f9332f83f4ec8b38c02ec852dd3d0995d1c3485535cf01aad3080
|
data/Gemfile.lock
CHANGED
|
@@ -6,12 +6,13 @@ module CiCd
|
|
|
6
6
|
require 'cicd/builder/mixlib/repo/base'
|
|
7
7
|
require 'cicd/builder/mixlib/repo/S3'
|
|
8
8
|
# noinspection RubyResolve
|
|
9
|
-
if ENV.has_key?('REPO_TYPE') and (not ENV['REPO_TYPE'].capitalize.
|
|
9
|
+
if ENV.has_key?('REPO_TYPE') and (not ENV['REPO_TYPE'].capitalize.eql?('S3'))
|
|
10
10
|
require "cicd/builder/mixlib/repo/#{ENV['REPO_TYPE'].downcase}"
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
# ---------------------------------------------------------------------------------------------------------------
|
|
14
14
|
def getRepoClass(type = nil)
|
|
15
|
+
@logger.info __method__.to_s
|
|
15
16
|
if type.nil?
|
|
16
17
|
type ||= 'S3'
|
|
17
18
|
if ENV.has_key?('REPO_TYPE')
|
|
@@ -19,6 +20,7 @@ module CiCd
|
|
|
19
20
|
end
|
|
20
21
|
end
|
|
21
22
|
|
|
23
|
+
@logger.info "#{type} repo interface"
|
|
22
24
|
clazz = Object.const_get("CiCd::Builder::Repo::#{type}")
|
|
23
25
|
if block_given?
|
|
24
26
|
if clazz.is_a?(Class) and not clazz.nil?
|
|
@@ -106,7 +106,7 @@ module CiCd
|
|
|
106
106
|
unless file_name.empty? or file_name.match(%r'^-')
|
|
107
107
|
file_name = "-#{file_name}"
|
|
108
108
|
end
|
|
109
|
-
artifact_name = "#{data[:name]}-#{data[:version]}#{file_name}-#{
|
|
109
|
+
artifact_name = "#{data[:name]}-#{data[:version]}#{file_name}-#{data[:build]}.#{file_ext}" # -#{@vars[:variant]}
|
|
110
110
|
artifact_path = "#{artifactory_org_path()}/#{data[:name]}/#{data[:version]}-#{@vars[:variant]}/#{artifact_name}"
|
|
111
111
|
manifest[data[:name]] = artifact_path
|
|
112
112
|
if objects.nil? or objects.size == 0
|
data/lib/cicd/builder/version.rb
CHANGED
|
@@ -4,7 +4,7 @@ module CiCd
|
|
|
4
4
|
# file = File.expand_path("#{File.dirname(__FILE__)}/../../../VERSION")
|
|
5
5
|
# lines = File.readlines(file)
|
|
6
6
|
# version = lines[0]
|
|
7
|
-
version = '0.9.
|
|
7
|
+
version = '0.9.30'
|
|
8
8
|
VERSION = version unless const_defined?('VERSION')
|
|
9
9
|
major, minor, tiny = VERSION.split('.')
|
|
10
10
|
MAJOR = major unless const_defined?('MAJOR')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cicd-builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christo De Lange
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-02
|
|
11
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_print
|