prima-twig 0.45.07 → 0.45.08
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-feature +19 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c5503520d1152b28213006763971dc64509c69ed1baaa9afc0e8f3465c20b9ab
|
|
4
|
+
data.tar.gz: a7887d9f7b4a304a02aee0534e8d29db8c9894221c256ddccc43046b6cb056e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 757c1b2f66d18bc312cd50b184de467b4bf59a4b8a3c58bd76ed12864c3b50b7ab9eb24ac3fba296b6481b3d7ad4fdde159f62acff132a5e27dc7bf89cd60413
|
|
7
|
+
data.tar.gz: 205fb434e224b874860ea4218213f5a8e5aae98c2d1f89f4ecffbe3a6bec2d836e8e3af1c2051c268f661bb58b322490ed80a1638dfbbb0699bfd3a90e56fc3b
|
data/bin/twig-feature
CHANGED
|
@@ -2525,10 +2525,15 @@ class Release
|
|
|
2525
2525
|
|
|
2526
2526
|
Dir.chdir 'projects/borat'
|
|
2527
2527
|
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
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' '
|
|
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' '
|
|
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 && \
|