manifest-builder 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cicd/builder/manifest/mixlib/repo/artifactory.rb +12 -11
- data/lib/cicd/builder/manifest/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95e147aba1f376b4b337040e53f40e87467c8a65
|
4
|
+
data.tar.gz: 8bbffe5a8e5a26d32b7fd69a5724d39b16bab530
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69b4123af234dba7578882ac48e563a59b72c86f450ac77f0c3db9e86df003fd9c66754ba0e605469c9d089cf8d4cd0fc9293c608a8a2adb67cf67bc861c24ad
|
7
|
+
data.tar.gz: 59ff919e6bb0c17aa29f8ce65921c536f4c138498a985de1a7d02c8d80c98e72548e4777d55aff9d174cbe0891e6ec218487a9e72acf04433cb41b4f1cf8df94
|
data/Gemfile.lock
CHANGED
@@ -67,16 +67,17 @@ module CiCd
|
|
67
67
|
@vars[:return_code] = Errors::NO_PROJECT_NAMES
|
68
68
|
end
|
69
69
|
end
|
70
|
+
exts = {}
|
70
71
|
exts = Hash[@vars[:artifacts].map { |a| [a[:data][:name], File.basename(a[:data][:file]).match(CiCd::Builder::Manifest::Build::EXT_RGX)[1]] }]
|
71
|
-
@
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
72
|
+
@vars[:artifacts].each do |art|
|
73
|
+
prod = art[:data][:name]
|
74
|
+
mod = art[:data][:module]
|
75
|
+
projects[prod] = {
|
76
|
+
name: project_names[prod] || prod,
|
77
|
+
module: mod,
|
78
|
+
ext: exts[prod],
|
79
|
+
class_filter: '',
|
80
|
+
}
|
80
81
|
end
|
81
82
|
@logger.info "Save PROJECTS_FILE: #{ENV['PROJECTS_FILE']}"
|
82
83
|
IO.write(ENV['PROJECTS_FILE'], JSON.pretty_generate(projects, {indent: "\t", space: ' '}))
|
@@ -107,7 +108,7 @@ module CiCd
|
|
107
108
|
key: amn,
|
108
109
|
data: data.dup,
|
109
110
|
}
|
110
|
-
manifest[amn]={ amn => "#{@vars[:build_ver]}-#{@vars[:build_num]}" }
|
111
|
+
# manifest[amn]={ amn => "#{@vars[:build_ver]}-#{@vars[:build_num]}" }
|
111
112
|
|
112
113
|
maybeUploadArtifactoryObject(data: data, artifact_module: amn, artifact_version: data[:version] || @vars[:version], file_name: '', file_ext: 'properties')
|
113
114
|
end
|
@@ -137,7 +138,7 @@ module CiCd
|
|
137
138
|
data: data.dup,
|
138
139
|
}
|
139
140
|
# noinspection RubyStringKeysInHashInspection
|
140
|
-
manifest["#{mod}-manifest"]={ "#{mod}-manifest" => "#{@vars[:build_ver]}-#{@vars[:build_num]}" }
|
141
|
+
# manifest["#{mod}-manifest"]={ "#{mod}-manifest" => "#{@vars[:build_ver]}-#{@vars[:build_num]}" }
|
141
142
|
|
142
143
|
maybeUploadArtifactoryObject(data: data, artifact_module: data[:name], artifact_version: data[:version] || @vars[:version], file_name: '', file_ext: 'properties') # -#{@vars[:variant]}
|
143
144
|
end
|