prima-twig 0.63.5 → 0.63.6

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 -62
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abaeff91057f9131be1b97cb4e0af155ac692329340f9f7da77ba59b6319fdb8
4
- data.tar.gz: 71d13a6fa70335f4bb98eb8d6f8d83999cb5213f81985a26290903030d475d08
3
+ metadata.gz: 94f6bd45112d0edb1f33a1437d636e8b5ee5f65c47f6ff3f3c5816590f55f521
4
+ data.tar.gz: 6567f4931fad0f83a8d1cc8c92902bdff8782813637a95c22b19f0caada2387f
5
5
  SHA512:
6
- metadata.gz: 66915727d42d5aeeae69c254d8eaf9851c5f75101ab810f6b2af581467ecac7ba2de0aac91f4a579220149b5a5dcef063c1fc34fa5d9488270e09573429201a3
7
- data.tar.gz: ec8879461316ef0fe71105dc0bba9a6d31a87973811c9549a6b3193e902d48561810c31afbe72a24e8d7d7ead705e67579b2190d425c324f6f48b85dff6192d0
6
+ metadata.gz: a9436503feb9901e6f5d42caa17d865e6480ae78d6a04759ad1b244a7964e001cdac9bbbb42ba02374a916130b81b19f35b9925360df290025aa90587c84b6ee
7
+ data.tar.gz: 1fa0d0cf5b49289368d256262a428efb6320e60f2fb4dba24ca61335d5263645fbf1b998c2f5d619b2ceefbec2bdd28b7d6846d55c9ddcc17618e6ef9bd0c4ec
@@ -2090,26 +2090,7 @@ class Release
2090
2090
  exec_step 'cp docker-compose.yml docker-compose-ci.yml'
2091
2091
  exec_step 'prepare-docker-compose --directory activia && cp docker-compose-qainit.yml docker-compose.yml'
2092
2092
 
2093
- if File.exists? 'deploy/build_qa_artifact'
2094
- execute_command "deploy/build_qa_artifact"
2095
- else
2096
- [
2097
- "docker-compose build web",
2098
- "docker-compose run -w $PWD -u root -e MIX_ENV=qa --entrypoint /bin/sh web \
2099
- '-c' 'mix local.hex --force && mix hex.info && \
2100
- mix deps.get && mix compile && mix deps.compile && \
2101
- cd assets && \
2102
- rm -rf node_modules && \
2103
- yarn --cache-folder ~/.cache/yarn && \
2104
- sysconfcpus -n 2 ./node_modules/.bin/webpack --mode production && \
2105
- cd .. && \
2106
- mix phx.digest && \
2107
- rm -rf _build/qa/rel/ && \
2108
- mix release --env=qa'"
2109
- ].each do |cmd|
2110
- execute_command cmd
2111
- end
2112
- end
2093
+ execute_command "deploy/build_qa_artifact"
2113
2094
 
2114
2095
  cleanup_containers
2115
2096
 
@@ -2179,27 +2160,7 @@ class Release
2179
2160
  exec_step 'cp docker-compose.yml docker-compose-ci.yml'
2180
2161
  exec_step 'prepare-docker-compose --directory borat && cp docker-compose-qainit.yml docker-compose.yml'
2181
2162
 
2182
- if File.exists? 'deploy/build_qa_artifact'
2183
- execute_command "deploy/build_qa_artifact"
2184
- else
2185
- [
2186
- "docker network create borat_network || true",
2187
- "docker-compose build web",
2188
- "docker-compose run -w $PWD -u root -e MIX_ENV=qa --entrypoint /bin/sh web \
2189
- '-c' 'mix local.hex --force && mix hex.info && \
2190
- mix deps.get && \
2191
- cd assets && \
2192
- yarn --cache-folder ~/.cache/yarn && \
2193
- sysconfcpus -n 2 ./node_modules/.bin/webpack -p --config config/webpack.config.prod.js && \
2194
- cd ../ && \
2195
- mix phx.digest && \
2196
- mix compile && mix deps.compile && \
2197
- rm -rf _build/qa/rel/ && \
2198
- mix distillery.release --env=qa'"
2199
- ].each do |cmd|
2200
- execute_command cmd
2201
- end
2202
- end
2163
+ execute_command "deploy/build_qa_artifact"
2203
2164
 
2204
2165
  cleanup_containers
2205
2166
 
@@ -2245,27 +2206,26 @@ class Release
2245
2206
  exec_step 'cp docker-compose.yml docker-compose-ci.yml'
2246
2207
  exec_step 'prepare-docker-compose --directory ermes && cp docker-compose-qainit.yml docker-compose.yml'
2247
2208
 
2248
- [
2249
- "if echo `docker network ls` | grep crash_default; \
2250
- then echo 'crash_default network already existing'; \
2251
- else docker network create crash_default; fi",
2252
- 'docker-compose build web'
2253
- ].each do |cmd|
2254
- execute_command cmd
2255
- end
2256
-
2257
- [ "docker-compose run --rm -w $PWD -u root -e MIX_ENV=qa --entrypoint /bin/sh web \
2258
- '-c' 'mix local.hex --force && mix hex.info && \
2259
- mix deps.get && mix compile && mix deps.compile && \
2260
- mix phx.digest && \
2261
- MIX_ENV=dev mix compile.sms && \
2262
- MIX_ENV=dev mix compile.html && \
2263
- MIX_ENV=dev mix compile.heml && \
2264
- MIX_ENV=dev mix compile.app_notification && \
2265
- rm -rf _build/qa/rel/ && \
2266
- mix release --env=qa'"
2267
- ].each do |cmd|
2268
- execute_command cmd
2209
+ if File.exists? 'deploy/build_qa_artifact'
2210
+ execute_command "deploy/build_qa_artifact"
2211
+ else
2212
+ [
2213
+ "if echo `docker network ls` | grep crash_default; \
2214
+ then echo 'crash_default network already existing'; \
2215
+ else docker network create crash_default; fi",
2216
+ 'docker-compose build web',"docker-compose run --rm -w $PWD -u root -e MIX_ENV=qa --entrypoint /bin/sh web \
2217
+ '-c' 'mix local.hex --force && mix hex.info && \
2218
+ mix deps.get && mix compile && mix deps.compile && \
2219
+ mix phx.digest && \
2220
+ MIX_ENV=dev mix compile.sms && \
2221
+ MIX_ENV=dev mix compile.html && \
2222
+ MIX_ENV=dev mix compile.heml && \
2223
+ MIX_ENV=dev mix compile.app_notification && \
2224
+ rm -rf _build/qa/rel/ && \
2225
+ mix release --env=qa'"
2226
+ ].each do |cmd|
2227
+ execute_command cmd
2228
+ end
2269
2229
  end
2270
2230
 
2271
2231
  cleanup_containers
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.63.5
4
+ version: 0.63.6
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: 2020-03-13 00:00:00.000000000 Z
17
+ date: 2020-03-16 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: aws-sdk-autoscaling