-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathenvironaut.xml
87 lines (70 loc) · 3.67 KB
/
environaut.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<environaut xmlns="http://mivesto.de/environaut/config/1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<name>Honeybee project environment configuration</name>
<description><![CDATA[
This is an Environaut configuration file for a Honeybee project that
defines settings and checks to be performed for project configuration
and health checking.
]]></description>
<keywords>
<keyword>Honeybee</keyword>
<keyword>Environment</keyword>
<keyword>Configuration</keyword>
<keyword>Settings</keyword>
<keyword>Checks</keyword>
</keywords>
<introduction><![CDATA[
<comment>This will check and configure this Honeybee project's environment.</comment>
Hint: When being asked for a value type in the correct string or pick a
given one. Available autocompletions can be accepted via <info>TAB key</info>. Some questions
will allow to pick common values via <info>UP/DOWN arrows</info>. To accept default values
just hit the <info>ENTER key</info>.
At the end a security check of a given composer.lock file is performed.
A report with messages will be printed to the CLI and the accumulated
settings will be written to 'etc/local/* files.
Subsequent runs will read the already configured settings from the cache
and thus will not ask again for settings. Use '<comment>--no-cache</comment>' to reconfigure
or run '<comment>make reconfigure-environment</comment>'.
]]></introduction>
<!-- Default is:
<cache location=".environaut.cache" />
-->
<export>
<xi:include href="vendor/honeybee/honeybee-agavi-cmf-vendor/environaut.xml" xpointer="xmlns(ec=http://mivesto.de/environaut/config/1.0) xpointer(//ec:export/ec:*)">
<xi:fallback />
</xi:include>
</export>
<checks>
<!--
Honeybee default environaut environment checks and settings.
-->
<xi:include href="vendor/honeybee/honeybee-agavi-cmf-vendor/environaut.xml" xpointer="xmlns(ec=http://mivesto.de/environaut/config/1.0) xpointer(//ec:checks/ec:*)">
<xi:fallback />
</xi:include>
<check class="Environaut\Checks\ExecutableCheck" name="php" group="local_config">
<parameter name="default">php</parameter>
<parameter name="setting">php_command</parameter>
<parameter name="version_mask" space="preserve" literalize="false">/^PHP (5\.[3456]\.\d{1,2}).*/</parameter>
</check>
<check class="Environaut\Checks\ExecutableCheck" name="sass">
<parameter name="default">sass</parameter>
<parameter name="version_mask" space="preserve" literalize="false">/Sass 3\.(3|4)/</parameter>
</check>
<check name="base_href" group="local_config">
<parameter name="question">What's the base HREF of the application?</parameter>
<parameter name="default">https://honeybee-agavi-cmf-project.local/</parameter>
<parameter name="validator">Environaut\Checks\Validator::validUrl</parameter>
<parameter name="max_attempts">5</parameter>
</check>
<check name="agavi_environment" group="local_config">
<parameter name="question">What environment do you want to use for this application?</parameter>
<parameter name="default">development</parameter>
<parameter name="choices">
<parameter>integration</parameter>
<parameter>staging</parameter>
<parameter>preview</parameter>
<parameter>production</parameter>
</parameter>
</check>
</checks>
</environaut>