DBZ-705 Allow to configure postgres config file location

This commit is contained in:
Jiri Pechanec 2018-08-13 14:28:16 +02:00
parent 2c20cf4b81
commit d4e64a61cb
3 changed files with 4 additions and 3 deletions

View File

@ -24,9 +24,10 @@
<postgres.encoding>UTF8</postgres.encoding>
<postgres.system.lang>en_US.utf8</postgres.system.lang>
<postgres.image>debezium/postgres:${version.postgres.server}</postgres.image>
<postgres.config.file>/usr/share/postgresql/postgresql.conf.sample</postgres.config.file>
<docker.skip>false</docker.skip>
<docker.showLogs>true</docker.showLogs>
<docker.initimage>ln -fs /usr/share/zoneinfo/US/Samoa /etc/localtime &amp;&amp; echo timezone=US/Samoa &gt;&gt; /usr/share/postgresql/postgresql.conf.sample</docker.initimage>
<docker.initimage>ln -fs /usr/share/zoneinfo/US/Samoa /etc/localtime &amp;&amp; echo timezone=US/Samoa &gt;&gt; ${postgres.config.file}</docker.initimage>
<protobuf.output.directory>${project.basedir}/generated-sources</protobuf.output.directory>
</properties>

View File

@ -34,7 +34,7 @@
builders:
- maven-target:
maven-version: (Default)
goals: clean install -U -s $HOME/.m2/settings-snapshots.xml -pl debezium-connector-postgres -am -fae -Dmaven.test.failure.ignore=true -Dpostgres.port=55432 -Dversion.postgres.server=10.0-alpine
goals: clean install -U -s $HOME/.m2/settings-snapshots.xml -pl debezium-connector-postgres -am -fae -Dmaven.test.failure.ignore=true -Dpostgres.port=55432 -Dversion.postgres.server=10.0-alpine -Dpostgres.config.file=/usr/local/share/postgresql/postgresql.conf.sample
publishers:
- junit:
results: "**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml"

View File

@ -34,7 +34,7 @@
builders:
- maven-target:
maven-version: (Default)
goals: clean install -U -s $HOME/.m2/settings-snapshots.xml -pl debezium-connector-postgres -am -fae -Dmaven.test.failure.ignore=true -Dpostgres.port=55432 -Dversion.postgres.server=9.6-alpine
goals: clean install -U -s $HOME/.m2/settings-snapshots.xml -pl debezium-connector-postgres -am -fae -Dmaven.test.failure.ignore=true -Dpostgres.port=55432 -Dversion.postgres.server=9.6-alpine -Dpostgres.config.file=/usr/local/share/postgresql/postgresql.conf.sample
publishers:
- junit:
results: "**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml"