prima-twig 0.31.7 → 0.31.8
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 +4 -4
- data/bin/twig-feature +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf15aec38e3727ea2f1546a75f985b68c45e19b0
|
|
4
|
+
data.tar.gz: e898ce7df1b627a7b818b8994baca72bf733129d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7e20a4f988b8b710fd10b7f9ebdd069a562bbf9414ff75b3fbeb62674611d7b6819462d790283f4b8a79fe222fd639c23cbcafc0fdbf890292989be3d5db4fb
|
|
7
|
+
data.tar.gz: '055608074388a495488698a8a96170ab45a3ff2b85cd44cd9cfecd90c08f75555d20f169f753f8be84e662f97929a6acd0ee285e772b737b33ccee62619a0b2a'
|
data/bin/twig-feature
CHANGED
|
@@ -8,6 +8,7 @@ require 'json'
|
|
|
8
8
|
require 'launchy'
|
|
9
9
|
require 'pp'
|
|
10
10
|
require 'redis'
|
|
11
|
+
require 'pry'
|
|
11
12
|
|
|
12
13
|
class Release
|
|
13
14
|
include Command
|
|
@@ -127,7 +128,6 @@ class Release
|
|
|
127
128
|
|
|
128
129
|
def deploy_aggregator_enable!
|
|
129
130
|
output 'Enable aggregator'
|
|
130
|
-
|
|
131
131
|
output 'Recupero le informazioni relative al puntamento dei record DNS...'
|
|
132
132
|
cloudflare = Rubyflare.connect_with(@prima.config['cloudflare_email'], @prima.config['cloudflare_apikey'])
|
|
133
133
|
dns_records = cloudflare.get('zones/1fb634f19c43dfb0162cc4cb91915da2/dns_records', { per_page: 100, type: 'CNAME', content: 'staging.prima.it' })
|
|
@@ -1308,7 +1308,7 @@ class Release
|
|
|
1308
1308
|
end
|
|
1309
1309
|
|
|
1310
1310
|
def deploy_crash?
|
|
1311
|
-
!@projects['crash'][:default_branch]
|
|
1311
|
+
project['crash'] && !@projects['crash'][:default_branch]
|
|
1312
1312
|
end
|
|
1313
1313
|
|
|
1314
1314
|
def create_crash_artifact(revision, deploy_id)
|
|
@@ -1819,7 +1819,7 @@ class Release
|
|
|
1819
1819
|
stack_list.each do |stack|
|
|
1820
1820
|
unless stack.stack_name.match(/spotfleet-allinone-qa-(\w+)$/)
|
|
1821
1821
|
env_hash = stack.stack_name.match(/qa-(\w+)$/)[0]
|
|
1822
|
-
envs[env_hash] = stack.tags unless envs.has_key?(env_hash)
|
|
1822
|
+
envs[env_hash] = stack.tags unless envs.has_key?(env_hash) || stack.tags.empty?
|
|
1823
1823
|
end
|
|
1824
1824
|
end
|
|
1825
1825
|
return stack_list, envs
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prima-twig
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.31.
|
|
4
|
+
version: 0.31.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matteo Giachino
|
|
@@ -13,7 +13,7 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date: 2017-
|
|
16
|
+
date: 2017-12-05 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: aws-sdk
|