Skip to content

Commit 0f1f613

Browse files
committed
Remove v9, v11.10, v11.15 and add v.11.20
1 parent 0a1b86e commit 0f1f613

File tree

12 files changed

+22
-84
lines changed

12 files changed

+22
-84
lines changed

config/blobs.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
postgres/postgresql-9.6.10.tar.gz:
2-
size: 26212016
3-
object_id: 581f0bec-23b5-48a0-4cfc-b6bc36a023c6
4-
sha: 10c705ade828c57710ae0f1ad5bf39217765207f
5-
postgres/postgresql-11.10.tar.gz:
6-
size: 26206541
7-
object_id: c514a8b7-8dfb-4e03-743b-5c12de7a86ce
8-
sha: sha256:17397d1b2c46cadd135b03433a81466afd7821ddbd4cf24671d410b23572e486
9-
postgres/postgresql-11.15.tar.gz:
10-
size: 26509534
11-
object_id: c1ccc6c4-9898-4bae-7914-879cc09af059
12-
sha: sha256:5f6ef2add1acb93d69012a55c3f276b91f4f0c91aa9a91243d9c5737ed5b5541
1+
postgres/postgresql-11.20.tar.gz:
2+
size: 26762813
3+
object_id: e48dbc3a-2ab5-4758-41fd-e325f9b699e7
4+
sha: sha256:85e699ea0fcd3f4347f4373558f4c6c6fe74aeb6aa936d296717410ce7a28f35
135
postgres/postgresql-13.11.tar.gz:
146
size: 28159418
157
object_id: 5c041632-9652-45e0-7074-aeb9c42f963b
@@ -18,4 +10,3 @@ postgres/postgresql-15.3.tar.gz:
1810
size: 29946539
1911
object_id: bfc0b83a-39c6-4f9d-4906-34973f6b9970
2012
sha: sha256:086d38533e28747966a4d5f1e78ea432e33a78f21dcb9133010ecb5189fad98c
21-

jobs/bbr-postgres-db/spec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ templates:
1414

1515
packages:
1616
- postgres-common
17-
- postgres-9.6.10
18-
- postgres-11.15
17+
- postgres-11.20
18+
- postgres-13.11
19+
- postgres-15.3
1920

2021
consumes:
2122
- name: database

jobs/bbr-postgres-db/templates/config.sh.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if_link("database") do |data|
2222
end
2323

2424
%>
25-
current_version="11.15"
25+
current_version="15.3"
2626
JOB_DIR="/var/vcap/jobs/bbr-postgres-db"
2727
PACKAGE_DIR="/var/vcap/packages/postgres-${current_version}"
2828
PORT="<%= port %>"

jobs/postgres/spec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ templates:
2727

2828
packages:
2929
- postgres-common
30-
- postgres-9.6.10
31-
- postgres-11.15
30+
- postgres-11.20
3231
- postgres-13.11
3332
- postgres-15.3
3433

jobs/postgres/templates/pg_hba.conf.erb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
local all vcap trust
2-
host all vcap 127.0.0.1/32 trust
3-
host all vcap ::1/128 trust
1+
local all vcap peer
2+
host all vcap 127.0.0.1/32 md5
3+
host all vcap ::1/128 md5
44
<% if !p("databases.trust_local_connections").nil? && !p("databases.trust_local_connections") %>
55
local all all md5
66
<% else %>
7-
local all all trust
8-
host all all 127.0.0.1/32 trust
9-
host all all ::1/128 trust
7+
local all all peer
8+
host all all 127.0.0.1/32 md5
9+
host all all ::1/128 md5
1010
<% end %>
1111
<% p("databases.roles", []).each do |role| %>
1212
<%=

jobs/postgres/templates/pgconfig.sh.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -x # if you want tracing disabled, set 'databases.enable_traces: false' in t
66
ENABLE_TRACE=0
77
# set -x # uncomment it if you want to enable tracing in all control scripts
88
<% end %>
9-
current_version="11.15"
9+
current_version="15.3"
1010
pgversion_current="postgres-${current_version}"
1111

1212
JOB_DIR=/var/vcap/jobs/postgres

packages/postgres-11.15/spec

Lines changed: 0 additions & 4 deletions
This file was deleted.
File renamed without changes.

packages/postgres-11.20/spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
name: postgres-11.20
3+
files:
4+
- postgres/postgresql-11.20.tar.gz

packages/postgres-9.6.10/packaging

Lines changed: 0 additions & 49 deletions
This file was deleted.

packages/postgres-9.6.10/spec

Lines changed: 0 additions & 4 deletions
This file was deleted.

templates/postgres.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ releases:
1313

1414
stemcells:
1515
- alias: default
16-
os: ubuntu-xenial
16+
os: ubuntu-jammy
1717
version: latest
1818

1919
instance_groups:
@@ -25,7 +25,7 @@ instance_groups:
2525
azs:
2626
- z1
2727
vm_type: small
28-
persistent_disk_type: 10GB
28+
persistent_disk_type: disk_10G
2929
jobs:
3030
- name: postgres
3131
release: postgres

0 commit comments

Comments
 (0)