Merge branch 'bug/refactor-ci' into 'master'
Refactor CI Closes #98 See merge request framasoft/mobilizon!103
This commit is contained in:
commit
0b1845a1fb
|
@ -1,6 +1,7 @@
|
||||||
image: tcitworld/mobilizon-ci
|
image: tcitworld/mobilizon-ci
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- deps
|
||||||
- front
|
- front
|
||||||
- back
|
- back
|
||||||
- deploy
|
- deploy
|
||||||
|
@ -19,6 +20,28 @@ variables:
|
||||||
MOBILIZON_DATABASE_HOST: $POSTGRES_HOST
|
MOBILIZON_DATABASE_HOST: $POSTGRES_HOST
|
||||||
GEOLITE_CITIES_PATH: "/usr/share/GeoIP/GeoLite2-City.mmdb"
|
GEOLITE_CITIES_PATH: "/usr/share/GeoIP/GeoLite2-City.mmdb"
|
||||||
|
|
||||||
|
setup_elixir_deps:
|
||||||
|
stage: deps
|
||||||
|
script:
|
||||||
|
- mix deps.get
|
||||||
|
- mix compile
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- deps
|
||||||
|
- _build
|
||||||
|
|
||||||
|
setup_js_deps:
|
||||||
|
stage: deps
|
||||||
|
before_script:
|
||||||
|
- cd js
|
||||||
|
script:
|
||||||
|
- npm install
|
||||||
|
after_script:
|
||||||
|
- cd ../
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- js/node_modules
|
||||||
|
|
||||||
js:
|
js:
|
||||||
stage: front
|
stage: front
|
||||||
before_script:
|
before_script:
|
||||||
|
|
Loading…
Reference in a new issue