Commit graph

279 commits

Author SHA1 Message Date
Michael Banck d2c87e9e76 * debian/pg_createconfig_patroni: Filter out comments from
/etc/patroni/dcs.yml when assembling the Patroni configuration file.
2019-05-21 22:14:34 +02:00
Michael Banck 658e5b4dd0 Setting distribution to unreleased 2019-02-16 07:30:36 +01:00
Michael Banck b66fbfc101 Final changelog for patroni_1.5.5-1 2019-02-16 07:30:36 +01:00
Michael Banck 6e919a8ad3 * debian/config.yml.in: Set use_pg_rewind to false again. 2019-02-15 23:36:26 +01:00
Michael Banck 39bf90fbef * debian/patches/reclone-unable-pg_rewind.patch: Removed, no longer needed. 2019-02-15 23:35:02 +01:00
Michael Banck 7d1e81e853 * debian/patches/behave_failure_logging.patch: Removed, applied upstream.
* debian/patches/acceptance_tests_coverage_binary.patch: Likewise.
  * debian/patches/automatic_primary_reinit.patch: Likewise.
  * debian/patches/automatic_primary_reinit.patch: Likewise.
  * debian/patches/patronictl_timeline_info.patch: Likewise.
  * debian/patches/acceptance_tests_postgres_port.patch: Likewise.
  * debian/patches/fix_replication_connection.patch: Likewise.
  * debian/patches/consul_import.patch: Refreshed.
2019-02-15 20:29:59 +01:00
Michael Banck caaeb33188 Setting distribution to unreleased 2019-02-08 17:45:11 +01:00
Michael Banck cbf2329990 Final changelog for patroni_1.5.4-8 2019-02-08 17:45:11 +01:00
Michael Banck a57e0af6f6 * debian/config.yml.in: Set remove_data_directory_on_rewind_failure and
use_pg_rewind to true.
2019-02-08 17:41:25 +01:00
Michael Banck ec96dc075d * debian/patches/reclone-unable-pg_rewind.patch: New patch, reclones from the
primary if use_pg_rewind and remove_data_directory_on_rewind_failure are
    set, but the postgres password is empty.
2019-02-08 17:40:16 +01:00
Michael Banck bb564a258d Fix whitespace and refresh patches 2019-02-08 16:03:50 +01:00
Michael Banck cfc3c81075 * debian/pg_createconfig_patroni: Remove obsolete SCOPE parsing code. 2019-02-08 15:48:50 +01:00
Michael Banck fbfd686a2b * debian/patches/acceptance_tests_coverage_binary.patch: Updated according to
upstream feedback.
  * debian/patches/behave_failure_logging.patch: Likewise.
  * debian/patches/acceptance_tests_postgres_port.patch: Refreshed.
  * debian/patches/acceptance_tests_system_patroni.patch: Likewise.
2019-02-08 15:45:23 +01:00
Michael Banck 7dbc251dd2 * debian/pg_createconfig_patroni: Remove debugging output and fix premature
exit.
2019-02-08 15:21:36 +01:00
Michael Banck 5e6c49a5b9 Setting distribution to unreleased 2019-02-07 18:13:20 +01:00
Michael Banck ff5b45ec8b Final changelog for patroni_1.5.4-7 2019-02-07 18:13:20 +01:00
Michael Banck d23215fafe * debian/README.Debian: Updated for pg_createconfig_patroni syntax change. 2019-02-07 18:12:45 +01:00
Michael Banck 7dc45d72e7 Fix typo in changelog 2019-02-07 18:11:02 +01:00
Michael Banck 85a4ca636b * debian/patches/acceptance_tests_system_patroni.patch: Refreshed.
* debian/patches/acceptance_tests_postgres_port.patch: Likewise.
2019-02-07 18:04:55 +01:00
Michael Banck 8a65afb554 * debian/patches/coverage_binary.patch: Removed, and replaced with ...
* debian/patches/acceptance_tests_coverage_binary.patch: ... this patch,
    which is generally applicable.
