prima-twig 0.31.21 → 0.31.22
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 +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61d45b3d8c4b031f58b1628f506c70740223bf96
|
|
4
|
+
data.tar.gz: 15a15284902ac2f556ce9b98b8154ae90b9f1ade
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63a57dad3eea32d67b056ba753d1ae80f5d438fd5b26e59d21e5a43efcedc971362f0b65150f685788f19411d462db1f611107206186f1e7b45ae6c38e13cd5c
|
|
7
|
+
data.tar.gz: c118b411e4e33274023cde168bdb3d90864080fc6b5eb79f2a42188a1df6eae644c32a2bce69f72ce971c655fcc5ff3cdc6e29372111dd52a3a469b520209db6
|
data/bin/twig-feature
CHANGED
|
@@ -17,7 +17,6 @@ class Release
|
|
|
17
17
|
@prima = Prima.new
|
|
18
18
|
output 'Controllo se ci sono aggiornamenti da fare...'
|
|
19
19
|
exec "gem update prima-twig && twig feature #{ARGV.join ' '}" unless `gem outdated`.lines.grep(/^prima-twig \(.*\)/).empty?
|
|
20
|
-
abort('Non sei nella cartella di artemide') unless Dir.pwd.match 'artemide$'
|
|
21
20
|
@cf = Aws::CloudFormation::Client.new
|
|
22
21
|
@alb = Aws::ElasticLoadBalancingV2::Client.new
|
|
23
22
|
@ec2 = Aws::EC2::Client.new
|
|
@@ -56,6 +55,7 @@ class Release
|
|
|
56
55
|
when 'finish'
|
|
57
56
|
finish_feature!
|
|
58
57
|
when 'deploy'
|
|
58
|
+
abort('Non sei nella cartella di artemide') unless Dir.pwd.match 'artemide$'
|
|
59
59
|
if ['terminate', 'stop', 'shutdown', 'halt', 'destroy'].include? args[1]
|
|
60
60
|
deploy_shutdown!
|
|
61
61
|
elsif 'update' == args[1]
|
|
@@ -382,8 +382,6 @@ class Release
|
|
|
382
382
|
@projects["assange"][:name] +
|
|
383
383
|
@projects["borat"][:name]
|
|
384
384
|
)
|
|
385
|
-
# @projects['crash'] = choose_branch_to_deploy('crash', true)
|
|
386
|
-
# @projects['crash'] = { name: 'master', default_branch: true }
|
|
387
385
|
end
|
|
388
386
|
@dns_record_identifier = deploy_id
|
|
389
387
|
hostname_pattern_priority = hostname_pattern_priority()
|