uc3-sam-sceptre 0.0.27 → 0.0.29

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: 6f7b9764a42ded1f8d7855c2cf22a0ada89a10d814ed9999924851237cfcd77c
4
- data.tar.gz: defd899b8c31d43532870d589848fc3127548b2053b6c80491f5bb077648d32e
3
+ metadata.gz: dfbe80461ced506a6017f74db09f684f87878b62986640cd58d97814fecfce3c
4
+ data.tar.gz: 80c8f1358da3a3b3d40ebf7d77bd9cdf2083cc42c71045665721144a663a69b3
5
5
  SHA512:
6
- metadata.gz: ae948e49092c85c543e8c2526c075ea6ec6a4759de1469b4b0e902e6c23c55c7aec441d325f00c7a74ed0c38a837aa2306a4007a7b02842d02a01cd469ef395a
7
- data.tar.gz: 68ed2adc319ad83f1362471419aab38db32917d909d99d52ec6ca32766851cbddfe226e6d7c392ceebde8ba46bc0dcea0922d07825500d0c839de52a6c70d15e
6
+ metadata.gz: 4438ac3fb0bb10f78d122bb14adc98364b343f471987f4c62308cb05e1a2aeb64208b8218c39f31b54ada8c5b23e8bfe05d23a524ba28f87e390d5cd67678350
7
+ data.tar.gz: 923cd9f3832528c1e05c63bfaa40681d9449e3f26e3c75c3e3731c801974fb74415b4e6b738f33168b180b557720df132028925ab9946b82082698a4e7578d18
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.27'
4
+ VERSION = '0.0.29'
5
5
  end
@@ -34,6 +34,7 @@ module Uc3SamSceptre
34
34
  @stack_suffix = params[:stack_suffix]
35
35
  @ecr_uri_key = params[:ecr_uri_key]
36
36
  @s3_arn_key = params[:s3_arn_key]
37
+ @s3_url_key = params[:s3_url_key]
37
38
  @admin_email_key = params[:admin_email_key]
38
39
 
39
40
  @auto = params.fetch(:auto, false)
@@ -67,12 +68,17 @@ module Uc3SamSceptre
67
68
  # Run a SAM package (build and upload to the S3 bucket or ECR)
68
69
  def package
69
70
  args = [
70
- "--force-upload"
71
+ "--force-upload",
71
72
  "--metadata #{_sam_tags(admin_email: true).join(',')}"
72
73
  ]
73
74
  args << "--s3-bucket #{_locate_value(key: @s3_arn_key)&.gsub('arn:aws:s3:::', '')}" unless @s3_arn_key.nil?
74
75
  args << "--s3-prefix #{@stack_name}" unless @s3_arn_key.nil?
75
76
  args << "--image-repository #{_locate_value(key: @ecr_uri_key)}" unless @ecr_uri_key.nil?
77
+
78
+ puts "S3 BUCKET: #{@s3_arn_key}"
79
+ pp args
80
+ puts "ARGS: #{args.join(' ')}"
81
+
76
82
  system "sam package #{args.join(' ')}"
77
83
  end
78
84
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-sam-sceptre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-21 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-cloudformation