Commit Graph

3599 Commits

Author SHA1 Message Date
Sameer Naik b998c17851 tests: postgres user can now login remotely without a password 2016-07-11 23:20:06 +05:30
Francisco Ortiz 4a4b54342c Merge pull request #27 from bitnami/9.5
Updated PostgreSQL to 9.5.3-3
2016-07-07 18:48:40 +02:00
Fran ad6382f916 Updated PostgreSQL to 9.5.3-3 2016-07-07 18:46:19 +02:00
tompizmor 9bbc6d1426 Merge pull request #26 from bitnami/revert-25-master
Revert "Update PostgreSQL to 9.5.3-3"
2016-07-07 18:30:46 +02:00
tompizmor 152113788a Revert "Update PostgreSQL to 9.5.3-3" 2016-07-07 18:30:37 +02:00
tompizmor e4d793228b Merge pull request #25 from Fortiz2305/master
Update PostgreSQL to 9.5.3-3
2016-07-07 18:17:40 +02:00
Fran 4039ec197c Update PostgreSQL to 9.5.3-3 2016-07-07 18:12:10 +02:00
Sameer Naik 6d31d367e2 Stacksmith merger (#24)
* switch to harpoon installer

* switch to `gcr.io/stacksmith-images/ubuntu:14.04` base image

* removed unused files

* switch to `gcr.io/stacksmith-images/ubuntu:14.04` base image

* organize dockerfile for stacksmith (#2)

* verify checksum in harpoon commands
* removed `BITNAMI_APP_DIR` macro
* removed `BITNAMI_APP_VOL_PREFIX` macro
* moved hacks to `app-entrypoint.sh`
* organize dockerfile for stacksmith
* tests: updated

* Bump version (#3)

* upgrade to `gcr.io/stacksmith-images/ubuntu:14.04-r06`

* upgrade to `postgresql-9.4.5-1`

* password for `postgres` user is now optional

* upgrade to `postgresql-9.4.5-2`

* organize dockerfile

* ignore `.git/` and `tests/` directories in docker builds

* ignore `pkg-cache/` in git

* add `/opt/bitnami/$BITNAMI_APP_NAME/sbin` to `PATH`

* upgrade to `gcr.io/stacksmith-images/ubuntu:14.04-r07` baseimage

* tests: cannot login as postgres user without a password

* add `POSTGRES_DB` env param to create database

* add `POSTGRES_USER` env param to create custom user

* add parameters to support master/slave replication

* update to postgresql-9.5.3-0

* readme: updated

* updated to `postgresql-9.5.3-1`
2016-06-06 09:07:57 -07:00
Jorge Marin 50e9f69ac9 Merge pull request #23 from bitnami/9.5.2-0
bump version 9.5.2-0
2016-04-06 11:27:47 +02:00
Bitnami Container Builds 100900fb7d bump version 9.5.2-0 2016-04-06 10:49:25 +02:00
Jorge Marin 8905bd4295 Merge pull request #22 from bitnami/9.5.1-0
bump version 9.5.1-0
2016-03-22 18:29:47 +01:00
Bitnami Container Builds 7a6d5d626f bump version 9.5.1-0 2016-03-22 18:00:17 +01:00
Adnan Abdulhussein 6c4ebcf1c1 Merge pull request #21 from bitnami/9.4.6-1
bump version 9.4.6-1
2016-03-03 10:03:12 -08:00
Bitnami Container Builds 24b89bdcac bump version 9.4.6-1 2016-03-02 21:55:55 +01:00
Sameer Naik 96088b2414 Merge pull request #20 from sameersbn/bump-9.4.6-0-r01
bump version to 9.4.6-0-r01
2016-02-17 12:10:26 -08:00
Sameer Naik 4c2d640e06 bump version to 9.4.6-0-r01 2016-02-17 11:23:28 -08:00
Jorge Marin 2e63b7d997 Merge pull request #19 from bitnami/9.4.6-0
bump version 9.4.6-0
2016-02-17 12:44:19 +01:00
Bitnami Container Builds cf61d3e268 bump version 9.4.6-0 2016-02-17 12:20:22 +01:00
Sameer Naik cee230fc59 Merge pull request #18 from sameersbn/raise-sleep-time
bump tests sleeptime
2016-01-22 15:23:30 +05:30
Sameer Naik 52da8b9251 bump tests sleeptime 2016-01-22 14:59:57 +05:30
Sameer Naik 41193476de Merge pull request #17 from sameersbn/release-9.4.5-2-r02
bump version 9.4.5-2-r02
2016-01-21 22:37:37 +05:30
Sameer Naik b9f34fd64c bump version 9.4.5-2-r02 2016-01-21 21:51:20 +05:30
Sameer Naik 101ec4ece3 Merge pull request #16 from sameersbn/fix-tests
raising `SLEEP_TIME` to `10` to fix tests on jenkins
2016-01-21 00:57:56 +05:30
Sameer Naik 1a90ba52ca raising `SLEEP_TIME` to `10` to fix tests on jenkins 2016-01-20 01:04:01 +05:30
Sameer Naik 68a43ce139 moved `set_pg_param` and `set_hba_param` helper functions to `post-install.sh` 2016-01-16 12:15:38 +05:30
Sameer Naik ad59d607b3 run install script as executable 2016-01-16 11:26:03 +05:30
Sameer Naik d6bc1461e3 validate `POSTGRES_MODE` 2016-01-15 23:39:47 +05:30
Sameer Naik 8ecefe74c7 readme: fixed typos 2016-01-15 23:26:12 +05:30
Sameer Naik ff2dda5767 replace used of `postgres` user string with `BITNAMI_APP_USER` 2016-01-15 22:58:53 +05:30
Sameer Naik 80031d164a cite PostgreSQL wikipedia article 2016-01-15 22:41:01 +05:30
Sameer Naik e3563fa711 minor `create_replication_user` restructuring 2016-01-15 21:17:13 +05:30
Sameer Naik a8c74e5542 moved default configurations to `post-install.sh`
If user does not mount the `conf/` volume and instead only mounts the
`data/` volume, the postgres server would not allow connections from
users when the container is recreated using existing volumes because the
access information (which is created only on the firstrun) is stored in
the `conf/` volume which would be lost on recreation. This is also true
for replication users.

To resolve this we moved the basic default configurations to the
`post-install.sh`, including the `pg_hba.conf` configurations that
allows database and replication users to login using md5 authentication.
2016-01-15 15:13:48 +05:30
Sameer Naik d7ff8959fa Merge pull request #15 from sameersbn/finalize-interface
Finalize interface
2016-01-14 14:03:26 +05:30
Sameer Naik e055f416da renamed env param `POSTGRES_REPLICATION_MODE` to `POSTGRES_MODE` 2016-01-14 13:54:58 +05:30
Sameer Naik 926af3c2e7 Make `bitnami/postgresql` a drop-in replacement for the official `postgres` image 2016-01-14 13:53:21 +05:30
Sameer Naik fbdfcf9ec1 Merge pull request #14 from sameersbn/release-finalization
Release finalization
2016-01-13 21:30:15 +05:30
Sameer Naik e1b74021ff removed `postgresql.conf` configurations from `post-install.sh` 2016-01-13 14:40:33 +05:30
Sameer Naik dfb9ad914c removed redundant `chown` 2016-01-13 14:40:33 +05:30
Sameer Naik 17a5627f76 renamed `initialize_replication_parameters` to `discover_replication_parameters` 2016-01-13 14:40:33 +05:30
Sameer Naik e8520dae73 added configuration helpers 2016-01-13 14:40:33 +05:30
Sameer Naik 7e9a8df0c5 renamed function `configure_replication_slave` to `configure_recovery` 2016-01-13 14:40:33 +05:30
Sameer Naik fc211db311 tests: speed up tests 2016-01-13 14:40:28 +05:30
Sameer Naik 2c8c779776 avoid duplicate entries in `pg_hba.conf` 2016-01-13 11:20:03 +05:30
Sameer Naik 7b15bb877c use bash parameter expansion to set default value of `POSTGRESQL_USER` 2016-01-13 11:20:03 +05:30
Sameer Naik b7b87a6ebd set `POSTGRESQL_REPLICATION_MODE=master` by default 2016-01-13 11:20:02 +05:30
Sameer Naik 4cff7b5acb enforce passwords for custom user 2016-01-12 22:09:17 +05:30
Sameer Naik a0284d0b31 call `print_app_credentials` irrespective of `POSTGRESQL_REPLICATION_MODE` 2016-01-12 21:25:41 +05:30
Sameer Naik a38cd88a63 `chown` volumes at the very beginning of initialization
chown'ing the `conf/`, `data/` and `logs/` volumes at the begining of
the initialization ensures that no permission issues are encountered
during initialization.
2016-01-12 20:00:44 +05:30
Sameer Naik 1da1a390aa Merge pull request #13 from sameersbn/misc-fixes
Misc fixes
2016-01-12 12:56:33 +05:30
Sameer Naik 4ad0ff2fe9 avoid duplicate entries in `postgresql.conf` 2016-01-12 12:38:25 +05:30