prima-twig 0.43.0 → 0.43.1
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 +1 -16
- 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: 99955a51d817520a627ac253fbcf14787f438da001ff4eeedcc8dc660cd864dd
|
4
|
+
data.tar.gz: db1493de4f114e9df9604b72912d9a6d6c29573aa3abf42f43d41cc756670898
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04ef3533e0c112315e0f8de39d9c81abf6065205fbcda9f0d3915a30424fdb1221bfd9685ee9613e50e0849ff121a49bdfe334b890d41f6d3cb8d77084b1fe98
|
7
|
+
data.tar.gz: 0d55d0aa56b8981b068422e4f160f05a3968e308b7b0791f4c382d3a541fd3f813be122eea4b88f47f54b574854996ecc72752bc62ead373c218952e2225fe07
|
data/bin/twig-feature
CHANGED
@@ -39,7 +39,6 @@ class Release
|
|
39
39
|
@qainit_folder = "/drone/src/github.com/project/primait/qainit"
|
40
40
|
@projects = {
|
41
41
|
'prima' => {},
|
42
|
-
'backoffice' => {},
|
43
42
|
'urania' => {},
|
44
43
|
'ermes' => {},
|
45
44
|
'bburago' => {},
|
@@ -898,10 +897,6 @@ class Release
|
|
898
897
|
key: "urania",
|
899
898
|
value: @projects["urania"][:name]
|
900
899
|
},
|
901
|
-
{
|
902
|
-
key: "backoffice",
|
903
|
-
value: @projects["backoffice"][:name]
|
904
|
-
},
|
905
900
|
{
|
906
901
|
key: "ermes",
|
907
902
|
value: @projects["ermes"][:name]
|
@@ -1022,10 +1017,7 @@ class Release
|
|
1022
1017
|
parameter_key: "PrimaElbHostname",
|
1023
1018
|
parameter_value: get_alb_host(stack_name_alb)
|
1024
1019
|
},
|
1025
|
-
|
1026
|
-
parameter_key: "BackofficeElbHostname",
|
1027
|
-
parameter_value: get_alb_host(stack_name_alb)
|
1028
|
-
},
|
1020
|
+
|
1029
1021
|
{
|
1030
1022
|
parameter_key: "UraniaIp",
|
1031
1023
|
parameter_value: ec2_ip_address(asg_stack_name)
|
@@ -1736,8 +1728,6 @@ class Release
|
|
1736
1728
|
host = "www-#{@dns_record_identifier}.qa.colaster.com"
|
1737
1729
|
when stack_name.include?('urania')
|
1738
1730
|
host = "urania-#{@dns_record_identifier}.qa.colaster.com"
|
1739
|
-
when stack_name.include?('backoffice')
|
1740
|
-
host = "backoffice-legacy-#{@dns_record_identifier}.qa.colaster.com"
|
1741
1731
|
when stack_name.include?('bburago')
|
1742
1732
|
host = "bburago-#{@dns_record_identifier}.qa.colaster.com"
|
1743
1733
|
when stack_name.include?('hal9000')
|
@@ -2514,8 +2504,6 @@ class Release
|
|
2514
2504
|
|
2515
2505
|
stack_name_web = "ecs-task-web-qa-notneeded"
|
2516
2506
|
web_qa_host = get_route53_hostname(stack_name_web)
|
2517
|
-
stack_name_backoffice = "ecs-task-backoffice-qa-notneeded"
|
2518
|
-
backoffice_qa_host = get_route53_hostname(stack_name_backoffice)
|
2519
2507
|
stack_name_assange = "ecs-task-assange-qa-notneeded"
|
2520
2508
|
assange_qa_host = get_route53_hostname(stack_name_assange)
|
2521
2509
|
stack_name_peano = "ecs-task-peano-qa-notneeded"
|
@@ -2540,7 +2528,6 @@ class Release
|
|
2540
2528
|
"docker-compose build #{docker_container}",
|
2541
2529
|
"docker-compose run -w $PWD -u root -e WS_ENDPOINT=#{ws_endpoint} -e FRONTEND=#{frontend_endpoint} -e GRAPHQL_ENDPOINT=#{graphiql_endpoint} -e AUTH_ENDPOINT=#{auth_endpoint} -e MIX_ENV=qa --entrypoint /bin/sh #{docker_container} \
|
2542
2530
|
'-c' 'sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \
|
2543
|
-
sed -i \"s/backoffice-legacy-qa-host/#{backoffice_qa_host}/g\" config/qa.exs && \
|
2544
2531
|
sed -i \"s/assange-qa-host/#{assange_qa_host}/g\" config/qa.exs && \
|
2545
2532
|
sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
|
2546
2533
|
sed -i \"s/borat-qa-host/#{borat_qa_host}/g\" config/qa.exs && \
|
@@ -2566,7 +2553,6 @@ class Release
|
|
2566
2553
|
"docker-compose build #{docker_container}",
|
2567
2554
|
"docker run -v $PWD:/code -w /code -e WS_ENDPOINT=#{ws_endpoint} -e FRONTEND=#{frontend_endpoint} -e GRAPHQL_ENDPOINT=#{graphiql_endpoint} -e MIX_ENV=qa --entrypoint /bin/sh borat_#{docker_container} \
|
2568
2555
|
'-c' 'sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \
|
2569
|
-
sed -i \"s/backoffice-legacy-qa-host/#{backoffice_qa_host}/g\" config/qa.exs && \
|
2570
2556
|
sed -i \"s/assange-qa-host/#{assange_qa_host}/g\" config/qa.exs && \
|
2571
2557
|
sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
|
2572
2558
|
sed -i \"s/borat-qa-host/#{borat_qa_host}/g\" config/qa.exs && \
|
@@ -2983,7 +2969,6 @@ class Release
|
|
2983
2969
|
output "Deploy feature menu"
|
2984
2970
|
if project_name.nil?
|
2985
2971
|
@projects['prima'] = choose_branch_to_deploy('prima')
|
2986
|
-
@projects['backoffice'] = choose_branch_to_deploy('backoffice')
|
2987
2972
|
@projects['urania'] = choose_branch_to_deploy('urania')
|
2988
2973
|
@projects['ermes'] = choose_branch_to_deploy('ermes')
|
2989
2974
|
@projects['bburago'] = choose_branch_to_deploy('bburago')
|
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.43.
|
4
|
+
version: 0.43.1
|
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: 2018-12-
|
16
|
+
date: 2018-12-28 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: aws-sdk
|