Skip to content

19.0.0 compile #3249

@th-2021

Description

@th-2021

To compile 19.0.0 I had to apply the following change:

diff --git a/assets/build/install.sh b/assets/build/install.sh
index 66bb19af..ad5f743a 100755
--- a/assets/build/install.sh
+++ b/assets/build/install.sh
@@ -1,5 +1,6 @@
 #!/bin/bash
 set -e
+set -x # debug

 GITLAB_CLONE_URL=https://gitlab.com/gitlab-org/gitlab-foss.git
 GITLAB_SHELL_URL=https://gitlab.com/gitlab-org/gitlab-shell/-/archive/v${GITLAB_SHELL_VERSION}/gitlab-shell-v${GITLAB_SHELL_VERSION}.tar.bz2
@@ -225,7 +226,7 @@ chown ${GITLAB_USER}: ${GITLAB_INSTALL_DIR}/config/database.yml
 exec_as_git yarn install --production --pure-lockfile

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions