Skip to content
Snippets Groups Projects
Commit 745dd31e authored by Davide Aprea's avatar Davide Aprea
Browse files

Merge branch '1062-add-dummy-engine-to-docker-installation' of...

Merge branch '1062-add-dummy-engine-to-docker-installation' of https://gitlab.metager.de/open-source/MetaGer into 1062-add-dummy-engine-to-docker-installation
parents 9a567600 cc995a06
No related branches found
No related tags found
3 merge requests!1895Development,!1775Development,!1765Resolve "add dummy-engine to docker installation"
...@@ -42,8 +42,11 @@ build: ...@@ -42,8 +42,11 @@ build:
prepare_node: prepare_node:
stage: prepare stage: prepare
image: node:10 image: node:10
variables:
npm_config_cache: "$CI_PROJECT_DIR/.npm"
before_script: before_script:
- npm install - npm install -g npm-cache
- npm-cache install --cacheDirectory "$CI_PROJECT_DIR/.npm-package-cache" npm
script: script:
- npm run prod - npm run prod
artifacts: artifacts:
...@@ -53,25 +56,28 @@ prepare_node: ...@@ -53,25 +56,28 @@ prepare_node:
- public/mix-manifest.json - public/mix-manifest.json
cache: cache:
# Cache per Branch # Cache per Branch
key: "node-$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" key: "metager-${CI_JOB_NAME}"
paths: paths:
- node_modules - .npm
- .npm-package-cache
only: only:
- branches - branches
- tags - tags
prepare_composer: prepare_composer:
stage: prepare stage: prepare
image: prooph/composer:7.3 image: registry.metager.de/open-source/composer/master
variables:
COMPOSER_HOME: "$CI_PROJECT_DIR/.composer"
script: script:
- composer install --no-dev - composer install --no-dev
artifacts: artifacts:
paths: paths:
- vendor - vendor
cache: cache:
key: "composer-$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" key: "metager-${CI_JOB_NAME}"
paths: paths:
- vendor - .composer
review: review:
variables: variables:
......
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