prima-twig 0.44.6 → 0.44.7

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/twig-feature +16 -10
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdf57e0f8bb1c4e7b5d6723a32d849329d9d1df8e8f172dcdeaa3f7602d7631d
4
- data.tar.gz: 325a34ac83f5c1ace703b43c7bb13e4ef81107b3a03ea62fedf2d94777c3dbf2
3
+ metadata.gz: 727b29fe25dcec42529429bede48a74d15fd89eeeed68d7986c09a13ba8c9756
4
+ data.tar.gz: cb91ccad9fe1f954cc0dc1203224a63d156e081c8c1b6f939f3611a830fc554b
5
5
  SHA512:
6
- metadata.gz: b349085284954a0c4e93a916c7f238a77fe1e110d17f91fcad015de571ade9950486e0c435a56c9b864e54fd165285e9a2b7c16359c30059bcdcec0dc3f20fcf
7
- data.tar.gz: f967ab2a07a9ae8c6412f3e65d71dfc9d5d8bfb1b05347cf4d439cb3fa9ddfd82b553233dccfeefedd2659d16543531556fed09b4d66f6c36ce389fbb7cbc4d2
6
+ metadata.gz: 657f6644cb369f23e98d1960dee14b5c8eadfcb2e8774f16ce4b5d98c302bf6cf23a35d5f14955958797018a42aac34a5a8387152dc5da733e8201a9bd0c3325
7
+ data.tar.gz: 2ec98b49446f520fcc165492833815273909d4c3b92d38d5756b1d83a1c2c6447cc10d5fbd919246d839a8ee9bbb5f69475369ca828902c2519edefde5fe7bc4
data/bin/twig-feature CHANGED
@@ -2065,7 +2065,9 @@ class Release
2065
2065
  'mv docker-compose-ci.yml docker-compose.yml',
2066
2066
  'docker-compose build web',
2067
2067
  "docker-compose run -w $PWD -e WS_ENDPOINT=#{ws_endpoint} -e GRAPHQL_ENDPOINT=#{frontend_endpoint} -e ENV_HASH=#{deploy_id} -e MIX_ENV=qa web \
2068
- '-c' 'mix local.hex --force && mix hex.info && \
2068
+ '-c' 'sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \
2069
+ sed -i \"s/crash-qa-host/#{crash_qa_host}/g\" config/qa.exs && \
2070
+ mix local.hex --force && mix hex.info && \
2069
2071
  mix deps.get && \
2070
2072
  cd assets && \
2071
2073
  yarn --cache-folder ~/.cache/yarn && \
@@ -2084,7 +2086,7 @@ class Release
2084
2086
  end
2085
2087
 
2086
2088
  artifact_path = Dir.glob('_build/qa/rel/crash/releases/*/crash.tar.gz').first
2087
- upload_artifact(artifact_path, "microservices/crash/#{revision}-qa.tar.gz", "#{@s3_bucket}-encrypted")
2089
+ upload_artifact(artifact_path, "microservices/crash/#{revision}-#{deploy_id}-qa.tar.gz", "#{@s3_bucket}-encrypted")
2088
2090
 
2089
2091
  Dir.chdir '../../'
2090
2092
  end
@@ -2490,6 +2492,10 @@ class Release
2490
2492
 
2491
2493
  stack_name_web = "ecs-task-web-qa-notneeded"
2492
2494
  web_qa_host = get_route53_hostname(stack_name_web)
2495
+ stack_name_assange = "ecs-task-assange-qa-notneeded"
2496
+ assange_qa_host = get_route53_hostname(stack_name_assange)
2497
+ stack_name_peano = "ecs-task-peano-qa-notneeded"
2498
+ peano_qa_host = "#{get_route53_hostname(stack_name_peano)}:10039"
2493
2499
  stack_name_borat = "ecs-task-borat-qa-notneeded"
2494
2500
  borat_qa_host = get_route53_hostname(stack_name_borat)
2495
2501
 
@@ -2509,10 +2515,10 @@ class Release
2509
2515
  "docker network create borat_network || true",
2510
2516
  "docker-compose build #{docker_container}",
2511
2517
  "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} \
2512
- '-c' 'sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \ '-c' 'mix local.hex --force && mix hex.info && \
2513
- sed -i \"s/assange-qa-host/#{assange_qa_host}/g\" config/qa.exs && \
2514
- sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
2515
- sed -i \"s/borat-qa-host/#{borat_qa_host}/g\" config/qa.exs && \
2518
+ '-c' 'sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \
2519
+ sed -i \"s/assange-qa-host/#{assange_qa_host}/g\" config/qa.exs && \
2520
+ sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
2521
+ sed -i \"s/borat-qa-host/#{borat_qa_host}/g\" config/qa.exs && \
2516
2522
  mix local.hex --force && mix hex.info && \
2517
2523
  mix deps.get && \
2518
2524
  cd assets && \
@@ -2534,10 +2540,10 @@ class Release
2534
2540
  "docker network create borat_network || true",
2535
2541
  "docker-compose build #{docker_container}",
2536
2542
  "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} \
2537
- '-c' 'sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \ '-c' 'mix local.hex --force && mix hex.info && \
2538
- sed -i \"s/assange-qa-host/#{assange_qa_host}/g\" config/qa.exs && \
2539
- sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
2540
- sed -i \"s/borat-qa-host/#{borat_qa_host}/g\" config/qa.exs && \
2543
+ '-c' 'sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \
2544
+ sed -i \"s/assange-qa-host/#{assange_qa_host}/g\" config/qa.exs && \
2545
+ sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
2546
+ sed -i \"s/borat-qa-host/#{borat_qa_host}/g\" config/qa.exs && \
2541
2547
  mix local.hex --force && mix hex.info && \
2542
2548
  mix deps.get && \
2543
2549
  cd assets && \
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.44.6
4
+ version: 0.44.7
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: 2019-01-04 00:00:00.000000000 Z
16
+ date: 2019-01-07 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: aws-sdk