prima-twig 0.31.16 → 0.31.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/twig-feature +7 -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: e4e191f664373d03358bfa314def410207d2f003
|
4
|
+
data.tar.gz: 39409a9caf44f8b302daba9ad7430c9429f3aca6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 055fb211b488c519ff6e18b52123a2c1b46d6ec8b26530b1880a0a17620e995d0423e108241b841269a36679a2e7fafbd205db740929e29a3ab50bfdd3cb406a
|
7
|
+
data.tar.gz: 960a11c5a00f7c05717e78de24bde86a71b9e21c6062da1d15cf4a40f1c336df6c02a4fbb23ff2b21a62cde2663fbd8d2af05735011de95dec73bfa12ac6762a
|
data/bin/twig-feature
CHANGED
@@ -1113,7 +1113,7 @@ class Release
|
|
1113
1113
|
|
1114
1114
|
wait_for_stack_ready(stack_name_route53) unless stack_ready?(stack_name_route53)
|
1115
1115
|
|
1116
|
-
launch_marley ec2_ip_address(asg_stack_name)
|
1116
|
+
launch_marley ec2_ip_address(asg_stack_name), prima_hostname, borat_hostname
|
1117
1117
|
|
1118
1118
|
projects_text = "
|
1119
1119
|
> Prima url: https://#{prima_hostname}
|
@@ -1830,7 +1830,7 @@ class Release
|
|
1830
1830
|
(Time.now.to_i.to_s[-4..-1].to_i + Random.rand(40000)).to_s
|
1831
1831
|
end
|
1832
1832
|
|
1833
|
-
def launch_marley(ip_address)
|
1833
|
+
def launch_marley(ip_address, prima_hostname, borat_hostname)
|
1834
1834
|
resp = @cf.describe_stack_resource({
|
1835
1835
|
stack_name: 'batch-job-marley',
|
1836
1836
|
logical_resource_id: 'JobDefinition'
|
@@ -1844,7 +1844,7 @@ class Release
|
|
1844
1844
|
environment: [
|
1845
1845
|
{
|
1846
1846
|
name: 'PRIMA_URL',
|
1847
|
-
value: "https://#{
|
1847
|
+
value: "https://#{prima_hostname}/"
|
1848
1848
|
},
|
1849
1849
|
{
|
1850
1850
|
name: 'PRIMA_IP',
|
@@ -1853,6 +1853,10 @@ class Release
|
|
1853
1853
|
{
|
1854
1854
|
name: 'PROJECTS_JSON',
|
1855
1855
|
value: @projects.to_json
|
1856
|
+
},
|
1857
|
+
{
|
1858
|
+
name: 'BACKOFFICE_URL',
|
1859
|
+
value: "https://#{borat_hostname}"
|
1856
1860
|
}
|
1857
1861
|
]
|
1858
1862
|
}
|
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.17
|
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-12-
|
16
|
+
date: 2017-12-12 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: aws-sdk
|