Skip to content

Commit 63fece7

Browse files
committed
Compiling node asses as git user
1 parent 432c58e commit 63fece7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/build/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ chown ${GITLAB_USER}: ${GITLAB_INSTALL_DIR}/config/database.yml
211211
exec_as_git yarn install --production --pure-lockfile
212212

213213
echo "Compiling assets. Please be patient, this could take a while..."
214-
node scripts/frontend/infection_scanner/infection_scanner.mjs
214+
exec_as_git node scripts/frontend/infection_scanner/infection_scanner.mjs
215215
exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true NODE_OPTIONS="--max-old-space-size=8192"
216216

217217
# remove auto generated ${GITLAB_DATA_DIR}/config/secrets.yml

0 commit comments

Comments
 (0)