Skip to content
Snippets Groups Projects
Commit b4c4bda2 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] FIx CI build

parent d49d400f
No related branches found
No related tags found
No related merge requests found
Pipeline #12983 passed
...@@ -44,6 +44,7 @@ variables: ...@@ -44,6 +44,7 @@ variables:
stage: build stage: build
tags: [redshift] tags: [redshift]
script: script:
- yarn install
- yarn run build:web - yarn run build:web
after_script: after_script:
- ls -la dist/web/ - ls -la dist/web/
...@@ -59,7 +60,6 @@ build: ...@@ -59,7 +60,6 @@ build:
image: ${CI_BUILD_IMAGE} image: ${CI_BUILD_IMAGE}
before_script: before_script:
- mv /tmp/.build-cache/node_modules ./ - mv /tmp/.build-cache/node_modules ./
- yarn run postinstall
only: only:
- develop - develop
...@@ -68,7 +68,7 @@ failsafe-build: ...@@ -68,7 +68,7 @@ failsafe-build:
stage: alt_build stage: alt_build
when: on_failure when: on_failure
before_script: before_script:
- yarn - yarn global add gulp
only: only:
- develop - develop
...@@ -89,8 +89,8 @@ docker:ci: ...@@ -89,8 +89,8 @@ docker:ci:
- echo 'RUN du -s `find . -maxdepth 1 | egrep -v "^\.$"` > /tmp/before.txt' >> Dockerfile - echo 'RUN du -s `find . -maxdepth 1 | egrep -v "^\.$"` > /tmp/before.txt' >> Dockerfile
- echo 'RUN du -s `find /tmp/.cache/yarn -maxdepth 1 | egrep -v "^\.$"` >> /tmp/before.txt' >> Dockerfile - echo 'RUN du -s `find /tmp/.cache/yarn -maxdepth 1 | egrep -v "^\.$"` >> /tmp/before.txt' >> Dockerfile
# Install dependencies # Install dependencies
#- echo 'RUN yarn global add gulp web-ext @ionic/cli' >> Dockerfile - echo 'RUN yarn global add gulp web-ext @ionic/cli' >> Dockerfile
- echo 'RUN yarn' >> Dockerfile - echo 'RUN yarn install' >> Dockerfile
# Store disk usage (after install) # Store disk usage (after install)
- echo 'RUN du -s `find . -maxdepth 1 | egrep -v "^\.$"` > /tmp/after.txt' >> Dockerfile - echo 'RUN du -s `find . -maxdepth 1 | egrep -v "^\.$"` > /tmp/after.txt' >> Dockerfile
- echo 'RUN du -s `find /tmp/.cache/yarn -maxdepth 1 | egrep -v "^\.$"` >> /tmp/after.txt' >> Dockerfile - echo 'RUN du -s `find /tmp/.cache/yarn -maxdepth 1 | egrep -v "^\.$"` >> /tmp/after.txt' >> Dockerfile
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
"scripts": { "scripts": {
"clean": "gulp clean webClean webExtClean && rm -rf dist/web dist/android && rm -f desktop/**/cesium-*.deb desktop/**/cesium-*.exe platforms/android/**/*.apk", "clean": "gulp clean webClean webExtClean && rm -rf dist/web dist/android && rm -f desktop/**/cesium-*.deb desktop/**/cesium-*.exe platforms/android/**/*.apk",
"postinstall": "node scripts/node/postinstall.js", "postinstall": "node scripts/node/postinstall.js",
"gulp": "gulp",
"lint": "gulp lint", "lint": "gulp lint",
"install-platforms": "ionic cordova prepare", "install-platforms": "ionic cordova prepare",
"start": "ionic serve", "start": "ionic serve",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment