prima-twig 0.45.07 → 0.45.08

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/twig-feature +19 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54cfa7920eba7cc104496200bf0721327d6258eb0d0a1242dfae3c84723e1bb0
4
- data.tar.gz: a1667d4cefb778319d7b92370563dadfd5dd269ad1e48ba20fa90048663bba3b
3
+ metadata.gz: c5503520d1152b28213006763971dc64509c69ed1baaa9afc0e8f3465c20b9ab
4
+ data.tar.gz: a7887d9f7b4a304a02aee0534e8d29db8c9894221c256ddccc43046b6cb056e4
5
5
  SHA512:
6
- metadata.gz: 2162841af980d3aabd47fe28493acfb090904ac3d11d09a372521b7dbd8823e7370900cf8062f35eeff20484506396052bbe768f07afacfb934a07b64981a148
7
- data.tar.gz: ce9b4fe37be3a67e2ea7f693596005e520f0bdb5c7381a99f4bc52b3ec1913701439be4ebd83e32096c80cdd6caf7150d5f2b8060fa03d3901d20058c949be16
6
+ metadata.gz: 757c1b2f66d18bc312cd50b184de467b4bf59a4b8a3c58bd76ed12864c3b50b7ab9eb24ac3fba296b6481b3d7ad4fdde159f62acff132a5e27dc7bf89cd60413
7
+ data.tar.gz: 205fb434e224b874860ea4218213f5a8e5aae98c2d1f89f4ecffbe3a6bec2d836e8e3af1c2051c268f661bb58b322490ed80a1638dfbbb0699bfd3a90e56fc3b
@@ -2525,10 +2525,15 @@ class Release
2525
2525
 
2526
2526
  Dir.chdir 'projects/borat'
2527
2527
 
2528
- ws_endpoint = "wss://backoffice-#{@dns_record_identifier}.qa.colaster.com/socket/websocket?vsn=1.0.0"
2529
- frontend_endpoint = "https://www-#{@dns_record_identifier}.qa.colaster.com/"
2530
- graphiql_endpoint = "https://backoffice-#{@dns_record_identifier}.qa.colaster.com/graphiql"
2531
- auth_endpoint = "https://backoffice-#{@dns_record_identifier}.qa.colaster.com/auth"
2528
+ web_qa_host = "www-#{@dns_record_identifier}.qa.colaster.com"
2529
+ assange_qa_host = "assange-#{@dns_record_identifier}.qa.colaster.com"
2530
+ peano_qa_host = "peano-#{@dns_record_identifier}.qa.colaster.com"
2531
+ borat_qa_host = "backoffice-#{@dns_record_identifier}.qa.colaster.com"
2532
+
2533
+ ws_endpoint = "wss://#{borat_qa_host}/socket/websocket?vsn=1.0.0"
2534
+ frontend_endpoint = "https://#{web_qa_host}/"
2535
+ graphiql_endpoint = "https://#{borat_qa_host}/graphiql"
2536
+ auth_endpoint = "https://#{borat_qa_host}/auth"
2532
2537
 
2533
2538
  stop_unless is_branch_compatible_with_current_twig_version?("borat"), "Il tuo branch del progetto borat non e' compatibile con questa versione di twig, devi REBASARE DA MASTER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!".red
2534
2539
 
@@ -2541,7 +2546,11 @@ class Release
2541
2546
  "docker network create borat_network || true",
2542
2547
  "docker-compose build web",
2543
2548
  "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 web \
2544
- '-c' 'mix local.hex --force && mix hex.info && \
2549
+ '-c' 'sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \
2550
+ sed -i \"s/assange-qa-host/#{assange_qa_host}/g\" config/qa.exs && \
2551
+ sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
2552
+ sed -i \"s/borat-qa-host/#{borat_qa_host}/g\" config/qa.exs && \
2553
+ mix local.hex --force && mix hex.info && \
2545
2554
  mix deps.get && \
2546
2555
  cd assets && \
2547
2556
  yarn --cache-folder ~/.cache/yarn && \
@@ -2562,7 +2571,11 @@ class Release
2562
2571
  "docker network create borat_network || true",
2563
2572
  "docker-compose build web",
2564
2573
  "docker run -v $PWD:/code -w /code -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 web \
2565
- '-c' 'mix local.hex --force && mix hex.info && \
2574
+ '-c' 'sed -i \"s/web-qa-host/#{web_qa_host}/g\" config/qa.exs && \
2575
+ sed -i \"s/assange-qa-host/#{assange_qa_host}/g\" config/qa.exs && \
2576
+ sed -i \"s/peano-qa-host/#{peano_qa_host}/g\" config/qa.exs && \
2577
+ sed -i \"s/borat-qa-host/#{borat_qa_host}/g\" config/qa.exs && \
2578
+ mix local.hex --force && mix hex.info && \
2566
2579
  mix deps.get && \
2567
2580
  cd assets && \
2568
2581
  yarn --cache-folder ~/.cache/yarn && \
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.45.07
4
+ version: 0.45.08
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino