From ceb4e1d1f0de12c411cd06a146b3344a5da4b5be Mon Sep 17 00:00:00 2001 From: solidnerd Date: Sun, 2 Jul 2017 11:27:44 +0200 Subject: [PATCH] Use gitlab:assets:compile for compiling assets This commit will replace the following rake tasks through a single one. - assets:clean - assets:precompile - webpack:compile Signed-off-by: solidnerd --- assets/build/install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/assets/build/install.sh b/assets/build/install.sh index 388653e7..ce687541 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -151,9 +151,7 @@ exec_as_git cp ${GITLAB_INSTALL_DIR}/config/database.yml.mysql ${GITLAB_INSTALL_ exec_as_git yarn install --production --pure-lockfile echo "Compiling assets. Please be patient, this could take a while..." -#Adding webpack compile needed since 8.17 -exec_as_git bundle exec rake assets:clean assets:precompile webpack:compile USE_DB=false SKIP_STORAGE_VALIDATION=true - +exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true # remove auto generated ${GITLAB_DATA_DIR}/config/secrets.yml rm -rf ${GITLAB_DATA_DIR}/config/secrets.yml