prima-twig 0.48.9 → 0.48.10
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 +26 -9
- 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: 770c93fcb9aa0578d84ac83068412987fc26d6623742e74df2ab80ecfc33a786
|
4
|
+
data.tar.gz: 97bde976f90bb2f8f8f19340733d301f39f189bb9114342ec6bac101febdef80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '001599706dff5268bc1f358cb5d91373a8cee5ba1bc2a7adce2258cee861a1cc832c2940021db405ab5cab2db744085efb356336452900ecab313dd0d688289a'
|
7
|
+
data.tar.gz: da829b4846ca0bf212501f6590e464f3f4d4452fb574bfee5825bc05f9cfd32bc17bf3e756e50224583521d7998824d838d9847ce99c73b8cc8850d3917bc953
|
data/bin/twig-feature
CHANGED
@@ -2225,16 +2225,33 @@ class Release
|
|
2225
2225
|
|
2226
2226
|
decrypt_secrets()
|
2227
2227
|
|
2228
|
-
|
2229
|
-
|
2230
|
-
|
2231
|
-
|
2232
|
-
|
2233
|
-
|
2234
|
-
|
2235
|
-
|
2228
|
+
if @qainit
|
2229
|
+
exec_step 'cp docker-compose.yml docker-compose-ci.yml'
|
2230
|
+
exec_step 'prepare-docker-compose --directory bburago && cp docker-compose-qainit.yml docker-compose.yml'
|
2231
|
+
[
|
2232
|
+
"docker-compose build web",
|
2233
|
+
"docker-compose run -w $PWD -u root -e MIX_ENV=qa --entrypoint /bin/sh web \
|
2234
|
+
'-c' 'mix local.hex --force && mix hex.info && \
|
2235
|
+
mix deps.get && mix compile && mix deps.compile && \
|
2236
|
+
rm -rf _build/qa/rel/ && \
|
2237
|
+
mix release --env=qa'"
|
2238
|
+
].each do |cmd|
|
2239
|
+
execute_command cmd
|
2240
|
+
end
|
2236
2241
|
|
2237
|
-
|
2242
|
+
cleanup_containers
|
2243
|
+
else
|
2244
|
+
[
|
2245
|
+
"docker-compose build web",
|
2246
|
+
"docker run -v $PWD:/code -w /code -e MIX_ENV=qa --entrypoint /bin/sh bburago_web \
|
2247
|
+
'-c' 'mix local.hex --force && mix hex.info && \
|
2248
|
+
mix deps.get && mix compile && mix deps.compile && \
|
2249
|
+
rm -rf _build/qa/rel/ && \
|
2250
|
+
mix release --env=qa'"
|
2251
|
+
].each do |cmd|
|
2252
|
+
execute_command cmd
|
2253
|
+
end
|
2254
|
+
end
|
2238
2255
|
|
2239
2256
|
artifact_path = Dir.glob('_build/qa/rel/bburago/releases/*/bburago.tar.gz').first
|
2240
2257
|
upload_artifact(artifact_path, "microservices/bburago/#{revision}-qa.tar.gz", "#{@s3_bucket}-encrypted")
|