2019-02-07 18:03:48 +01:00
Michael Banck 14b1f81df2 * debian/patches/sphinx_no_mathjax.patch: Removed, no longer needed. 2019-02-07 18:01:42 +01:00
Michael Banck 9dac6883f9 * debian/pg_creatconfig_patroni: Remove --scope option in favor of
pg_createcluster's regular "[options] <version> <cluster name>" syntax.
2019-02-07 17:58:52 +01:00
Michael Banck a5a0313dfd Setting distribution to unreleased 2019-02-04 21:12:35 +01:00
Michael Banck dda6f96501 Final changelog for patroni_1.5.4-6 2019-02-04 21:12:35 +01:00
Michael Banck 06a63bcc70 * debian/tests/acceptance: Set shell to bash. 2019-02-04 15:17:35 +01:00
Michael Banck 73515105b2 * debian/pg_createconfig_patroni: Determine Patroni API port dynamically and
add @API_PORT@ substitution.
  * debian/config.yml.in: Replace API port by @API_PORT@.
2019-02-04 14:52:12 +01:00
Michael Banck 88f6008c75 * debian/tests/acceptance: Fix DCS check for zookeeper in case etcd-server is
installed as well.
2019-02-04 14:48:05 +01:00
Michael Banck faea09fd0d Setting distribution to unreleased 2019-02-04 12:15:43 +01:00
Michael Banck d5ae64fb91 Final changelog for patroni_1.5.4-5 2019-02-04 12:15:43 +01:00
Michael Banck b74f8e56f7 Further refine comments 2019-01-30 15:13:22 +01:00
Michael Banck 6416e181cd * debian/config.yml.in: Add comments. 2019-01-30 15:08:39 +01:00
Michael Banck 7ad46a1ff2 * debian/config.yml.in: Create pgpass file under /var/lib/postgresql. 2019-01-30 14:58:28 +01:00
Michael Banck 3066313182 * debian/README.Debian: Add sections on pg_hba.conf and pg_rewind/postgres
database password.
2019-01-30 12:59:01 +01:00
Michael Banck d1d4bf1b0c * debian/tests/control: Use `Test-Command' directive with relative path
instead of `Tests' and pass it the DCS as argument.
  * debian/tests/acceptance: Set DCS variable as provided by the command-line
    argument.
2019-01-30 12:57:32 +01:00
Michael Banck 1d92f074a2 * debian/config.yml.in: Set postgresql.pgpass option and add a commented-out
pg_hba line for md5 connections from the local network.
2019-01-30 12:55:32 +01:00
Michael Banck dec37dfc3b Setting distribution to unreleased 2019-01-29 11:22:38 +01:00
Michael Banck 1b29d48c5f Final changelog for patroni_1.5.4-4 2019-01-29 11:22:38 +01:00
Michael Banck c816a536ff * debian/tests/acceptance: Wait 5 seconds after starting zookeeper. 2019-01-29 11:22:16 +01:00
Michael Banck c6dae1036f * debian/config.yml.in: Remove local network md5 pg_hba entry, no longer
needed.
2019-01-28 22:22:14 +01:00
Michael Banck 0efd0e0171 * debian/config.yml.in: Set pg_hba in bootstrap.dcs.postgresql section. This
way, it will be picked up by replicas as well.  As the pg_hba.conf file is
    created from scratch in this case, also add the default values.
2019-01-28 15:58:01 +01:00
Michael Banck a8522c6f39 * debian/patches/fix_replication_connection.patch: New patch, fixes the
initiation of replication connections for version 10 and up, taken from
    proposed upstream commit e285e159.
2019-01-28 14:21:06 +01:00
Michael Banck 5b93c19bbf * debian/config.yml.in: Make PostgreSQL to also listen to 127.0.0.1 by
default.
2019-01-28 14:19:41 +01:00
Michael Banck 3be7688421 * debian/pg_clonecluster_patroni: Create stub instance with start.conf set to
manual instead of disabled, in lines with pg_creatcluster_patroni.
2019-01-28 13:37:31 +01:00
Michael Banck 70bf5293cd Setting distribution to unreleased 2019-01-27 14:40:18 +01:00
Michael Banck 31dc61cb97 Final changelog for patroni_1.5.4-3 2019-01-27 14:40:18 +01:00
Michael Banck a6f28d48a1 Add missing patch file 2019-01-27 14:21:02 +01:00
Michael Banck d0b38d952e * debian/tests/control: Add additional acceptance tests runs with zookeeper
and consul as DCS.
2019-01-27 14:20:12 +01:00
Michael Banck 65557e4cc6 * debian/tests/acceptance: Add support for consul as DCS. 2019-01-27 14:19:16 +01:00
Michael Banck 2f91093efa * debian/config.yml.in: Set use_pg_rewind to false and add
remove_data_directory_on_diverged_timelines option.
2019-01-27 14:18:37 +01:00
Michael Banck a475f58697 * debian/tests/acceptance: Set JAVA_OPTS to "-Djava.net.preferIPv4Stack=true"
in /etc/default/zookeepr if DCS is zookeeper.
2019-01-26 21:19:25 +01:00
Michael Banck e306123dcb * debian/patches/acceptance_tests_postgres_port.patch: Further lower the base
port to 5340.
2019-01-26 21:17:04 +01:00
Michael Banck d5b94c318e * debian/patches/acceptance_tests_postgres_port.patch: New patch, set base
port for acceptance tests to 5420 in order not to conflict with possible
    system clusters.
2019-01-26 18:10:30 +01:00
Michael Banck e062f5f988 * debian/patches/automatic_primary_reinit.patch: New patch, allows to
automatically reinit a former primary if a rewind is not possible, taken
    from proposed upstream commit 3a509cab.
2019-01-26 15:19:33 +01:00
Michael Banck 292f99ab6f * debian/patches/patronictl_timeline_info.patch: New patch, shows timeline
information in patronictl list, taken from proposed upstream commit
    fcc28c1b.
2019-01-26 15:18:04 +01:00
Christoph Berg a18cb0565c Remove myself from uploaders. 2019-01-22 16:24:56 +01:00
Michael Banck 384c7875c7 Setting distribution to unreleased 2019-01-21 17:10:49 +01:00
Michael Banck 337d8160e6 Final changelog for patroni_1.5.4-2 2019-01-21 17:10:49 +01:00
Michael Banck b50ab38d43 * debian/README.Debian: Updated. 2019-01-21 17:10:19 +01:00
Michael Banck 27d8f4f163 * debian/pg_createconfig_patroni: Add support for --network switch and set
$NETWORK variable to local network if not set.
  * debian/config.yml.in: Allow replication and client connections from
    @NETWORK@ network.
2019-01-21 17:08:28 +01:00
Michael Banck 928d713614 * debian/pg_createcluster_patroni: Put clusters in manual mode, rather than
disabled mode during creation.
2019-01-21 17:07:05 +01:00
Michael Banck 109fe3c4f4 * debian/config.yml.in: Commented out pgpass directive. 2019-01-21 17:04:53 +01:00
Michael Banck 48cc554f41 * debian/pg_createconfig_patroni: Load DCS configuration into $DCS_CONFIG
variable and replace both @HOSTNAME@ and @DCS_CONFIG@ placeholders in
    config template.
2019-01-21 14:43:53 +01:00
Michael Banck f0d6e56a90 * debian/config.yml.in: Remove DCS-related commented-out lines and replace
them with @DCS_CONFIG@ placeholder.
2019-01-21 14:42:21 +01:00
Michael Banck 2cdbe859ba Setting distribution to unreleased 2019-01-15 19:12:36 +01:00
Michael Banck abcaa56c75 Final changelog for patroni_1.5.4-1 2019-01-15 19:12:36 +01:00
Michael Banck 452f26f844 * debian/patches/acceptance_tests_system_patroni.patch: Refreshed.
* debian/patches/behave_failure_logging.patch: Likewise.
  * debian/patches/check_postmaster.patch: Likewise.
  * debian/patches/consul_import.patch: Likewise.
  * debian/patches/coverage_binary.patch: Likewise.
2019-01-15 19:12:12 +01:00
Michael Banck 78e026f8c5 * New upstream point release. 2019-01-15 18:42:18 +01:00
Michael Banck e22dafae50 * debian/pg_createconfig_patroni: Set default port if no clusters exist yet. 2019-01-15 18:09:30 +01:00
Michael Banck 9c475d93c7 * debian/pg_createconfig_patroni: Fix error handling if port is already in use. 2019-01-15 16:58:06 +01:00
Michael Banck ba9d9787cd * debian/pg_createconfig_patroni: Make sure $HOSTIP has no spaces. 2019-01-15 16:52:55 +01:00
Michael Banck fc45e29545 * debian/pg_createconfig_patroni: Add --port option and automatically assign
the next free pg-common port if not specified.
2019-01-15 16:41:13 +01:00
Michael Banck 1331953756 * debian/config.yml.in: Add @PORT@ option. 2019-01-15 16:40:27 +01:00
Michael Banck adfe126ba0 Add bug closing tag 2019-01-15 16:21:49 +01:00
Michael Banck 85dc05c201 * debian/README.Debian: New file. 2019-01-15 16:10:15 +01:00
Michael Banck fd3cdc0bd3 Setting distribution to unreleased 2019-01-14 22:29:11 +01:00
Michael Banck 9e805ae63c Final changelog for patroni_1.5.3-2 2019-01-14 22:29:10 +01:00
Michael Banck 16654bdd45 * debian/config.yml.in: Updated with more comments and using the postgres
user with local sockets as default mode.
2019-01-14 21:01:56 +01:00
Michael Banck 4724130eb7 * debian/pg_createconfig_patroni: Set owner of Patroni configuration file to
postgres.
2019-01-14 21:00:56 +01:00
Michael Banck 182ad5782e Setting distribution to unreleased 2019-01-14 12:24:56 +01:00
Michael Banck 6101d04172 Final changelog for patroni_1.5.3-1 2019-01-14 12:24:56 +01:00
Michael Banck 07db0240e9 * New upstream point release. 2019-01-14 08:37:35 +01:00
Christoph Berg f2bb21ab2c Use shared gitlab-ci.yml file from postgresql-common. 2018-12-08 14:10:02 +01:00
Michael Banck b54ffd557c * debian/patroni@.service: Set environment file to /etc/patroni/env.conf. 2018-11-11 15:24:54 +01:00
Michael Banck 66706ec370 * debian/patches/startup_scripts.patch: Split out patroni@.service into ...
* debian/patroni@.service: ... this.
  * debian/patroni.install: Adjusted.
2018-11-11 15:23:27 +01:00
Michael Banck 7793595535 Fix Debian revision 2018-11-11 15:22:32 +01:00
Michael Banck 9e547c98a3 Setting distribution to unreleased 2018-11-10 20:55:39 +01:00
Michael Banck 729ed72a47 Setting distribution to unreleased 2018-11-10 19:00:35 +01:00
Michael Banck 0afd6f4c99 Final changelog for patroni_1.5.1-2 2018-11-10 19:00:35 +01:00
Michael Banck 9bebf50f35 * debian/patches/startup_scripts.patch: Add RuntimeDirectory option, set to
create the instance temporary statistics direcotry %v-%c.pg_stat_tmp.
2018-11-10 17:38:31 +01:00
Michael Banck efc6f5da3e * debian/pg_createcluster_patroni, debian/pg_clonecluster_patroni: Set
start mode to disabled.
2018-11-10 17:31:22 +01:00
Michael Banck a9e6731ada * debian/pg_createconfig_patroni: Make variable-substitution globally. 2018-11-10 17:29:46 +01:00
Michael Banck b2261bfc33 Setting distribution to unreleased 2018-11-05 11:43:09 +01:00
Michael Banck b5f3b0581a Final changelog for patroni_1.5.1-1 2018-11-05 11:43:09 +01:00
Michael Banck 8cb3cbda6e * debian/pg_createconfig_patroni: New script.
* debian/dcs.yml, debian/config.yml.in: New configuration templates.
  * debian/patroni.install: Install new script to /usr/bin and configuration
    templates to /etc/patroni.
2018-11-05 08:49:40 +01:00
Michael Banck 0a80df53c0 * debian/patches/behave_failure_logging.patch: Refreshed.
* debian/patches/consul_import.patch: Likewise.
  * debian/patches/coverage_binary.patch: Likewise.
  * debian/patches/startup_scripts.patch: Likewise.
2018-11-05 08:47:35 +01:00
Michael Banck 43a3e01148 * New upstream release. 2018-11-05 08:47:05 +01:00
Michael Banck 9ff4404c53 Setting distribution to unreleased 2018-11-02 19:23:09 +01:00
Michael Banck 8c43b5d47c Final changelog for patroni_1.5.0-12 2018-11-02 19:23:09 +01:00
Michael Banck 1d9c39925c * debian/patches/acceptance_tests_system_patroni.patch: New patch, use the
system installed patroni for acceptance tests.
2018-11-02 19:21:50 +01:00
Michael Banck 246e6d899f * debian/patroni.install: Install binaries as well. 2018-11-02 18:25:16 +01:00