-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathwebserver_config.properties.dist
133 lines (117 loc) · 5.45 KB
/
webserver_config.properties.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
###############################################
# Configure with your own values.
#
# Remember to run ./before_run_setup.sh after changing
# any of those values as everything would change and
# previous runs would neither be valid.
###############################################
## Site info #################################################
# All Moodle db types supported, but only 'pgsql' and 'mysqli' auto backup/restore, manual backup/restore required for other drivers, more info in before_run_setup.sh and after_run_setup.sh.
dbtype="pgsql"
dbhost="localhost"
dbname="moodleperformancecomparison"
# The user should have permissions to create and drop databases.
dbuser="postgres"
dbpass="yourpassword"
dbprefix="mdl_"
# As explained in README.md these tools are intended to be used in internal networks.
wwwroot="http://yourwebserver/path/to/moodle-performance-comparison/moodle"
dataroot="/your/dataroot/directory"
toolgeneratorpassword="moodlerules"
## Repository and test branches information ##################
# The moodle repository where the base branch is located.
repository="https://github.com/moodle/moodle.git"
# The base where both before and after branches will be updated.
# This is necessary in case there are changes in
# the generators codebase between before and after, we would not
# be able to compare results as the test plan generator or the
# generated data would change, so this setting will always be
# pointing to a minor or major release hash.
#
# You don't need to change this value
# This is Moodle 4.5 (Build: 20241007) - 2024100700.00
basecommit="52c0da7c647bd6ba8c5f61882d88959821a1fb41"
# This is Moodle 4.4 (Build: 20240422) - 2024042200.00
#basecommit="ee91c6536f99e1633e2245780c4fe7f47340ed66"
# This is Moodle 4.3 (Build: 20231009) - 2023100900.00
#basecommit="fe7aff8093240cc373f1ddaa66ecb91c4bc0a09f"
# This is Moodle 4.2 (Build: 20230424) - 2023042400.00
#basecommit="ae4efa96ee8169a848c141ad21690165ea791552"
# This is Moodle 4.1 (Build: 20221128) - 2022112800.00
#basecommit="0ea3d45e04c3d54a3a472ddcb11606b30e227c50"
# This is Moodle 4.0 (Build: 20220419) - 2022041900.00
#basecommit="8b359ad7a63cf219110bca80552fe3d4ea2a635d"
# This is Moodle 3.11 (Build: 20210517) - 2021051700.00
#basecommit="94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"
# This is Moodle 3.10 (Build: 20201109) - 2020110900.00
#basecommit="ec58cefefb2722f61f77c9a2b6a12d40a8c078a0"
# This is Moodle 3.9 (Build: 20200615) - 2020061500.00
#basecommit="500c131eb49771e36f68d151dfa37fef5a9bc2df"
# This is Moodle 3.8 (Build: 20191118) - 2019111800.00
#basecommit="f968cd44e8ee5d54b1bc56823040ff770dbf18af"
# This is Moodle 3.7 (Build: 20190520) - 2019052000.00
#basecommit="89457b26d192c06325bb6782b85d1025dafbefe9"
# This is Moodle 3.6 (Build: 20181203) - 2018120300.00
#basecommit="cb628a9a08933c2a9f1eae2f3be70ea5d343b419"
# This is Moodle 3.5 (Build: 20180517) - 2018051700.00
#basecommit="46574904afd39578fa4146bf1fc5c401ac680aa6"
# This is Moodle 3.4 (Build: 20171113) - 2017111300.00
#basecommit="665c3ac59c35b7387a4fc70b8ac6600ce9ffeb87"
# This is Moodle 3.3 (Build: 20170515) - 2017051500.00
#basecommit="b87a580aa3eb23d5f05d7f619fc40a89e0f86fe5"
# This is Moodle 3.2 (Build: 20161205) - 2016120500.00
#basecommit="b182239f21c38ea57cddb41b0c03ef3eb02709f8"
# This is Moodle 3.1 (Build: 20160523) - 2016052300.00
# basecommit="268abfacc54c4cbf9722c1502569b311c7caefff"
# This is Moodle 3.0 (Build: 20150511) - 2015051100.00
#basecommit="6114fab93b414fcfa107d5a8fa2b35bc99d3464e"
# This is Moodle 2.9 (Build: 20150511) - 2015051100.00
#basecommit="cbd90c01c120a199ca53b5965785c55f88834cdc"
# This is Moodle 2.8 (Build: 20141110) - 2014111000.00
# basecommit="21db825b19e84bb24c0661b551a5069970e143c4"
# Older bases in the branch will be listed here:
# The original branch.
# Usually one of Moodle's weekly released branches. You can also use a git hash here.
beforebranchrepository="https://github.com/moodle/moodle.git"
beforebranch="main"
# The branch to compare against.
# Usually your development branch or the same $beforebranch value if
# you are comparing different settings configurations. You can also use a git hash here.
afterbranchrepository="https://github.com/moodle/moodle.git"
afterbranch="main"
## Others ####################################################
# The database and dataroot backups will be stored here.
# Note that this can grow a lot depending on the test sizes you use.
backupsdir="/your/directory/with/a/lot/of/free/space"
# Services names to restart before each run.
# Note that this will only work in a limited set of systems as it uses system calls like "service $servicename restart"
# You will need to restart the involved services manually.
#
# Default value set in defaults.properties
#
#servicesarray=( apache2 mysql postgresql )
# Path or alias of the browser you want to open the results with.
# This setting is only useful when running compare.sh script.
#
# Default value set in defaults.properties
#
#browser="firefox"
# Allows you to overwrite the default commands.
# Useful if you have multiple instances, if your
# commands are not in $PATH...
#
# Default values set in defaults.properties
#
#phpcmd='php'
#mysqlcmd='mysql'
#pgsqlcmd='psql'
#mysqldumpcmd='mysqldump'
#pgsqldumpcmd='pg_dump'
#gitcmd='git'
#curlcmd='curl'
# Allows you to change the size used by compare.sh
# Note that using a XS size may lead to unstable results
# as there is moodle code that only runs only certain
# timing conditions; this is balanced leading to stable
# results using a S size or higher.
#defaultcomparesize=S