Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-06 00:09:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-06 00:09:08 +0300
commit91264a675246bc77a83322a2eff560eeaba7ce9a (patch)
tree583b137c7c03ece1be11f35de7b39b8b3f7e4560 /scripts/utils.sh
parent51bc2d8e703f667483505f0e3d074f442e1f48e6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/utils.sh')
-rw-r--r--scripts/utils.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/utils.sh b/scripts/utils.sh
index 10b7f856ee6..4554b6988fa 100644
--- a/scripts/utils.sh
+++ b/scripts/utils.sh
@@ -62,6 +62,22 @@ function bundle_install_script() {
echo -e "section_end:`date +%s`:bundle-install\r\e[0K"
}
+function yarn_install_script() {
+ echo -e "section_start:`date +%s`:yarn-install[collapsed=true]\r\e[0KInstalling Yarn packages"
+
+ retry yarn install --frozen-lockfile
+
+ echo -e "section_end:`date +%s`:yarn-install\r\e[0K"
+}
+
+function assets_compile_script() {
+ echo -e "section_start:`date +%s`:assets-compile[collapsed=true]\r\e[0KCompiling frontend assets"
+
+ bin/rake gitlab:assets:compile
+
+ echo -e "section_end:`date +%s`:assets-compile\r\e[0K"
+}
+
function setup_db_user_only() {
source scripts/create_postgres_user.sh
}