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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d50da91becd2911aab532fb8391d298fbeeb6e400549bf97604191e88063d5e
4
- data.tar.gz: 6b2f6c72375da99d4e23b5f498f3b1b3cb97c0a42fc90cd033c06d88e4302496
3
+ metadata.gz: 353dd70c34a0fd356670852511a56546fd8f4a2f516b8f2ca20f4a772b6783b5
4
+ data.tar.gz: de028e118450a25bbf444440479c14a5036c83f377c62abdb1aa6b5461068f34
5
5
  SHA512:
6
- metadata.gz: da6a82261221dada81dc5e2a3033035f694ebb26d19fda3f7accdc8ce0983cad9b29c056096ec100812c9d22f5e6bfc68d68075105d8084f5cae744e6756ac13
7
- data.tar.gz: f6ade30822d130a2c7ae2a8dfb22038c6765bec5ca3701077d9e3cfa495fa2e492e9cf2bd3f5ba838601b4cef6a607d182407be9fe25c7a4af54d095ac8e270e
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
- obj = s3.bucket('service-build-dev-build-artifacts').object(package_name)
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://service-build-dev-build-artifacts/#{package_name}",
92
+ artifact_path: "s3://#{bucket_name}/#{package_name}",
91
93
  configuration_schema: JSON.parse(File.read('configuration.schema.json'))
92
94
  }
93
95
  }
@@ -1,3 +1,3 @@
1
1
  module Pfm
2
- VERSION = '1.1.2'.freeze
2
+ VERSION = '1.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idlc-sdk-pfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell