stax 0.0.26 → 0.0.27

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
  SHA256:
3
- metadata.gz: 6e6fcb0dd5f13949967420411e2508aedc9ac0773012d4f6002177a55bcf6ab7
4
- data.tar.gz: 80be2a5b4dcc57cd38e93d987e0ae85a2ba00356d06c618d0a838263a3741b16
3
+ metadata.gz: b3f42098e03903cd5b97a6051eed0a6121ddfc6084a0da58f3c97eb2f4a205d5
4
+ data.tar.gz: c053c277e162491026f12ef084aaa2c8dc0e4de948d6de02da736352a21e6ea1
5
5
  SHA512:
6
- metadata.gz: c83f7900e819a0098345ce9f3714f0a5bc6dea67dc3b835b33195cb81fb268a82d6086d239771f65e1517b4c994ee495dfa0fe79053d92b434e0b14797985b24
7
- data.tar.gz: '0925f546c3160d313922e8e05e6288bcbf5ca0385876d852e3ace09b34c05ecb73d94a8628dfb6e0b8614d42522b712089658d79b4015ad4d46dedbcbeba2bd5'
6
+ metadata.gz: a520c761dd57e5333b0def16e1f193ae02f44afaf2ded7e26432356dbdd59e0c47ccd7d1207354d42c1a2739d3222a36570cfebc923a6ef28b4d069632dac38b
7
+ data.tar.gz: f6b34d5c0872933dfa2d04ad97e0d3bad4bb313d009f38a241fee538226de3a8670e24e6ceca9b62ff023e3f7dfac2b3e333caa1baac6f45d36ab0b2d521d81a
@@ -64,7 +64,9 @@ module Stax
64
64
  def validation
65
65
  stack_acm_certs.each do |r|
66
66
  c = Aws::Acm.describe(r.physical_resource_id)
67
- c.domain_validation_options.each do |d|
67
+ c.domain_validation_options.uniq do |d|
68
+ d.resource_record
69
+ end.each do |d|
68
70
  next if d.validation_status == 'SUCCESS'
69
71
  debug("Pending validation for #{d.domain_name}")
70
72
  if options[:cli]
@@ -155,6 +155,19 @@ module Stax
155
155
  end
156
156
  end
157
157
 
158
+ desc 'webhooks', 'list webhooks for pipelines'
159
+ def webhooks
160
+ webhooks = Aws::Codepipeline.client.list_webhooks.map(&:webhooks).flatten
161
+ my.stack_pipeline_names.each do |pipeline|
162
+ debug("Webhooks for pipeline #{pipeline}")
163
+ print_table webhooks.select { |w|
164
+ w.definition.target_pipeline == pipeline
165
+ }.map { |w|
166
+ [ w.definition.name, w.definition.target_pipeline, w.error_message, w.last_triggered ]
167
+ }
168
+ end
169
+ end
170
+
158
171
  end
159
172
  end
160
173
  end
@@ -1,3 +1,3 @@
1
1
  module Stax
2
- VERSION = '0.0.26'
2
+ VERSION = '0.0.27'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
4
+ version: 0.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Lister
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-11 00:00:00.000000000 Z
11
+ date: 2019-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler