idlc-sdk-pfm 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/idlc-sdk-pfm.gemspec +0 -1
- data/lib/idlc-sdk-pfm/command/package.rb +4 -2
- data/lib/idlc-sdk-pfm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 353dd70c34a0fd356670852511a56546fd8f4a2f516b8f2ca20f4a772b6783b5
|
4
|
+
data.tar.gz: de028e118450a25bbf444440479c14a5036c83f377c62abdb1aa6b5461068f34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08b640d6ab233b573cf542e32b799d035d78ee4f71c7a94dec9158618f0e26a7237067b1cf8642c65ee6564d754cfa7177eeda96453e158608718b14ef9bcb92'
|
7
|
+
data.tar.gz: 9ac71455cbb8b7072ab28ba536859842c408b79269096df73d3c9dc1a1280f4749ea6733eff4a08bd40efe740a635b8310af0ad977bd8276839cc0f47aa97a3e
|
data/idlc-sdk-pfm.gemspec
CHANGED
@@ -13,7 +13,6 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.description = 'Provides the pfm executable for idlc-sdk. This gem is part of the IDLC SDK'
|
14
14
|
spec.homepage = 'https://github.com/nathantcz/idlc-sdk'
|
15
15
|
spec.license = 'MIT'
|
16
|
-
spec.has_rdoc = 'yard'
|
17
16
|
spec.executables << 'pfm'
|
18
17
|
|
19
18
|
spec.metadata = {
|
@@ -72,7 +72,9 @@ module Pfm
|
|
72
72
|
|
73
73
|
# upload to s3
|
74
74
|
s3 = Aws::S3::Resource.new(region: SETTINGS['AWS_REGION'])
|
75
|
-
|
75
|
+
bucket_name = Idlc::SERVICES[SETTINGS['AWS_REGION']]['build']['publish_bucket']
|
76
|
+
|
77
|
+
obj = s3.bucket(bucket_name).object(package_name)
|
76
78
|
obj.upload_file(dest_zip)
|
77
79
|
msg('Pushed package to S3.'.colorize(:green))
|
78
80
|
|
@@ -87,7 +89,7 @@ module Pfm
|
|
87
89
|
body: {
|
88
90
|
application_name: @config[:application_name],
|
89
91
|
revision: REPO_VERSION,
|
90
|
-
artifact_path: "s3
|
92
|
+
artifact_path: "s3://#{bucket_name}/#{package_name}",
|
91
93
|
configuration_schema: JSON.parse(File.read('configuration.schema.json'))
|
92
94
|
}
|
93
95
|
}
|
data/lib/idlc-sdk-pfm/version.rb
CHANGED