stax 0.0.26 → 0.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stax/mixin/acm.rb +3 -1
- data/lib/stax/mixin/codepipeline.rb +13 -0
- data/lib/stax/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3f42098e03903cd5b97a6051eed0a6121ddfc6084a0da58f3c97eb2f4a205d5
|
4
|
+
data.tar.gz: c053c277e162491026f12ef084aaa2c8dc0e4de948d6de02da736352a21e6ea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a520c761dd57e5333b0def16e1f193ae02f44afaf2ded7e26432356dbdd59e0c47ccd7d1207354d42c1a2739d3222a36570cfebc923a6ef28b4d069632dac38b
|
7
|
+
data.tar.gz: f6b34d5c0872933dfa2d04ad97e0d3bad4bb313d009f38a241fee538226de3a8670e24e6ceca9b62ff023e3f7dfac2b3e333caa1baac6f45d36ab0b2d521d81a
|
data/lib/stax/mixin/acm.rb
CHANGED
@@ -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.
|
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
|
data/lib/stax/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|