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}"
10
10
11
11
lsb_release -a
12
12
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
-
21
13
# FIXME: This chicken-egg problem is annoying but let us bootstrap for now.
22
14
echo " CREATE DATABASE IF NOT EXISTS \` ${DATABASE_NAME} \` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" | mysql
23
15
echo " CREATE USER 'domjudge'@'%' IDENTIFIED BY 'domjudge';" | mysql
@@ -62,17 +54,6 @@ set +e
62
54
composer install --no-scripts || rm -rf vendor
63
55
set -e
64
56
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
-
76
57
# setup database and add special user
77
58
# shellcheck disable=SC2164
78
59
cd /opt/domjudge/domserver
You can’t perform that action at this time.
0 commit comments