Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vladishev <aleksander.vladishev@zabbix.com>2019-11-20 16:03:43 +0300
committerAlexander Vladishev <aleksander.vladishev@zabbix.com>2019-11-20 16:03:43 +0300
commit52f3fc7da456c67bd1ccd6904cc80393e1e8f16f (patch)
tree0909e4a82d3e611d08b4515903fec342d3bb5856 /build.xml
parent8efec021d0aa2c6642f4737124e43f6e815876f4 (diff)
.......... [DEV-1253] added initialization of the agent2 configuration file
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 8d1b82e1958..82f6f1e788e 100644
--- a/build.xml
+++ b/build.xml
@@ -49,6 +49,11 @@
<replace file="frontends/php/conf/zabbix.conf.php" token="{PHPUNIT_ERROR_LOG}" value="${phpunit_error_log}"/>
</target>
+ <target name="init-integration">
+ <!-- Copy agent2 configuration file -->
+ <copy overwrite="true" file="src/go/conf/zabbix_agent2.conf" tofile="conf/zabbix_agent2.conf"/>
+ </target>
+
<target name="make-dbschema">
<!-- Create database schema -->
<exec executable="./bootstrap.sh" failonerror="on"/>
@@ -150,7 +155,7 @@
</exec>
</target>
- <target name="init-frontend-postgresql" depends="create-configs,make-dbschema,init-server-postgresql">
+ <target name="init-frontend-postgresql" depends="create-configs,init-integration,make-dbschema,init-server-postgresql">
<exec executable="psql" input="frontends/php/tests/selenium/data/data_test.sql" failonerror="on">
<env key="PGPASSWORD" value="${dbpassword}"/>
<arg line="-h '${dbhost}'"/>
@@ -172,7 +177,7 @@
</exec>
</target>
- <target name="init-integration-postgresql" depends="create-configs,make-binaries-postgresql,init-server-postgresql,init-proxy-postgresql">
+ <target name="init-integration-postgresql" depends="create-configs,init-integration,make-binaries-postgresql,init-server-postgresql,init-proxy-postgresql">
<exec executable="psql" input="frontends/php/tests/integration/data/data_test.sql" failonerror="on">
<env key="PGPASSWORD" value="${dbpassword}"/>
<arg line="-h '${dbhost}'"/>