prima-twig 0.59.3 → 0.59.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/twig-feature +22 -51
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1084df6561efecc94bf5333a50593e2a3d7fa57f9d98e1bc15809015708b46e
|
4
|
+
data.tar.gz: a194486e33bd32c616622debeeebc2243cf283c557f759def511445ebbe87aa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb67417f9a15ccfd422713fa8ceed36503f15e7a65b2f47b8d5ae52eead75344a906a1395b33861908a5d3516b3c4abdd03192e6a092d5f8aaf4f7edeb06299c
|
7
|
+
data.tar.gz: 2db8e778d8c15439c8599e93676dbee51460332cd89a0a729192c93814b9feb5f8de7b89ca4dabfa724951fc84b0b52728cf059671bdef6b12e3c0cf785b61ae
|
data/bin/twig-feature
CHANGED
@@ -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
|
-
|
2005
|
-
"
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
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
|
-
|
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
|
-
|
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.
|
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-
|
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.
|
217
|
+
rubygems_version: 3.0.3
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: The Prima twig toolbelt
|