File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,6 @@ export APP_ENV="${1:-prod}"
1010
1111lsb_release -a
1212
13- cat > ~ /.my.cnf << EOF
14- [client]
15- host=sqlserver
16- user=root
17- password=${MYSQL_ROOT_PASSWORD}
18- EOF
19- cat ~ /.my.cnf
20-
2113# FIXME: This chicken-egg problem is annoying but let us bootstrap for now.
2214echo " CREATE DATABASE IF NOT EXISTS \` ${DATABASE_NAME} \` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" | mysql
2315echo " CREATE USER 'domjudge'@'%' IDENTIFIED BY 'domjudge';" | mysql
@@ -62,17 +54,6 @@ set +e
6254composer install --no-scripts || rm -rf vendor
6355set -e
6456
65- # install all php dependencies
66- composer install --no-scripts
67- echo -e " \033[0m"
68- cd $DIR
69-
70- # configure, make and install (but skip documentation)
71- make configure
72- ./configure --with-baseurl=' http://localhost/domjudge/' --with-domjudge-user=domjudge --with-judgehost_chrootdir=${DIR} /chroot/domjudge | & tee " $GITLABARTIFACTS /configure.log"
73- make build-scripts domserver judgehost docs | & tee " $GITLABARTIFACTS /make.log"
74- sudo make install-domserver install-judgehost install-docs | & tee -a " $GITLABARTIFACTS /make.log"
75-
7657# setup database and add special user
7758# shellcheck disable=SC2164
7859cd /opt/domjudge/domserver
You can’t perform that action at this time.
0 commit comments