prima-twig 0.59.3 → 0.59.4

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 +22 -51
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d55357225a9a27bfc68eed65238d3129674acef33a5803d1a62fc1a84b8d6c3
4
- data.tar.gz: '08bef732687a6bd4637e6333f5214aaf5e23357df0fd9141f446e26a0dcff9f7'
3
+ metadata.gz: b1084df6561efecc94bf5333a50593e2a3d7fa57f9d98e1bc15809015708b46e
4
+ data.tar.gz: a194486e33bd32c616622debeeebc2243cf283c557f759def511445ebbe87aa4
5
5
  SHA512:
6
- metadata.gz: 046dd7e54f2be82c6618fe475dbc6f63b2feef68e99299df054b3dab949794449286059661c8946b35b871c312c4ea2a07cacc42daae7cc8345070a89bb93a8c
7
- data.tar.gz: a0122c459f688bbf3059eed4384a3249d0ac448a84ecf05416de93472d32adf04a249d9b22643a6ef66430809a33ab730dd51cff7567f75dba49da39273e57fb
6
+ metadata.gz: cb67417f9a15ccfd422713fa8ceed36503f15e7a65b2f47b8d5ae52eead75344a906a1395b33861908a5d3516b3c4abdd03192e6a092d5f8aaf4f7edeb06299c
7
+ data.tar.gz: 2db8e778d8c15439c8599e93676dbee51460332cd89a0a729192c93814b9feb5f8de7b89ca4dabfa724951fc84b0b52728cf059671bdef6b12e3c0cf785b61ae
@@ -2000,21 +2000,26 @@ class Release
2000
2000
 
2001
2001
  exec_step 'cp docker-compose.yml docker-compose-ci.yml'
2002
2002
  exec_step 'prepare-docker-compose --directory activia && cp docker-compose-qainit.yml docker-compose.yml'
2003
- [
2004
- "docker-compose build web",
2005
- "docker-compose run -w $PWD -u root -e MIX_ENV=qa --entrypoint /bin/sh web \
2006
- '-c' 'mix local.hex --force && mix hex.info && \
2007
- mix deps.get && mix compile && mix deps.compile && \
2008
- cd assets && \
2009
- rm -rf node_modules && \
2010
- yarn --cache-folder ~/.cache/yarn && \
2011
- sysconfcpus -n 2 ./node_modules/.bin/webpack --mode production && \
2012
- cd .. && \
2013
- mix phx.digest && \
2014
- rm -rf _build/qa/rel/ && \
2015
- mix release --env=qa'"
2016
- ].each do |cmd|
2017
- execute_command cmd
2003
+
2004
+ if File.exists? 'deploy/build_qa_artifact'
2005
+ execute_command "deploy/build_qa_artifact"
2006
+ else
2007
+ [
2008
+ "docker-compose build web",
2009
+ "docker-compose run -w $PWD -u root -e MIX_ENV=qa --entrypoint /bin/sh web \
2010
+ '-c' 'mix local.hex --force && mix hex.info && \
2011
+ mix deps.get && mix compile && mix deps.compile && \
2012
+ cd assets && \
2013
+ rm -rf node_modules && \
2014
+ yarn --cache-folder ~/.cache/yarn && \
2015
+ sysconfcpus -n 2 ./node_modules/.bin/webpack --mode production && \
2016
+ cd .. && \
2017
+ mix phx.digest && \
2018
+ rm -rf _build/qa/rel/ && \
2019
+ mix release --env=qa'"
2020
+ ].each do |cmd|
2021
+ execute_command cmd
2022
+ end
2018
2023
  end
2019
2024
 
2020
2025
  cleanup_containers
@@ -2124,28 +2129,7 @@ class Release
2124
2129
  `mv docker-compose-ci.yml docker-compose.yml`
2125
2130
  exec_step 'prepare-docker-compose --directory crash && cp docker-compose-qainit.yml docker-compose.yml'
2126
2131
 
2127
- if File.exists? 'deploy/build_qa_artifact'
2128
- `deploy/build_qa_artifact #{deploy_id}`
2129
- else # TODO remove when deploy/build_qa_artifact is merged
2130
- [
2131
- 'docker-compose build web',
2132
- "docker-compose run -w $PWD -u root -e MIX_ENV=qa -e ENV_HASH=#{deploy_id} web \
2133
- '-c' 'mix local.hex --force && mix hex.info && \
2134
- mix deps.get && \
2135
- cd assets && \
2136
- yarn --cache-folder ~/.cache/yarn && \
2137
- NODE_ENV=production sysconfcpus -n 1 yarn run build && \
2138
- cd ../ && \
2139
- mix release.clean --implode --no-confirm && \
2140
- mix phx.digest && \
2141
- mix deps.clean --all && \
2142
- mix deps.get && \
2143
- mix compile && mix release --env=qa'",
2144
- 'docker-compose down'
2145
- ].each do |cmd|
2146
- execute_command cmd
2147
- end
2148
- end
2132
+ execute_command "deploy/build_qa_artifact #{deploy_id}"
2149
2133
 
2150
2134
  cleanup_containers
2151
2135
 
@@ -2346,20 +2330,7 @@ class Release
2346
2330
  exec_step 'cp docker-compose.yml docker-compose-ci.yml'
2347
2331
  exec_step 'prepare-docker-compose --directory peano && cp docker-compose-qainit.yml docker-compose.yml'
2348
2332
 
2349
- if File.exists? 'deploy/build_qa_artifact'
2350
- `deploy/build_qa_artifact`
2351
- else # TODO remove when deploy/build_qa_artifact is merged
2352
- [
2353
- "docker-compose build web",
2354
- "docker-compose run -w $PWD -u root -e MIX_ENV=qa --entrypoint /bin/sh web \
2355
- '-c' 'mix local.hex --force && mix hex.info && \
2356
- mix deps.get && mix compile && mix deps.compile && \
2357
- rm -rf _build/qa/rel/ && \
2358
- mix release --env=qa'"
2359
- ].each do |cmd|
2360
- execute_command cmd
2361
- end
2362
- end
2333
+ execute_command "deploy/build_qa_artifact"
2363
2334
 
2364
2335
  cleanup_containers
2365
2336
 
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.59.3
4
+ version: 0.59.4
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: 2019-12-13 00:00:00.000000000 Z
17
+ date: 2019-11-26 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: aws-sdk
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubygems_version: 3.0.1
217
+ rubygems_version: 3.0.3
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: The Prima twig toolbelt