prima-twig 1.0.28 → 1.0.29
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-build +40 -41
- 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: dbea057742da31a466ee69c08955e9e9d3096e248886f2b76a5236c459eefe5e
|
4
|
+
data.tar.gz: c8d2764325ef6c3b9c51b72db950f8420b6a5305a842fd4a90e274288f3a870f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a58fcfdf2d6e3e84ab4ff36ff06e8f839275d222c4c107e9155de8e3189f64aea09b358eb51e5655b764fba676debb11e518cc6bd9d79b6edbe442f74436678
|
7
|
+
data.tar.gz: cb3a4a54ce7ff42db572ae7665f9496ea557ac3396adb4e5f2d6eb8747dabc3a5cf7ddb826f97b24895efdafdc0fd2454fd25240dc182ac8856cd69282a1f0ec
|
data/bin/twig-build
CHANGED
@@ -424,43 +424,42 @@ class Build
|
|
424
424
|
end
|
425
425
|
|
426
426
|
def create_legion_stack()
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
# end
|
427
|
+
wait_for_artifact('prima-artifacts-encrypted', "microservices/legion/#{@projects["legion"]['revision']}-qa.tar.gz")
|
428
|
+
stack_name_legion = get_stack_name("legion")
|
429
|
+
git_checkout_version('legion', @projects["legion"]['revision'])
|
430
|
+
stack_body = File.read('projects/legion/deploy/task.yml')
|
431
|
+
parameters = [
|
432
|
+
{
|
433
|
+
parameter_key: "Environment",
|
434
|
+
parameter_value: "qa"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
parameter_key: "ReleaseVersion",
|
438
|
+
parameter_value: @projects["legion"]['revision']
|
439
|
+
},
|
440
|
+
{
|
441
|
+
parameter_key: "TaskDesiredCount",
|
442
|
+
parameter_value: "1"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
parameter_key: "ECSClusterName",
|
446
|
+
parameter_value: get_ecs_cluster_name
|
447
|
+
},
|
448
|
+
{
|
449
|
+
parameter_key: "HostnamePattern",
|
450
|
+
parameter_value: "legion-#{get_deploy_id}.qa.colaster.com"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
parameter_key: "HostnamePatternPriority",
|
454
|
+
parameter_value: hostname_pattern_priority
|
455
|
+
}
|
456
|
+
]
|
457
|
+
if stack_exists?(stack_name_legion)
|
458
|
+
cur_version = get_currently_deployed_version(stack_name_legion)
|
459
|
+
update_stack(stack_name_legion, stack_body, parameters, @tags, @cf_role) unless cur_version.include?(@projects["legion"]['revision'])
|
460
|
+
else
|
461
|
+
create_stack(stack_name_legion, stack_body, parameters, @tags, @cf_role)
|
462
|
+
end
|
464
463
|
end
|
465
464
|
|
466
465
|
def create_urania_stack()
|
@@ -1437,7 +1436,7 @@ class Build
|
|
1437
1436
|
wait_for_stack_ready(get_stack_name("worker-ermes")) unless stack_ready?(get_stack_name("worker-ermes"))
|
1438
1437
|
wait_for_stack_ready(get_stack_name("ermes")) unless stack_ready?(get_stack_name("ermes"))
|
1439
1438
|
wait_for_stack_ready(get_stack_name("peano")) unless stack_ready?(get_stack_name("peano"))
|
1440
|
-
|
1439
|
+
wait_for_stack_ready(get_stack_name("legion")) unless stack_ready?(get_stack_name("legion"))
|
1441
1440
|
wait_for_stack_ready(get_stack_name("borat")) unless stack_ready?(get_stack_name("borat"))
|
1442
1441
|
wait_for_stack_ready(get_stack_name("activia")) unless stack_ready?(get_stack_name("activia"))
|
1443
1442
|
wait_for_stack_ready(get_stack_name("maia")) unless stack_ready?(get_stack_name("maia"))
|
@@ -1453,7 +1452,7 @@ class Build
|
|
1453
1452
|
update_service_defaults(get_stack_name("hal9000"))
|
1454
1453
|
update_service_defaults(get_stack_name("fidaty"))
|
1455
1454
|
update_service_defaults(get_stack_name("peano"))
|
1456
|
-
# update_service_defaults(get_stack_name("legion"))
|
1455
|
+
# update_service_defaults(get_stack_name("legion")) TODO UNCOMMENT
|
1457
1456
|
update_service_defaults(get_stack_name("assange"))
|
1458
1457
|
update_service_defaults(get_stack_name("borat"))
|
1459
1458
|
update_service_defaults(get_stack_name("activia"))
|
@@ -1484,7 +1483,7 @@ class Build
|
|
1484
1483
|
crash_hostname = get_route53_hostname("crash")
|
1485
1484
|
starsky_hostname = get_route53_hostname("starsky")
|
1486
1485
|
hutch_hostname = get_route53_hostname("hutch")
|
1487
|
-
|
1486
|
+
legion_hostname = get_route53_hostname("legion")
|
1488
1487
|
|
1489
1488
|
#launch_mimo(get_deploy_id)
|
1490
1489
|
|
@@ -1505,7 +1504,7 @@ class Build
|
|
1505
1504
|
> Rachele url: http://#{rachele_hostname}:10040
|
1506
1505
|
> Maia App url: https://#{maia_app_hostname}
|
1507
1506
|
> Maia Intermediari url: https://#{maia_intermediari_hostname}
|
1508
|
-
> Legion url: http://#{
|
1507
|
+
> Legion url: http://#{legion_hostname}:8051
|
1509
1508
|
> Crash url: https://#{crash_hostname}
|
1510
1509
|
> Starsky url: https://#{starsky_hostname}
|
1511
1510
|
> Hutch url: https://#{hutch_hostname}
|
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: 1.0.
|
4
|
+
version: 1.0.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matteo Giachino
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2020-
|
17
|
+
date: 2020-06-08 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: aws-sdk-autoscaling
|