format gitlab-ci.yml

This commit is contained in:
Laurent GAY
2025-09-15 14:25:20 +02:00
parent 3a7c4176c0
commit 211c4541b2

View File

@@ -44,7 +44,7 @@ cache:
install:
stage: install
script:
- rm -rf ~/.hex/cache.ets
- rm -rf ~/.hex/cache.ets
- npm ci
- mix deps.clean --all
- mix deps.get
@@ -97,7 +97,7 @@ build-frontend:
deps:
stage: check
before_script:
- rm -rf ~/.hex/cache.ets
- rm -rf ~/.hex/cache.ets
- mix deps.get
script:
- export EXITVALUE=0
@@ -125,7 +125,7 @@ exunit:
variables:
MIX_ENV: test
before_script:
- rm -rf ~/.hex/cache.ets
- rm -rf ~/.hex/cache.ets
- mix deps.get
- mix compile
- mix tz_world.update
@@ -173,7 +173,7 @@ e2e:
variables:
MIX_ENV: "e2e"
before_script:
- rm -rf ~/.hex/cache.ets
- rm -rf ~/.hex/cache.ets
- mix deps.get
- mix ecto.create
- mix ecto.migrate
@@ -199,7 +199,7 @@ e2e:
pages:
stage: deploy
script:
- rm -rf ~/.hex/cache.ets
- rm -rf ~/.hex/cache.ets
- mv public public-mbz
- mkdir public
- mix deps.get
@@ -327,7 +327,7 @@ package-app:
TZ: Etc/UTC
APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}.tar.gz"
script: &release-script
- rm -rf ~/.hex/cache.ets
- rm -rf ~/.hex/cache.ets
- mix local.hex --force
- mix local.rebar --force
- mix deps.clean --all # To avoid reusing native deps, such as lexbor being already built against another environment