forked from oswaldderiemaecker/subsite-starterkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.properties.dist
273 lines (192 loc) · 9.02 KB
/
build.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
# Subsite configuration
# ---------------------
# The site name.
subsite.name = My Project
# The make file containing the dependencies of the subsite.
subsite.make = ${subsite.resources.dir}/site.make
# Modules to enable after installation. Separate multiple modules with spaces.
subsite.install.modules = myproject_core
# Drupal configuration
# --------------------
# Database settings.
drupal.db.type = mysql
drupal.db.name = db_name
drupal.db.user = root
drupal.db.password =
drupal.db.host = 127.0.0.1
drupal.db.port = 3306
drupal.db.url = ${drupal.db.type}://${drupal.db.user}:${drupal.db.password}@${drupal.db.host}:${drupal.db.port}/${drupal.db.name}
# Admin user.
drupal.admin.username = admin
drupal.admin.password = pass
drupal.admin.email = ${drupal.admin.username}@example.com
# The location of the .htaccess file in the Drupal root folder.
drupal.htaccess.path = ${platform.build.dir}/.htaccess
# Configuration to append to the .htaccess file in the Drupal root folder.
drupal.htaccess.append.text =
# The site name to use. Use 'all' unless you want to build a multisite setup.
drupal.site.name = all
# The Drupal core version.
drupal.core.version = 7.x
# Platform configuration
# ----------------------
# The root directory of the platform. This will become the Drupal root folder,
# so point your web server here.
platform.build.dir = ${project.basedir}/platform
# The install profile to use. Either multisite_drupal_standard or
# multisite_drupal_communities.
platform.profile.name = multisite_drupal_standard
# The branch, tag or commit to use, eg. 'master', 'develop', '2.1.56',
# '7df0d254b'. It is possible to use MySQL style wildcards here, so you can use
# '2.%' to get the latest tagged 2.x.x release which was built.
# For most projects you would want to follow 'master' so that you always have
# the latest version that is deployed on production. Use 'develop' to check if
# your project is compatible with the upcoming release.
platform.package.reference = master
# The provider that hosts the platform repository.
platform.package.provider = git-hub
# The name of the platform repository.
platform.package.repository = ec-europa/platform-dev
# The name of the folder where the platform will be downloaded.
platform.package.destination = ${phing.project.tmp.dir}
# The path to the downloaded package. This is named 'deploy-package.tar.gz'.
platform.package.tarball = ${phing.project.tmp.dir}/deploy-package.tar.gz
# The ContinuousPHP token. Leave this empty for open source projects. Note that
# the NextEuropa platform is open source.
platform.package.token =
# Paths
# -----
# Paths to executables.
composer.bin = composer.phar
drush.bin = ${project.basedir}/bin/drush
git.bin = git
phing.bin = ${project.basedir}/bin/phing
# Build location.
phing.project.build.dir = build
phing.project.src.dir = ${project.basedir}/src
dist.build.dir = ${project.basedir}/${phing.project.build.dir}
# Temporary folder.
phing.project.tmp.dir = ${project.basedir}/tmp
# Local resources.
subsite.resources.dir = ${project.basedir}/resources
subsite.resources.lib.dir = ${project.basedir}/lib
subsite.resources.features.dir = ${subsite.resources.lib.dir}/features
subsite.resources.modules.dir = ${subsite.resources.lib.dir}/modules
subsite.resources.source.dir = ${subsite.resources.lib.dir}/src
subsite.resources.themes.dir = ${subsite.resources.lib.dir}/themes
subsite.resources.composer.json = ${subsite.resources.dir}/composer.json
subsite.resources.composer.lock = ${subsite.resources.dir}/composer.lock
# Temporary resources. These are generated on the fly when building.
subsite.temporary.development.make = ${phing.project.tmp.dir}/development.make
# Files and directories inside the Drupal installation for local development.
platform.build.settings.dir = ${platform.build.sites.dir}/default
platform.build.files.dir = ${platform.build.settings.dir}/files
platform.build.profiles.dir = ${platform.build.dir}/profiles
platform.build.profile.dir = ${platform.build.profiles.dir}/${platform.profile.name}
platform.build.sites.dir = ${platform.build.dir}/sites
platform.build.subsite.dir = ${platform.build.sites.dir}/${drupal.site.name}
platform.build.subsite.libraries.dir = ${platform.build.subsite.dir}/libraries
platform.build.subsite.modules.dir = ${platform.build.subsite.dir}/modules
platform.build.subsite.modules.contrib.dir = ${platform.build.subsite.modules.dir}/contrib
platform.build.subsite.modules.custom.dir = ${platform.build.subsite.modules.dir}/custom
platform.build.subsite.modules.features.dir = ${platform.build.subsite.modules.dir}/features
platform.build.subsite.source.dir = ${platform.build.subsite.dir}/src
platform.build.subsite.themes.dir = ${platform.build.subsite.dir}/themes
platform.build.subsite.composer.json = ${platform.build.subsite.dir}/composer.json
platform.build.subsite.composer.lock = ${platform.build.subsite.dir}/composer.lock
# Files and directories inside the distribution build.
dist.build.modules.dir = ${dist.build.dir}/modules
dist.build.modules.custom.dir = ${dist.build.modules.dir}/custom
dist.build.modules.features.dir = ${dist.build.modules.dir}/features
dist.build.source.dir = ${dist.build.dir}/src
dist.build.themes.dir = ${dist.build.dir}/themes
dist.build.composer.json = ${dist.build.dir}/composer.json
dist.build.composer.lock = ${dist.build.dir}/composer.lock
# Behat configuration
# -------------------
# The location of the Behat executable.
behat.bin = ${project.basedir}/bin/behat
# The location of the Behat tests.
behat.dir = ${project.basedir}/tests
# The location of the Behat configuration template.
behat.yml.template = ${behat.dir}/behat.yml.dist
# The location of the generated Behat configuration file.
behat.yml.path = ${behat.dir}/behat.yml
# The base URL to use in Behat tests.
behat.base_url = http://localhost
# The location to search for Behat subcontexts.
behat.subcontexts.path = ${platform.build.subsite.dir}
# The output format to use for Behat tests, either 'progress' or 'pretty'.
behat.formatter.name = progress
# Enable strict mode in Behat tests. Will only pass if all tests are explicitly
# passing.
behat.options.strict = false
# Set verbosity for Behat tests. 0 is completely silent, 1 is normal output, 2
# shows exception backtraces, 3 shows debugging information.
behat.options.verbosity = 2
# The path to the custom Behat Contexts.
behat.src.dir = ${behat.dir}/src
# PHP CodeSniffer configuration
# -----------------------------
# The file extensions to test.
phpcs.extensions = php inc module install info test profile theme css js
# The default configuration file to generate.
phpcs.config = ${project.basedir}/phpcs.xml
# The coding standard to use.
phpcs.standard = ${project.basedir}/phpcs-ruleset.xml
# Paths to check, delimited by semicolons.
phpcs.files = ${subsite.resources.dir};${subsite.resources.lib.dir};${phing.project.src.dir};${behat.src.dir}
# Paths to ignore, delimited by semicolons.
phpcs.ignore =
# The report format. For example 'full', 'summary', 'diff', 'xml', 'json'.
phpcs.report = full
# Whether or not to show sniff codes in the report.
phpcs.sniffcodes = 0
# Whether or not to show the progress of the run.
phpcs.progress = 1
# The location of the file containing the global configuration options.
phpcs.global.config = ${project.basedir}/vendor/squizlabs/php_codesniffer/CodeSniffer.conf
# Whether or not to run a coding standards check before doing a git push. Note
# that this will abort the push if the coding standards check fails.
phpcs.prepush.enable = 1
# The source and destination paths of the git pre-push hook.
phpcs.prepush.source = ${project.basedir}/vendor/pfrenssen/phpcs-pre-push/pre-push
phpcs.prepush.destination = ${project.basedir}/.git/hooks/pre-push
# Host configuration
# ------------------
# The location of the webserver docroot. Used for testing on CI infrastructure.
server.docroot = /var/www
# Debugging and development configuration
# ---------------------------------------
# Verbosity of drush commands. Set to TRUE to be verbose.
drush.verbose = FALSE
# Verbosity of PHP Codesniffer. Set to 0 for standard output, 1 for progress
# report, 2 for debugging info.
phpcs.verbose = 0
# Development / testing modules to download.
development.modules.download = devel maillog
# Development / testing modules to enable.
development.modules.enable = devel field_ui maillog simpletest views_ui
# The location where development modules will be installed.
development.modules.location = development
# AWS SDK
# -------
aws.region = eu-west-1
# AWS Cloud Formation
# -------------------
cf.template = single-server
# AWS CodeDeploy
# --------------
deploy.serviceRole = arn:aws:iam::918396081007:role/CodeDeploy
# Subsite starterkit
# ------------------
# The location of the subsite starterkit repository.
starterkit.repository = https://github.com/ec-europa/subsite-starterkit.git
# The branch of the subsite starterkit that will be tracked.
starterkit.branch = master
# The name of the git remote for the starterkit.
starterkit.remote = starterkit
# Build defaults
# --------------
# Whether or not to stop executing the build if a directory cannot be copied.
copy.path.haltonerror = true